CVE-2025-38085: Linux kernel hugetlb huge_pmd_unshare() / GUP-fast race condition
- Vendors
- Debian ProjectLinux
CVE-2025-38085 is a race condition in the Linux kernel hugetlb memory-management subsystem between huge_pmd_unshare() and concurrent GUP-fast page-table walks. When huge_pmd_unshare() drops a reference to a previously shared page table, the table can become an ordinary page table retained by another process, where unrelated virtual memory areas can subsequently be installed. A concurrent gup_fast() operation can consequently traverse page tables belonging to that other process. The issue was introduced in Linux 2.6.20. The fix adds synchronization using an explicit broadcast interprocessor interrupt through tlb_remove_table_sync_one(), following the approach used during transparent huge-page collapse.
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 race permits unexpected cross-process page-table traversal and is assessed as potentially causing local denial of service with high availability impact. Confidentiality assessments differ: Red Hat assigns high confidentiality impact, whereas the cited NVD assessment assigns no confidentiality or integrity impact. No immediate mechanism leading to kernel memory corruption was identified in the technical vulnerability description. Arbitrary code execution and privilege escalation are not established consequences.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is documented. Restrict untrusted local access and untrusted workloads on affected systems until the kernel update can be applied. These measures reduce exposure but do not correct the race condition.
Remediation
Patch, then assume compromise.
Upgrade to a supported kernel containing the fix and reboot into the updated kernel. Fixed upstream releases include 5.10.239, 5.15.186, 6.1.142, 6.6.95, 6.12.35, 6.15.4, and 6.16-rc1. Prefer the latest supported stable release rather than cherry-picking individual commits. For distribution kernels, apply the vendor's applicable security update because backported fixes may retain older upstream version numbers. Examples include RHEL 8 kernel 4.18.0-553.69.1.el8_10 and RHEL 9.2 kernel 5.14.0-284.136.1.el9_2; other product streams require their corresponding fixed packages.
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-38085 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2025-38085 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-38085?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2025-38085.
- Is there a patch for CVE-2025-38085?
- Upgrade to a supported kernel containing the fix and reboot into the updated kernel. Fixed upstream releases include 5.10.239, 5.15.186, 6.1.142, 6.6.95, 6.12.35, 6.15.4, and 6.16-rc1.
- What products are affected by CVE-2025-38085?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-38085?
- CVE-2025-38085 has a CVSS v3.1 score of 4.7 (Medium) and an EPSS score of 0.26% (10th percentile) as of Nov 19, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.