CVE-2024-38539
RDMA/cma: Fix kmemleak in rdma_core observed during blktests nvme/rdma use siw
Mitigation
- Upgrade Linux to 9c0731832d3b7420cbadba6a7f334363bc8dfb15 or later.
Who should check
- Anyone running Linux >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 3eb127dc408bf7959a4920d04d16ce10e863686a; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 6564fc1818404254d1c9f7d75b403b4941516d26; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < b3a7fb93afd888793ef226e9665fbda98a95c48e; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 9c0731832d3b7420cbadba6a7f334363bc8dfb15
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 3eb127dc408bf7959a4920d04d16ce10e863686a; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 6564fc1818404254d1c9f7d75b403b4941516d26; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < b3a7fb93afd888793ef226e9665fbda98a95c48e; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 9c0731832d3b7420cbadba6a7f334363bc8dfb15; Linux 6.6
- Fixed in
- Linux 3eb127dc408bf7959a4920d04d16ce10e863686a, Linux 6564fc1818404254d1c9f7d75b403b4941516d26, Linux 9c0731832d3b7420cbadba6a7f334363bc8dfb15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.85% chance of exploitation in 30 days (percentile 55, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/cma: Fix kmemleak in rdma_core observed during blktests nvme/rdma use siw When running blktests nvme/rdma, the following kmemleak issue will appear. kmemleak: Kernel memory leak detector initialized (mempool available:36041) kmemleak: Automatic memory scanning thread started kmemleak: 2 new suspected memory leaks (see /sys/kernel/debug/kmemleak) kmemleak: 8 new suspected memory leaks (see /sys/kernel/debug/kmemleak) kmemleak: 17 new suspected memory leaks (see /sys/kernel/debug/kmemleak) kmemleak: 4 new suspected memory leaks (see /sys/kernel/debug/kmemleak) unreferenced object 0xffff88855da53400 (size 192): comm "rdma", pid 10630, jiffies 4296575922 hex dump (first 32 bytes): 37 00 00 00 00 00 00 00 c0 ff ff ff 1f 00 00 00 7............... 10 34 a5 5d 85 88 ff ff 10 34 a5 5d 85 88 ff ff .4.].....4.].... backtrace (crc 47f66721): [<ffffffff911251bd>] kmalloc_trace+0x30d/0x3b0 [<ffffffffc2640ff7>] alloc_gid_entry+0x47/0x380 [ib_core] [<ffffffffc2642206>] add_modify_gid+0x166/0x930 [ib_core] [<ffffffffc2643468>] ib_cache_update.part.0+0x6d8/0x910 [ib_core] [<ffffffffc2644e1a>] ib_cache_setup_one+0x24a/0x350 [ib_core] [<ffffffffc263949e>] ib_register_device+0x9e/0x3a0 [ib_core] [<ffffffffc2a3d389>] 0xffffffffc2a3d389 [<ffffffffc2688cd8>] nldev_newlink+0x2b8/0x520 [ib_core] [<ffffffffc2645fe3>] rdma_nl_rcv_msg+0x2c3/0x520 [ib_core] [<ffffffffc264648c>] rdma_nl_rcv_skb.constprop.0.isra.0+0x23c/0x3a0 [ib_core] [<ffffffff9270e7b5>] netlink_unicast+0x445/0x710 [<ffffffff9270f1f1>] netlink_sendmsg+0x761/0xc40 [<ffffffff9249db29>] __sys_sendto+0x3a9/0x420 [<ffffffff9249dc8c>] __x64_sys_sendto+0xdc/0x1b0 [<ffffffff92db0ad3>] do_syscall_64+0x93/0x180 [<ffffffff92e00126>] entry_SYSCALL_64_after_hwframe+0x71/0x79 The root cause: rdma_put_gid_attr is not called when sgid_attr is set to ERR_PTR(-ENODEV).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 3eb127dc408bf7959a4920d04d16ce10e863686a; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 6564fc1818404254d1c9f7d75b403b4941516d26; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < b3a7fb93afd888793ef226e9665fbda98a95c48e; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 9c0731832d3b7420cbadba6a7f334363bc8dfb15 | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-38539. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-38539.md Affected: Linux >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 3eb127dc408bf7959a4920d04d16ce10e863686a; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 6564fc1818404254d1c9f7d75b403b4941516d26; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < b3a7fb93afd888793ef226e9665fbda98a95c48e; >= f8ef1be816bf9a0c406c696… Fixed in: Linux 3eb127dc408bf7959a4920d04d16ce10e863686a, Linux 6564fc1818404254d1c9f7d75b403b4941516d26, Linux 9c0731832d3b7420cbadba6a7f334363bc8dfb15 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.
References
FAQ
Is CVE-2024-38539 being exploited?
There is no confirmed exploitation: CVE-2024-38539 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-38539?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-38539?
Linux >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 3eb127dc408bf7959a4920d04d16ce10e863686a; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 6564fc1818404254d1c9f7d75b403b4941516d26; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < b3a7fb93afd888793ef226e9665fbda98a95c48e; >= f8ef1be816bf9a0c406c696368c2264a9597a994, < 9c0731832d3b7420cbadba6a7f334363bc8dfb15; Linux 6.6.
Is there a fix for CVE-2024-38539?
Yes. Fixed in Linux 3eb127dc408bf7959a4920d04d16ce10e863686a, Linux 6564fc1818404254d1c9f7d75b403b4941516d26, Linux 9c0731832d3b7420cbadba6a7f334363bc8dfb15. Upgrade Linux to 9c0731832d3b7420cbadba6a7f334363bc8dfb15 or later.
How do I check if I'm affected by CVE-2024-38539?
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.