Skip to content
Heist/ feed
Back to feed
CriticalFix available

RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: RDMA/erdma: Prevent use-after-free in erdma_accept_newconn() After the erdma_cep_put(new_cep) being called, new_cep will be freed, and the following dereference will cause a UAF problem. Fix this issue.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.134, 6.12.23, 6.13.11, 6.14.2, 6.6.87
CVEs
CVE-2025-22088
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:54 UTC · Revision 1

Source evidence

RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()

core-osv · Original source

Published 16 Apr 2025, 14:12 UTC

In the Linux kernel, the following vulnerability has been resolved: RDMA/erdma: Prevent use-after-free in erdma_accept_newconn() After the erdma_cep_put(new_cep) being called, new_cep will be freed, and the following dereference will cause a UAF problem. Fix this issue.

osv:CVE-2025-22088

Kernel

Fixed versions: 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2

Complete source record
{
  "id": "e7939f07b4b2ab28e871fc019360285615e46914eb41ce015e0535899967b25b",
  "url": "https://osv.dev/vulnerability/CVE-2025-22088",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: RDMA/erdma: Prevent use-after-free in erdma_accept_newconn() After the erdma_cep_put(new_cep) being called, new_cep will be freed, and the following dereference will cause a UAF problem. Fix this issue.",
    "evidence": "osv:CVE-2025-22088",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.134",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.87",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.23",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-22088",
      "aliases": [
        "CVE-2025-22088"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "920d93eac8b97778fef48f34f10e58ddf870fc2a"
                },
                {
                  "fixed": "bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4"
                },
                {
                  "fixed": "667a628ab67d359166799fad89b3c6909599558a"
                },
                {
                  "fixed": "a114d25d584c14019d31dbf2163780c47415a187"
                },
                {
                  "fixed": "78411a133312ce7d8a3239c76a8fd85bca1cc10f"
                },
                {
                  "fixed": "7aa6bb5276d9fec98deb05615a086eeb893854ad"
                },
                {
                  "fixed": "83437689249e6a17b25e27712fbee292e42e7855"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22088.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.0.0"
                },
                {
                  "fixed": "6.1.134"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.87"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.23"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.13.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.14.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22088.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.095225480Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/667a628ab67d359166799fad89b3c6909599558a",
        "https://git.kernel.org/stable/c/78411a133312ce7d8a3239c76a8fd85bca1cc10f",
        "https://git.kernel.org/stable/c/7aa6bb5276d9fec98deb05615a086eeb893854ad",
        "https://git.kernel.org/stable/c/83437689249e6a17b25e27712fbee292e42e7855",
        "https://git.kernel.org/stable/c/a114d25d584c14019d31dbf2163780c47415a187",
        "https://git.kernel.org/stable/c/bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22088.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-22088",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22088.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-22088",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487968,
  "published_at": "2025-04-16T14:12:41.065+00:00"
}