# CVE-2025-22088: RDMA/erdma: Prevent use-after-free in erdma\_accept\_newconn()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 53, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-04-16T14:12:41.065Z
- **Modified:** 2026-08-05T11:56:42.090Z

## Who should check

- Anyone running Linux \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 667a628ab67d359166799fad89b3c6909599558a; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< a114d25d584c14019d31dbf2163780c47415a187; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 78411a133312ce7d8a3239c76a8fd85bca1cc10f; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 7aa6bb5276d9fec98deb05615a086eeb893854ad; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 83437689249e6a17b25e27712fbee292e42e7855
- Anyone running Linux 6.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 667a628ab67d359166799fad89b3c6909599558a; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< a114d25d584c14019d31dbf2163780c47415a187; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 78411a133312ce7d8a3239c76a8fd85bca1cc10f; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 7aa6bb5276d9fec98deb05615a086eeb893854ad; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 83437689249e6a17b25e27712fbee292e42e7855 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 83437689249e6a17b25e27712fbee292e42e7855 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-22088. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22088.md
Affected: Linux >= 920d93eac8b97778fef48f34f10e58ddf870fc2a, < bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4; >= 920d93eac8b97778fef48f34f10e58ddf870fc2a, < 667a628ab67d359166799fad89b3c6909599558a; >= 920d93eac8b97778fef48f34f10e58ddf870fc2a, < a114d25d584c14019d31dbf2163780c47415a187; >= 920d93eac8b97778fef48f3…
Fixed in: Linux 667a628ab67d359166799fad89b3c6909599558a, Linux 78411a133312ce7d8a3239c76a8fd85bca1cc10f, Linux 7aa6bb5276d9fec98deb05615a086eeb893854ad, Linux 83437689249e6a17b25e27712fbee292e42e7855

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-22088 being exploited?

There is no confirmed exploitation: CVE-2025-22088 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-22088?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-22088?

Linux \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 667a628ab67d359166799fad89b3c6909599558a; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< a114d25d584c14019d31dbf2163780c47415a187; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 78411a133312ce7d8a3239c76a8fd85bca1cc10f; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 7aa6bb5276d9fec98deb05615a086eeb893854ad; \>= 920d93eac8b97778fef48f34f10e58ddf870fc2a, \< 83437689249e6a17b25e27712fbee292e42e7855; Linux 6.0.

### Is there a fix for CVE-2025-22088?

Yes. Fixed in Linux 667a628ab67d359166799fad89b3c6909599558a, Linux 78411a133312ce7d8a3239c76a8fd85bca1cc10f, Linux 7aa6bb5276d9fec98deb05615a086eeb893854ad, Linux 83437689249e6a17b25e27712fbee292e42e7855. Upgrade Linux to 83437689249e6a17b25e27712fbee292e42e7855 or later.

### How do I check if I'm affected by CVE-2025-22088?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4>
- patch: <https://git.kernel.org/stable/c/667a628ab67d359166799fad89b3c6909599558a>
- patch: <https://git.kernel.org/stable/c/a114d25d584c14019d31dbf2163780c47415a187>
- patch: <https://git.kernel.org/stable/c/78411a133312ce7d8a3239c76a8fd85bca1cc10f>
- patch: <https://git.kernel.org/stable/c/7aa6bb5276d9fec98deb05615a086eeb893854ad>
- patch: <https://git.kernel.org/stable/c/83437689249e6a17b25e27712fbee292e42e7855>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-22088>

HTML: <https://flawdb.com/CVE-2025-22088> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-22088>
