CVE-2025-38287
published high CVSS 3.1 · 7.5IB/cm: Drop lockdep assert and WARN when freeing old msg
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1e5159219076ddb2e44338c667c83fd1bd43dfef to < fc096a0cd2017cb0aa1e7fb83131410af9283910 · 1e5159219076ddb2e44338c667c83fd1bd43dfef to < 7590649ee7af381a9d1153143026dec124c5798e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kbaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azureaarch64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azurex86_64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseppc64le | Advisory build | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-basex86_64 | Advisory build | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-devels390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-develnoarch | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-docsnoarch | Advisory build | 6.4.0-150700.53.11.3 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_11-defaultppc64le | Advisory build | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_11-defaults390x | Advisory build | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_11-defaultx86_64 | Advisory build | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_7_13-rtx86_64 | Advisory build | 1-150700.1.5.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-macrosnoarch | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-builds390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-sourcenoarch | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-source-azurenoarch | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-source-rtnoarch | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symss390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | kernelaarch64 | Advisory build | 64kb-6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | kernelaarch64 | Advisory build | 64kb-devel-6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable path is entered from `cm_send_handler()`, driven by CM MADs received from a remote RDMA peer (RTU/REP/REJ/DREQ/DREP cancel the outstanding private MAD), against in-kernel RDMA listeners such as nvmet-rdma, nfsd/RDMA or SMB Direct. Under RoCEv2 these CM MADs are carried in IP-routable UDP/4791 traffic, so the attacker need not share an L2 segment. AC:L - The attacker controls both halves of the race — the `ib_cancel_mad()` that defers the flush completion (by sending RTU/DREP/REJ) and the subsequent private-MAD allocation (by forcing a disconnect/DREQ) — and can open many parallel connections to saturate the MAD workqueue and retry indefinitely until the ordering inverts. PR:N - IB CM connection establishment (REQ/REP/RTU/DREQ) completes entirely before any ULP-level authentication such as NVMe-oF or SMB, so an unauthenticated peer on the fabric can drive the victim cm_id through the required state transitions. UI:N - The state transitions are performed by the kernel CM state machine in response to attacker-supplied MADs and workqueue-deferred send completions; no action by any local user is required. S:U - The WARN and lockdep assert fire inside the kernel's own IB CM code and affect only the kernel's security authority; no VM, IOMMU or sandbox boundary is crossed. C:N - The buggy path frees the message identically to the fixed path — no out-of-bounds read, no use-after-free, no uninitialized data exposure. The WARN backtrace goes only to dmesg with hashed pointers, which the triggering remote attacker cannot observe. I:N - The `WARN_ON()` guard suppresses the erroneous `cm_id_priv->msg = NULL` store, and the AH destroy, cm_id deref and MAD free are all correct, so no kernel state or memory is corrupted. A:H - Each occurrence emits a `WARN_ON()` splat (plus a lockdep splat on PROVE_LOCKING kernels) that taints the kernel and is a full panic on the many hardened deployments running `panic_on_warn=1`; the attacker can trigger it repeatedly at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1e5159219076ddb2e44338c667c83fd1bd43dfef to < fc096a0cd2017cb0aa1e7fb83131410af9283910 (affected · git)1e5159219076ddb2e44338c667c83fd1bd43dfef to < 7590649ee7af381a9d1153143026dec124c5798e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
IB/cm: Drop lockdep assert and WARN when freeing old msg
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e28d58ee16f465de0455a4288c9ab5c1c2f97818c43ca4fd59c96ee0a65a988f
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record