CVE-2025-38022: Use-after-free in Linux kernel RDMA/core device registration
- Vendor
- Linux
CVE-2025-38022 is a race-triggered use-after-free read in the Linux kernel RDMA/core subsystem. During device registration through ib_register_device(), kobject_uevent() accesses the device name without synchronization against concurrent changes by ib_device_rename(). Although renaming holds a lock, the unprotected reader can access freed name storage while constructing the kobject event path. The issue was detected by KASAN during Soft-RoCE device registration through RDMA netlink operations and can cause kernel instability or denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can trigger a kernel use-after-free read, potentially causing a kernel crash and denial of service. Local privilege escalation may be possible depending on the kernel build and exploitability of the freed-memory access, but a working escalation technique is not established. The vulnerability-specific CVSS v3 assessment is 7.8, with high potential confidentiality, integrity, and availability impacts; these ratings do not demonstrate those outcomes in practice.
Mitigation
If you can’t patch tonight, do this now.
Until patched, disable or unload unused RDMA/InfiniBand components, particularly Soft-RoCE RXE where feasible, and restrict RDMA netlink device-management operations to trusted administrators. These measures reduce access to the triggering operations but do not correct the synchronization defect.
Remediation
Patch, then assume compromise.
Apply the upstream fix that protects device-name access during kobject_uevent() against concurrent ib_device_rename() operations, or install the applicable distribution kernel update containing that fix. Fixed packages include Debian bookworm linux 6.1.162-1, Google Container-Optimized OS kernel packages 18244.521.74, RHEL 9.4 kernel 5.14.0-427.110.1.el9_4, and RHEL 8.10 kernel 4.18.0-553.100.1.el8_10. Use the update appropriate to the installed distribution and servicing channel, and reboot into the patched kernel.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-38022 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2025-38022 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-38022?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2025-38022.
- Is there a patch for CVE-2025-38022?
- Apply the upstream fix that protects device-name access during kobject_uevent() against concurrent ib_device_rename() operations, or install the applicable distribution kernel update containing that fix. Fixed packages include Debian bookworm linux 6.1.162-1, Google Container-Optimized OS kernel packages 18244.521.74, RHEL 9.4 kernel 5.14.0-427.110.1.el9_4, and RHEL 8.10 kernel 4.18.0-553.100.1.el8_10.
- What products are affected by CVE-2025-38022?
- Linux Kernel.
- How severe is CVE-2025-38022?
- CVE-2025-38022 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.29% (15th percentile) as of Nov 19, 2026.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.