7.8

CVE-2025-38085: mm/hugetlb: fix huge_pmd_unshare() vs GUP-fast race

Modified
AliasesUBUNTU-CVE-2025-38085DEBIAN-CVE-2025-38085
Published 28-06-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-38085 is a high (CVSS 7.8) vulnerability in debian debian_linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.16%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 70 · Related 52

Timeline

  1. 28-06-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.15% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu146 products
  • linuxAll versions (No fix recorded) | < 5.15.0-156.166 | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1092.99 | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa, < 952596b08c74e8fe9e2883d1dc8a8f54a37384ec | ≥ 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa, < a3d864c901a300c295692d129159fc3001a56185 | ≥ 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa, < b7754d3aa7bf9f62218d096c0c8f6c13698fac8b | ≥ 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa, < fe684290418ef9ef76630072086ee530b92f02b8 | ≥ 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa, < 034a52b5ef57c9c8225d94e9067f3390bb33922f | ≥ 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa, < a6bfeb97941a9187833b526bc6cc4ff5706d0ce9 | ≥ 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa, < 1013af4f585fccc4d3e5c5824d174de2257f7d6d | 2.6.20
  • linux_kernel≥ 2.6.20, < 5.10.239 | ≥ 5.11, < 5.15.186 | ≥ 5.16, < 6.1.142 | ≥ 6.2, < 6.6.95 | ≥ 6.7, < 6.12.35 | ≥ 6.13, < 6.15.4

3 vendors · 150 products

References

46 links
Show all 46 references