CVE-2026-99915

Source
https://cve.org/CVERecord?id=CVE-2026-99915
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99915.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99915
Downstream
Published
2026-11-30T13:18:14Z
Modified
2026-11-30T15:02:31Z
Summary
mm/page_vma_mapped: continue past nonmatching huge PMDs
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99915.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ace71a19cec5eb430207c3269d8a2683f0574306
Fixed
208c01e3b948911a03f3c00ebfb02d4669f5ff23
Fixed
fc1028780177b972fc55ade3fb480792c64e8b29
Fixed
f028a65cd51ff84d8d6afcd816a97e74411cadf3
Fixed
110caa7cbaf675b4be0916bfad2bb0026523ee8b
Fixed
59daa39e6fe891b9eecc56aaf0383487ef5eb046
Fixed
f2714035b51a34bce50309af4d96ec26ef371fe3
Fixed
d067e7b3728c0fb28e5b45a48922a00075c5ca1c
Fixed
1a2993227e8a27fc4cdea305bbdae82d290bc885

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99915.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99915.json"