CVE-2025-38085: mm/hugetlb: fix huge_pmd_unshare() vs GUP-fast race
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.16% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Linux Linux 034a52b5ef57c9c8225d94e9067f3390bb33922f, 1013af4f585fccc4d3e5c5824d174de2257f7d6d, 952596b08c74e8fe9e2883d1dc8a8f54a37384ec.
- Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 4.7.
Low priority for now. Upgrade to Linux Linux 034a52b5ef57c9c8225d94e9067f3390bb33922f, 1013af4f585fccc4d3e5c5824d174de2257f7d6d, 952596b08c74e8fe9e2883d1dc8a8f54a37384ec or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2025-15824
- ALSA-2025:13589
- ALSA-2025:13590
- ALSA-2025:13962
- openSUSE-SU-2025:20172-1
- RHSA-2025:13589
- RHSA-2025:13590
- RHSA-2025:13598
- RHSA-2025:13962
- RHSA-2025:14985
- RHSA-2025:15224
- RHSA-2025:15227
- RHSA-2025:15647
- RHSA-2025:15658
- RHSA-2025:15660
- RHSA-2025:15668
- RHSA-2025:15670
- RHSA-2025:21667
- RLSA-2025:13589
- RLSA-2025:13590
- Published
- Jun 28, 2025
- Updated
- Aug 5, 2026
- EPSS
- 0.1% · 5th percentile
- CWE
- CWE-362
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 4.7
- CNA · Linux
- 7.8
- 3.1 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- linux linux kernel5.11 and later · before 5.15.186
- linux linux kernel5.16 and later · before 6.1.142
- linux linux kernel2.6.20 and later · before 5.10.239
- linux linux kernel6.7 and later · before 6.12.35
- linux linux kernel6.13 and later · before 6.15.4
- linux linux kernel6.2 and later · before 6.6.95
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.20affected
- 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa and later · before 952596b08c74e8fe9e2883d1dc8a8f54a37384ecaffected · git
- 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa and later · before a3d864c901a300c295692d129159fc3001a56185affected · git
- 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa and later · before b7754d3aa7bf9f62218d096c0c8f6c13698fac8baffected · git
- 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa and later · before fe684290418ef9ef76630072086ee530b92f02b8affected · git
- 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa and later · before 034a52b5ef57c9c8225d94e9067f3390bb33922faffected · git
- 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa and later · before a6bfeb97941a9187833b526bc6cc4ff5706d0ce9affected · git
- 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa and later · before 1013af4f585fccc4d3e5c5824d174de2257f7d6daffected · git
- before 2.6.20not affected · semver
- 5.10.239 and later · up to and including 5.10.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | bpftool | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-abi-stablelists | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-core | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-cross-headers | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-debug | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-debug-core | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-debug-devel | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules-extra | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-devel | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-doc | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-headers | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-modules | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-modules-extra | before 4.18.0-553.69.1.el8_10 | 4.18.0-553.69.1.el8_10 |
| AlmaLinux:8 | kernel-rt | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-core | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-debug | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-core | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-devel | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-devel | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
| AlmaLinux:8 | kernel-rt-modules | before 4.18.0-553.69.1.rt7.410.el8_10 | 4.18.0-553.69.1.rt7.410.el8_10 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-50232Jun 18, 2025 · arm64: set UXN on swapper page tables22Monitor
- ← EarlierCVE-2025-38083Jun 20, 2025 · net_sched: prio: fix a race in prio_tune()18Monitor
- Later →CVE-2025-38084Jun 28, 2025 · mm/hugetlb: unshare page tables during VMA split, not before22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 034a52b5ef57c9c8225d94e9067f3390bb33922f | Vendor (CNA) |
| Linux Linux | 1013af4f585fccc4d3e5c5824d174de2257f7d6d | Vendor (CNA) |
| Linux Linux | 952596b08c74e8fe9e2883d1dc8a8f54a37384ec | Vendor (CNA) |
| Linux Linux | a3d864c901a300c295692d129159fc3001a56185 | Vendor (CNA) |
| Linux Linux | a6bfeb97941a9187833b526bc6cc4ff5706d0ce9 | Vendor (CNA) |
| Linux Linux | b7754d3aa7bf9f62218d096c0c8f6c13698fac8b | Vendor (CNA) |
| Linux Linux | fe684290418ef9ef76630072086ee530b92f02b8 | Vendor (CNA) |
| almalinux:bpftool | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-abi-stablelists | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-core | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-cross-headers | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-core | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-devel | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-debug-modules-extra | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-devel | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-doc | 4.18.0-553.69.1.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 6.1.147-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-default | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-default-base | 6.12.0-160000.8.1.160000.2.5 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-docs | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-obs-build | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-obs-qa | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-rt | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-source | 6.12.0-160000.8.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
+27
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- git.kernel.org/stable/c/1013af4f585fccc4d3e5c5824d174de2257f7d6d
- git.kernel.org/stable/c/952596b08c74e8fe9e2883d1dc8a8f54a37384ec
- git.kernel.org/stable/c/a3d864c901a300c295692d129159fc3001a56185
- git.kernel.org/stable/c/a6bfeb97941a9187833b526bc6cc4ff5706d0ce9
- git.kernel.org/stable/c/b7754d3aa7bf9f62218d096c0c8f6c13698fac8b
- git.kernel.org/stable/c/fe684290418ef9ef76630072086ee530b92f02b8
- project-zero.issues.chromium.org/issues/420715744
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.