CVE-2025-22088 RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()
A use-after-free vulnerability in the Linux kernel's erdma driver allows attackers to potentially execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-22088?
CVE-2025-22088 is a critical use after free vulnerability in Linux kernel, published on 16 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2025-22088?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-22088?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-22088 being exploited?
There is no known exploitation of CVE-2025-22088 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-22088, DEBIAN-CVE-2025-22088, GHSA-8fp6-f772-8g6x, UBUNTU-CVE-2025-22088.