CVE-2026-99915
mm/page_vma_mapped: continue past nonmatching huge PMDs
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.
INFO
Published Date :
Nov. 30, 2026, 2:20 p.m.
Last Modified :
Nov. 30, 2026, 2:20 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Apply the provided patch for page_vma_mapped.
- Recompile and install the updated kernel.
- Reboot the system after installation.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99915.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99915 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99915
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99915 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99915 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99915.json">CVE-2026-99915</a> Added Reference https://git.kernel.org/stable/c/110caa7cbaf675b4be0916bfad2bb0026523ee8b Added Reference https://git.kernel.org/stable/c/1a2993227e8a27fc4cdea305bbdae82d290bc885 Added Reference https://git.kernel.org/stable/c/208c01e3b948911a03f3c00ebfb02d4669f5ff23 Added Reference https://git.kernel.org/stable/c/59daa39e6fe891b9eecc56aaf0383487ef5eb046 Added Reference https://git.kernel.org/stable/c/d067e7b3728c0fb28e5b45a48922a00075c5ca1c Added Reference https://git.kernel.org/stable/c/f028a65cd51ff84d8d6afcd816a97e74411cadf3 Added Reference https://git.kernel.org/stable/c/f2714035b51a34bce50309af4d96ec26ef371fe3 Added Reference https://git.kernel.org/stable/c/fc1028780177b972fc55ade3fb480792c64e8b29