Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38084

published high CVSS 3.1 · 7.8

mm/hugetlb: unshare page tables during VMA split, not before

Published
28 Jun 2025, 07:44:25 UTC
Updated
15 Oct 2026, 21:52:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < e8847d18cd9fff1edbb45e963d9141273c3b539c · 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 366298f2b04d2bf1f2f2b7078405bdf9df9bd5d0 · 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 2511ac64bc1617ca716d3ba8464e481a647c1902 · 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < af6cfcd0efb7f051af221c418ec8b37a10211947 · 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 9cf5b2a3b72c23fb7b84736d5d19ee6ea718762b · 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 8a21d5584826f4880f45bbf8f72375f4e6c0ff2a · 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 081056dc00a27bccb55ccc3c6f230a3d5fd3f7e0 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.20 (affected) · 0 to < 2.6.20 (unaffected · semver) · 5.10.239 through 5.10.* (unaffected · semver) · 5.15.186 through 5.15.* (unaffected · semver) · 6.1.142 through 6.1.* (unaffected · semver) · 6.6.95 through 6.6.* (unaffected · semver) · 6.12.35 through 6.12.* (unaffected · semver) · 6.15.4 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-098 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-082 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1080 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 kernel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
Debian bookworm linux Advisory build 6.1.147-1 DSA-5973-1
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1111 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
AlmaLinux 9 kernel-64k Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-doc Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-headers Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-debug-kvm Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-kvm Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-tools Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 libperf Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 perf Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 python3-perf Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 rtla Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
AlmaLinux 9 rv Advisory build 5.14.0-570.35.1.el9_6 ALSA-2025:13962
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-55.27.1.0.1.el10_0 ELSA-2025-13598

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: unshare page tables during VMA split, not before Currently, __split_vma() triggers hugetlb page table unsharing through vm_ops->may_split(). This happens before the VMA lock and rmap locks are taken - which is too early, it allows racing VMA-locked page faults in our process and racing rmap walks from other processes to cause page tables to be shared again before we actually perform the split. Fix it by explicitly calling into the hugetlb unshare logic from __split_vma() in the same place where THP splitting also happens. At that point, both the VMA and the rmap(s) are write-locked. An annoying detail is that we can now call into the helper hugetlb_unshare_pmds() from two different locking contexts: 1. from hugetlb_split(), holding: - mmap lock (exclusively) - VMA lock - file rmap lock (exclusively) 2. hugetlb_unshare_all_pmds(), which I think is designed to be able to call us with only the mmap lock held (in shared mode), but currently only runs while holding mmap lock (exclusively) and VMA lock Backporting note: This commit fixes a racy protection that was introduced in commit b30c14cd6102 ("hugetlb: unshare some PMDs when splitting VMAs"); that commit claimed to fix an issue introduced in 5.13, but it should actually also go all the way back. [[email protected]: v2]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

69

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The race is driven entirely through local syscalls — `mmap(MAP_SHARED|MAP_HUGETLB)` plus `munmap`/`mprotect`/`madvise` to force a non-PUD-aligned `__split_vma()`, with concurrent threads faulting the mapping. No network or physical component is involved. AC:L - The attacker controls both sides of the race and the window is very wide — several sleeping GFP_KERNEL allocations sit between `may_split()` and `vma_start_write()` — and it can be retried indefinitely and widened with memory pressure. PMD sharing is compiled in by default on x86_64/arm64/riscv64, and the only environmental dependency (preallocated hugepages) is standard in the KVM/cloud, database and DPDK deployments this code targets. PR:L - An ordinary unprivileged user can create the required VM_MAYSHARE hugetlb mapping, because `mmap(MAP_ANONYMOUS|MAP_HUGETLB)` uses `HUGETLB_ANONHUGE_INODE` and therefore bypasses the `can_do_hugetlb_shm()`/`CAP_IPC_LOCK` check that guards SysV `SHM_HUGETLB`; `fork()` supplies the second sharing VMA. No capability is needed for the splitting syscalls either. UI:N - The whole sequence is performed programmatically by the attacker's own multi-threaded process; no victim action or interaction is required. S:U - The corrupted page tables belong to the attacking process's own mm within the host kernel's security authority, so this is standard local kernel compromise rather than a crossing of a VM/IOMMU boundary. C:H - A freed page-table page that is still referenced by a live PUD entry is the classic "dirty pagetable" primitive — once reallocated, the attacker can read arbitrary physical memory, disclosing kernel data and other processes' memory in full. I:H - The same page-table UAF yields an arbitrary physical-memory write primitive (writing PTEs into a reused page table), enabling kernel data modification, credential overwrite and full privilege escalation; it also leaves dangling KVM MMU mappings. A:H - Use-after-free of page tables reliably corrupts the memory management state, producing oopses, BUG_ON hits and kernel panics even in unsuccessful exploitation attempts, and it can be triggered repeatedly.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < e8847d18cd9fff1edbb45e963d9141273c3b539c (affected · git)39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 366298f2b04d2bf1f2f2b7078405bdf9df9bd5d0 (affected · git)39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 2511ac64bc1617ca716d3ba8464e481a647c1902 (affected · git)39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < af6cfcd0efb7f051af221c418ec8b37a10211947 (affected · git)39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 9cf5b2a3b72c23fb7b84736d5d19ee6ea718762b (affected · git)39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 8a21d5584826f4880f45bbf8f72375f4e6c0ff2a (affected · git)39dde65c9940c97fcd178a3d2b1c57ed8b7b68aa to < 081056dc00a27bccb55ccc3c6f230a3d5fd3f7e0 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.20 (affected)0 to < 2.6.20 (unaffected · semver)5.10.239 through 5.10.* (unaffected · semver)5.15.186 through 5.15.* (unaffected · semver)6.1.142 through 6.1.* (unaffected · semver)6.6.95 through 6.6.* (unaffected · semver)6.12.35 through 6.12.* (unaffected · semver)6.15.4 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

10

Provider assertions

3

Linux · cna

mm/hugetlb: unshare page tables during VMA split, not before

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
1852cb681156df33b6f62e3e95a62a3c52461b34d366d1cc7951d64d8fb69ba3
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected