CVE-2025-38085

High

Description

In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix huge_pmd_unshare() vs GUP-fast race huge_pmd_unshare() drops a reference on a page table that may have previously been shared across processes, potentially turning it into a normal page table used in another process in which unrelated VMAs can afterwards be installed. If this happens in the middle of a concurrent gup_fast(), gup_fast() could end up walking the page tables of another process. While I don't see any way in which that immediately leads to kernel memory corruption, it is really weird and unexpected. Fix it with an explicit broadcast IPI through tlb_remove_table_sync_one(), just like we do in khugepaged when removing page tables for a THP collapse.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJun 28, 2025
First seenJun 28, 2025

How to fix

Update
  • linux linux_kernel5.10.239, 5.15.186, 6.1.142, 6.6.95, 6.12.35, 6.15.4 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel2.6.20 ≤ v < 5.10.239, 5.11 ≤ v < 5.15.186, 5.16 ≤ v < 6.1.142, 6.2 ≤ v < 6.6.95, 6.7 ≤ v < 6.12.35, 6.13 ≤ v < 6.15.45.10.239, 5.15.186, 6.1.142, 6.6.95, 6.12.35, 6.15.4
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-38085 · Linux Kernel · Dark Radar