Security mailing lists by PureSourceCode

CVE-2026-138898

not scored yet

mm/madvise: skip zone device folios in cold/pageout PMD range

In the Linux kernel, the following vulnerability has been resolved:

mm/madvise: skip zone device folios in cold/pageout PMD range

madvise_cold_or_pageout_pte_range() resolves the folio backing a PMD via
pmd_folio() and ages or reclaims it without checking for zone device
memory.

The surrounding guards do not cover every zone device case:

  • can_madv_lru_vma() excludes VM_PFNMAP and VM_HUGETLB VMAs
    (so device DAX is filtered)

  • !pmd_present() branch above rejects device-private and
    migration entries, which are non-present.

  • A present zone device PMD - e.g. a device-coherent THP - is
    not filtered by any of these, nor by pmd_folio() (unlike
    vm_normal_page_pmd(), it performs no special/pfnmap check),
    and would be aged or paged out here.

Skip ZONE_DEVICE folios explicitly during MADV_COLD/PAGEOUT.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= a30b48bf1b244f11bf9b6d20cdccfe0c2264130c, < c30bf2e8df833c5a8d235f31f90b695cbd6f3101; >= a30b48bf1b244f11bf9b6d20cdccfe0c2264130c, < ab7ace574f3da7f167fe1883116480a00c52150c c30bf2e8df833c5a8d235f31f90b695cbd6f3101, ab7ace574f3da7f167fe1883116480a00c52150c
CVE List Linux Linux = 6.19

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.