CVE-2025-38024: RDMA/rxe: Fix slab-use-after-free Read in rxe_queue_cleanup bug
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.23% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 16c45ced0b3839d3eee72a86bb172bef6cf58980, 336edd6b0f5b7fbffc3e065285610624f59e88df, 3a3b73e135e3bd18423d0baa72571319c7feb759.
Low priority for now. Upgrade to Linux Linux 16c45ced0b3839d3eee72a86bb172bef6cf58980, 336edd6b0f5b7fbffc3e065285610624f59e88df, 3a3b73e135e3bd18423d0baa72571319c7feb759 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix slab-use-after-free Read in rxe_queue_cleanup bug Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x7d/0xa0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcf/0x610 mm/kasan/report.c:489 kasan_report+0xb5/0xe0 mm/kasan/report.c:602 rxe_queue_cleanup+0xd0/0xe0 drivers/infiniband/sw/rxe/rxe_queue.c:195 rxe_cq_cleanup+0x3f/0x50 drivers/infiniband/sw/rxe/rxe_cq.c:132 __rxe_cleanup+0x168/0x300 drivers/infiniband/sw/rxe/rxe_pool.c:232 rxe_create_cq+0x22e/0x3a0 drivers/infiniband/sw/rxe/rxe_verbs.c:1109 create_cq+0x658/0xb90 drivers/infiniband/core/uverbs_cmd.c:1052 ib_uverbs_create_cq+0xc7/0x120 drivers/infiniband/core/uverbs_cmd.c:1095 ib_uverbs_write+0x969/0xc90 drivers/infiniband/core/uverbs_main.c:679 vfs_write fs/read_write.c:677 [inline] vfs_write+0x26a/0xcc0 fs/read_write.c:659 ksys_write+0x1b8/0x200 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xaa/0x1b0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f In the function rxe_create_cq, when rxe_cq_from_init fails, the function rxe_cleanup will be called to handle the allocated resources. In fact, some memory resources have already been freed in the function rxe_cq_from_init. Thus, this problem will occur. The solution is to let rxe_cleanup do all the work.
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 15th percentile
- CWE
- CWE-416
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.8affected
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before 7c7c80c32e00665234e373ab03fe82f5c5c2c230affected · git
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before 3a3b73e135e3bd18423d0baa72571319c7feb759affected · git
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before f8f470e3a757425a8f98fb9a5991e3cf62fc7134affected · git
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before 52daccfc3fa68ee1902d52124921453d7a335591affected · git
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before ee4c5a2a38596d548566560c0c022ab797e6f71aaffected · git
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before 336edd6b0f5b7fbffc3e065285610624f59e88dfaffected · git
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before 16c45ced0b3839d3eee72a86bb172bef6cf58980affected · git
- 8700e3e7c4857d28ebaa824509934556da0b3e76 and later · before f81b33582f9339d2dc17c69b92040d3650bb4baeaffected · git
- before 4.8not affected · semver
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- linux linux kernel5.5 and later · before 5.10.238
- linux linux kernel5.11 and later · before 5.15.184
- linux linux kernel5.16 and later · before 6.1.140
- linux linux kernel4.8 and later · before 5.4.294
- linux linux kernel6.7 and later · before 6.12.30
- linux linux kernel6.13 and later · before 6.14.8
- linux linux kernel6.2 and later · before 6.6.92
- linux linux kernel6.15
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | bpftool | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-abi-stablelists | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-core | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-cross-headers | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-debug | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-debug-core | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-debug-devel | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules-extra | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-devel | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-doc | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-headers | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-modules | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-modules-extra | before 4.18.0-553.100.1.el8_10 | 4.18.0-553.100.1.el8_10 |
| AlmaLinux:8 | kernel-rt | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-core | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-debug | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-core | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-devel | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-devel | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
| AlmaLinux:8 | kernel-rt-modules | before 4.18.0-553.100.1.rt7.441.el8_10 | 4.18.0-553.100.1.rt7.441.el8_10 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-38021Jun 18, 2025 · drm/amd/display: Fix null check of pipe_ctx->plane_state for update_dchubp_dpp22Monitor
- ← EarlierCVE-2025-38022Jun 18, 2025 · RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem31Monitor
- Later →CVE-2025-38025Jun 18, 2025 · iio: adc: ad7606: check for NULL before calling sw_mode_config()22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 16c45ced0b3839d3eee72a86bb172bef6cf58980 | Vendor (CNA) |
| Linux Linux | 336edd6b0f5b7fbffc3e065285610624f59e88df | Vendor (CNA) |
| Linux Linux | 3a3b73e135e3bd18423d0baa72571319c7feb759 | Vendor (CNA) |
| Linux Linux | 52daccfc3fa68ee1902d52124921453d7a335591 | Vendor (CNA) |
| Linux Linux | 7c7c80c32e00665234e373ab03fe82f5c5c2c230 | Vendor (CNA) |
| Linux Linux | ee4c5a2a38596d548566560c0c022ab797e6f71a | Vendor (CNA) |
| Linux Linux | f81b33582f9339d2dc17c69b92040d3650bb4bae | Vendor (CNA) |
| Linux Linux | f8f470e3a757425a8f98fb9a5991e3cf62fc7134 | Vendor (CNA) |
| almalinux:bpftool | 4.18.0-553.100.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel | 4.18.0-553.100.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-core | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-core | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-devel | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-modules | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-modules-extra | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-devel | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-modules | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-modules-extra | 4.18.0-553.100.1.rt7.441.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 6.1.140-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel-rt | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
| red hat:kernel-rt-core | 0:4.18.0-553.100.1.rt7.441.el8_10 · Red Hat:enterprise_linux:8::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
| red hat:kernel-rt-debug-debuginfo | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
| red hat:kernel-rt-debug-devel | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
| red hat:kernel-rt-debuginfo | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
| red hat:kernel-rt-debuginfo-common-x86_64 | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
| red hat:kernel-rt-devel | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
| red hat:kernel-rt-doc | 0:3.10.0-1160.148.1.rt56.1300.el7 · Red Hat:rhel_extras_rt_els:7 | Package registry (OSV) |
+5
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- git.kernel.org/stable/c/336edd6b0f5b7fbffc3e065285610624f59e88df
- git.kernel.org/stable/c/3a3b73e135e3bd18423d0baa72571319c7feb759
- git.kernel.org/stable/c/52daccfc3fa68ee1902d52124921453d7a335591
- git.kernel.org/stable/c/7c7c80c32e00665234e373ab03fe82f5c5c2c230
- git.kernel.org/stable/c/ee4c5a2a38596d548566560c0c022ab797e6f71a
- git.kernel.org/stable/c/f81b33582f9339d2dc17c69b92040d3650bb4bae
- git.kernel.org/stable/c/f8f470e3a757425a8f98fb9a5991e3cf62fc7134
- lists.debian.org/debian-lts-announce/2025/08/msg00010.html
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.