# CVE-2025-38287: IB/cm: Drop lockdep assert and WARN when freeing old msg

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **Published:** 2025-07-10T07:42:04.056Z
- **Modified:** 2026-08-05T12:00:59.136Z

## Who should check

- Anyone running Linux \>= 1e5159219076ddb2e44338c667c83fd1bd43dfef, \< fc096a0cd2017cb0aa1e7fb83131410af9283910; \>= 1e5159219076ddb2e44338c667c83fd1bd43dfef, \< 7590649ee7af381a9d1153143026dec124c5798e
- Anyone running Linux 6.13

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

## Affected and fixed versions

- Linux: \>= 1e5159219076ddb2e44338c667c83fd1bd43dfef, \< fc096a0cd2017cb0aa1e7fb83131410af9283910; \>= 1e5159219076ddb2e44338c667c83fd1bd43dfef, \< 7590649ee7af381a9d1153143026dec124c5798e (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 7590649ee7af381a9d1153143026dec124c5798e 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-38287. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38287.md
Affected: Linux >= 1e5159219076ddb2e44338c667c83fd1bd43dfef, < fc096a0cd2017cb0aa1e7fb83131410af9283910; >= 1e5159219076ddb2e44338c667c83fd1bd43dfef, < 7590649ee7af381a9d1153143026dec124c5798e; Linux 6.13
Fixed in: Linux 7590649ee7af381a9d1153143026dec124c5798e

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-38287 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 1e5159219076ddb2e44338c667c83fd1bd43dfef, \< fc096a0cd2017cb0aa1e7fb83131410af9283910; \>= 1e5159219076ddb2e44338c667c83fd1bd43dfef, \< 7590649ee7af381a9d1153143026dec124c5798e; Linux 6.13.

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

Yes. Fixed in Linux 7590649ee7af381a9d1153143026dec124c5798e. Upgrade Linux to 7590649ee7af381a9d1153143026dec124c5798e or later.

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

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/fc096a0cd2017cb0aa1e7fb83131410af9283910>
- patch: <https://git.kernel.org/stable/c/7590649ee7af381a9d1153143026dec124c5798e>

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

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