CVE-2025-38287 IB/cm: Drop lockdep assert and WARN when freeing old msg
A logic error in the Linux kernel InfiniBand connection manager triggers warnings and potential crashes when freeing messages, leading to denial of service.
- 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-38287?
CVE-2025-38287 is a high-severity denial of service vulnerability in Linux kernel, published on 10 Jul 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:
IB/cm: Drop lockdep assert and WARN when freeing old msg
The send completion handler can run after cm_id has advanced to another message. The cm_id lock is not needed in this case, but a recent change re-used cm_free_priv_msg(), which asserts that the lock is held and WARNs if the cm_id's currently outstanding msg is different than the one being freed.
Which versions are affected by CVE-2025-38287?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38287?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-38287 being exploited?
There is no known exploitation of CVE-2025-38287 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38287, GHSA-759j-pggr-8g4v, UBUNTU-CVE-2025-38287.