CVE-2025-21714: Use-after-free in Linux kernel RDMA/mlx5 implicit ODP
- Vendor
- Linux
CVE-2025-21714 is a use-after-free vulnerability in the Linux kernel's RDMA/mlx5 implicit on-demand paging (ODP) implementation. Repeated invalidation of the same memory region can queue its destruction work twice. After the first work item frees the memory region, the second can execute in free_implicit_child_mr_work() and access the freed object, causing reference-count underflow and potentially kernel instability or denial of service. The fix uses __xa_cmpxchg() to ensure destruction is initiated only once for each memory region.
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.
The vulnerability causes kernel use-after-free and reference-count underflow, potentially resulting in system instability, crashes, or denial of service. Its CVSS v3.0 assessment assigns high confidentiality, integrity, and availability impacts, but specific exploitation outcomes beyond kernel memory-safety failure and potential denial of service are not established.
Mitigation
If you can’t patch tonight, do this now.
Apply the vendor-provided kernel patch through the standard update mechanism, such as YaST online update or zypper patch. No separate temporary workaround is provided.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the fix titled "RDMA/mlx5: Fix implicit ODP use after free" and reboot into the corrected kernel. The fix uses __xa_cmpxchg() to prevent duplicate memory-region destruction work. For Google Container-Optimized OS, update sys-kernel/csql-kernel-6_6 and related packages to version 19165.0.0 or later. For RHEL 9, apply the applicable kernel updates from RHSA-2025:20518.
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-21714 exploited in the wild?
- As of Nov 23, 2026, Mallory has no reports of CVE-2025-21714 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-21714?
- As of Nov 23, 2026, Mallory has found no public exploit for CVE-2025-21714.
- Is there a patch for CVE-2025-21714?
- Install a vendor-supported kernel update containing the fix titled "RDMA/mlx5: Fix implicit ODP use after free" and reboot into the corrected kernel. The fix uses __xa_cmpxchg() to prevent duplicate memory-region destruction work.
- What products are affected by CVE-2025-21714?
- Linux Kernel.
- How severe is CVE-2025-21714?
- CVE-2025-21714 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.30% (15th percentile) as of Nov 23, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.