{"id":"CVE-2026-138898","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:47.730","lastModified":"2026-11-30T14:17:47.730","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/madvise: skip zone device folios in cold/pageout PMD range\n\nmadvise_cold_or_pageout_pte_range() resolves the folio backing a PMD via\npmd_folio() and ages or reclaims it without checking for zone device\nmemory.\n\nThe surrounding guards do not cover every zone device case:\n\n  - can_madv_lru_vma() excludes VM_PFNMAP and VM_HUGETLB VMAs\n    (so device DAX is filtered)\n\n  - !pmd_present() branch above rejects device-private and\n    migration entries, which are non-present.\n\n  - A present zone device PMD - e.g. a device-coherent THP - is\n    not filtered by any of these, nor by pmd_folio() (unlike\n    vm_normal_page_pmd(), it performs no special/pfnmap check),\n    and would be aged or paged out here.\n\nSkip ZONE_DEVICE folios explicitly during MADV_COLD/PAGEOUT."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["mm/madvise.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a30b48bf1b244f11bf9b6d20cdccfe0c2264130c","lessThan":"c30bf2e8df833c5a8d235f31f90b695cbd6f3101","versionType":"git","status":"affected"},{"version":"a30b48bf1b244f11bf9b6d20cdccfe0c2264130c","lessThan":"ab7ace574f3da7f167fe1883116480a00c52150c","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["mm/madvise.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/ab7ace574f3da7f167fe1883116480a00c52150c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c30bf2e8df833c5a8d235f31f90b695cbd6f3101","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}