Kernel crash via premature RDMA work-object free
Published Jul 4, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel RDMA/iwcm subsystem allows attackers to crash the kernel during CM ID teardown. In drivers/infiniband/core/iwcm.c, dealloc_work_entries() frees a cm_id_private work object when the final CM ID reference is dropped inside that object's event handler, leaving the workqueue to access freed memory. The documented trigger repeatedly runs the nvme/061 blktests case over RDMA with the siw driver, and the bounded consequence is a KASAN-detected kernel crash.
Summary
What happened
Use-after-free in the Linux kernel RDMA/iwcm subsystem allows attackers to crash the kernel during CM ID teardown. In drivers/infiniband/core/iwcm.c, dealloc_work_entries() frees a cm_id_private work object when the final CM ID reference is dropped inside that object's event handler, leaving the workqueue to access freed memory. The documented trigger repeatedly runs the nvme/061 blktests case over RDMA with the siw driver, and the bounded consequence is a KASAN-detected kernel crash.
The record
- CVE
- CVE-2025-38211
- Published
- Jul 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 4, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.8
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <013dcdf6f03bcedbaf1669e3db71c34a197715b2
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <23a707bbcbea468eedb398832eeb7e8e0ceafd21
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <3b4a50d733acad6831f6bd9288a76a80f70650ac
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <6883b680e703c6b2efddb4e7a8d891ce1803d06b
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <764c9f69beabef8bdc651a7746c59f7a340d104f
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <78381dc8a6b61c9bb9987d37b4d671b99767c4a1
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <bf7eff5e3a36c54bbe8aff7fd6dd7c07490b81c5
- Affected versionversion=59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 <fd960b5ddf4faf00da43babdd3acda68842e1f6a
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo