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

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:41.065Z
- Modified: 2026-08-05T11:56:42.090Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 920d93eac8b97778fef48f34f10e58ddf870fc2a before bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4; from 920d93eac8b97778fef48f34f10e58ddf870fc2a before 667a628ab67d359166799fad89b3c6909599558a; from 920d93eac8b97778fef48f34f10e58ddf870fc2a before a114d25d584c14019d31dbf2163780c47415a187; from 920d93eac8b97778fef48f34f10e58ddf870fc2a before 78411a133312ce7d8a3239c76a8fd85bca1cc10f; from 920d93eac8b97778fef48f34f10e58ddf870fc2a before 7aa6bb5276d9fec98deb05615a086eeb893854ad; from 920d93eac8b97778fef48f34f10e58ddf870fc2a before 83437689249e6a17b25e27712fbee292e42e7855; 6.0 (not affected: before 6.0; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.0 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

- CVE List: [CVE-2025-22088](https://www.cve.org/CVERecord?id=CVE-2025-22088), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-22088](https://nvd.nist.gov/vuln/detail/CVE-2025-22088), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-22088 · Whole record: https://cve.day/CVE-2025-22088.json · Rebuilt by cve.day 2026-11-25T22:58:56.605Z
