{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99915","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.445Z","datePublished":"2026-11-30T13:18:14.584Z","dateUpdated":"2026-12-01T05:44:19.657Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:19.657Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_vma_mapped: continue past nonmatching huge PMDs\n\nA PTE-mapped large folio can straddle PMD boundaries after an unaligned\nmremap().  If the first part is discarded and replaced with an unrelated\nhuge PMD, page_vma_mapped_walk() stops instead of looking for the rest of\nthe folio in subsequent PMDs.\n\nThis also affects migration entries.  A walk that stops at an unrelated\nhuge PMD can leave migration PTEs behind when migration or an anonymous\nfolio split restores the mappings.  Those entries do not hold mapping\nreferences and can outlive the source folio.\n\nThis issue can lead to memory corruption and I have a reproducer for\nit.\n\nSkip the current PMD rather than ending the walk on a flag or PFN\nmismatch.  Do the same if the PMD became nonpresent before the locked\nrecheck.  Release the PMD lock, clear the per-PMD state and advance with\nstep_forward(), so the existing range limit controls termination.  This\ncovers present, migration and device-private huge PMDs while preserving\nthe matching-PMD and split-to-PTE paths."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/page_vma_mapped.c"],"versions":[{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"208c01e3b948911a03f3c00ebfb02d4669f5ff23","status":"affected","versionType":"git"},{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"fc1028780177b972fc55ade3fb480792c64e8b29","status":"affected","versionType":"git"},{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"f028a65cd51ff84d8d6afcd816a97e74411cadf3","status":"affected","versionType":"git"},{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"110caa7cbaf675b4be0916bfad2bb0026523ee8b","status":"affected","versionType":"git"},{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"59daa39e6fe891b9eecc56aaf0383487ef5eb046","status":"affected","versionType":"git"},{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"f2714035b51a34bce50309af4d96ec26ef371fe3","status":"affected","versionType":"git"},{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"d067e7b3728c0fb28e5b45a48922a00075c5ca1c","status":"affected","versionType":"git"},{"version":"ace71a19cec5eb430207c3269d8a2683f0574306","lessThan":"1a2993227e8a27fc4cdea305bbdae82d290bc885","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/page_vma_mapped.c"],"versions":[{"version":"4.11","status":"affected"},{"version":"0","lessThan":"4.11","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/208c01e3b948911a03f3c00ebfb02d4669f5ff23"},{"url":"https://git.kernel.org/stable/c/fc1028780177b972fc55ade3fb480792c64e8b29"},{"url":"https://git.kernel.org/stable/c/f028a65cd51ff84d8d6afcd816a97e74411cadf3"},{"url":"https://git.kernel.org/stable/c/110caa7cbaf675b4be0916bfad2bb0026523ee8b"},{"url":"https://git.kernel.org/stable/c/59daa39e6fe891b9eecc56aaf0383487ef5eb046"},{"url":"https://git.kernel.org/stable/c/f2714035b51a34bce50309af4d96ec26ef371fe3"},{"url":"https://git.kernel.org/stable/c/d067e7b3728c0fb28e5b45a48922a00075c5ca1c"},{"url":"https://git.kernel.org/stable/c/1a2993227e8a27fc4cdea305bbdae82d290bc885"}],"title":"mm/page_vma_mapped: continue past nonmatching huge PMDs","x_generator":{"engine":"bippy-1.2.0"}}}}