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-2026-99915

published high CVSS 3.1 · 7.8

mm/page_vma_mapped: continue past nonmatching huge PMDs

Published
30 Nov 2026, 13:18:14 UTC
Updated
01 Dec 2026, 05:44:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxace71a19cec5eb430207c3269d8a2683f0574306 to < 208c01e3b948911a03f3c00ebfb02d4669f5ff23 · ace71a19cec5eb430207c3269d8a2683f0574306 to < fc1028780177b972fc55ade3fb480792c64e8b29 · ace71a19cec5eb430207c3269d8a2683f0574306 to < f028a65cd51ff84d8d6afcd816a97e74411cadf3 · ace71a19cec5eb430207c3269d8a2683f0574306 to < 110caa7cbaf675b4be0916bfad2bb0026523ee8b · ace71a19cec5eb430207c3269d8a2683f0574306 to < 59daa39e6fe891b9eecc56aaf0383487ef5eb046 · ace71a19cec5eb430207c3269d8a2683f0574306 to < f2714035b51a34bce50309af4d96ec26ef371fe3 · ace71a19cec5eb430207c3269d8a2683f0574306 to < d067e7b3728c0fb28e5b45a48922a00075c5ca1c · ace71a19cec5eb430207c3269d8a2683f0574306 to < 1a2993227e8a27fc4cdea305bbdae82d290bc885 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.11 (affected) · 0 to < 4.11 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 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 AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: mm/page_vma_mapped: continue past nonmatching huge PMDs A PTE-mapped large folio can straddle PMD boundaries after an unaligned mremap(). If the first part is discarded and replaced with an unrelated huge PMD, page_vma_mapped_walk() stops instead of looking for the rest of the folio in subsequent PMDs. This also affects migration entries. A walk that stops at an unrelated huge PMD can leave migration PTEs behind when migration or an anonymous folio split restores the mappings. Those entries do not hold mapping references and can outlive the source folio. This issue can lead to memory corruption and I have a reproducer for it. Skip the current PMD rather than ending the walk on a flag or PFN mismatch. Do the same if the PMD became nonpresent before the locked recheck. Release the PMD lock, clear the per-PMD state and advance with step_forward(), so the existing range limit controls termination. This covers present, migration and device-private huge PMDs while preserving the matching-PMD and split-to-PTE paths.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

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 trigger is local syscalls on the attacker's own memory: mremap() of a THP to an unaligned address (split_huge_pmd leaves a PTE-mapped folio across two PMDs), MADV_DONTNEED and a fault to put a huge PMD next to it, and move_pages()/split, which reach the patched page_vma_mapped_walk() through remove_migration_ptes(). No remote input is involved. AC:L - The attacker drives both sides of the race. Its own move_pages() migration opens the window between try_to_migrate() and remove_migration_ptes(), and one fault from a second thread installs a THP in the emptied PMD inside that window. All the needed layout comes from its own mremap/madvise calls. PR:L - An ordinary user is enough. mremap, MADV_HUGEPAGE, MADV_DONTNEED and move_pages() with MPOL_MF_MOVE on its own pid need no capability; only MPOL_MF_MOVE_ALL checks CAP_SYS_NICE. UI:N - No victim action is needed. The attacker builds the misaligned PTE-mapped THP, the unrelated huge PMD and the migration entirely within its own process. S:U - The corruption is in kernel page tables and page reference state, inside the kernel's own security authority. There is no guest-to-host or IOMMU boundary. C:H - The leftover migration PTEs point at a source folio that has been freed. remove_migration_pte() later turns a matching entry into a present PTE for whatever folio occupies that pfn, which is a page-level use-after-free that can expose reused memory. The fix's author reports a memory-corruption reproducer. I:H - For a stale writable migration entry, remove_migration_pte() applies pte_mkwrite() to the folio that reuses the freed pfn, giving a writable mapping of memory the process does not own. The fix commit says this leads to memory corruption. A:H - On 5.10 through 6.18, pfn_swap_entry_to_page()/pfn_swap_entry_folio() do BUG_ON(is_migration_entry && !PageLocked). Any zap at process exit, fork, fault or smaps read of a stale entry pointing at the freed, unlocked folio crashes the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ace71a19cec5eb430207c3269d8a2683f0574306 to < 208c01e3b948911a03f3c00ebfb02d4669f5ff23 (affected · git)ace71a19cec5eb430207c3269d8a2683f0574306 to < fc1028780177b972fc55ade3fb480792c64e8b29 (affected · git)ace71a19cec5eb430207c3269d8a2683f0574306 to < f028a65cd51ff84d8d6afcd816a97e74411cadf3 (affected · git)ace71a19cec5eb430207c3269d8a2683f0574306 to < 110caa7cbaf675b4be0916bfad2bb0026523ee8b (affected · git)ace71a19cec5eb430207c3269d8a2683f0574306 to < 59daa39e6fe891b9eecc56aaf0383487ef5eb046 (affected · git)ace71a19cec5eb430207c3269d8a2683f0574306 to < f2714035b51a34bce50309af4d96ec26ef371fe3 (affected · git)ace71a19cec5eb430207c3269d8a2683f0574306 to < d067e7b3728c0fb28e5b45a48922a00075c5ca1c (affected · git)ace71a19cec5eb430207c3269d8a2683f0574306 to < 1a2993227e8a27fc4cdea305bbdae82d290bc885 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.11 (affected)0 to < 4.11 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

mm/page_vma_mapped: continue past nonmatching huge PMDs

Provenance

Schema
5.2
Searchable
yes
Content hash
d105a8cc3bef6a59b25b3a25e14e473288b489acaeff44864b844de75591e898
Ingested
01 Dec 2026, 05:47:23 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