CVE-2026-138898
publishedmm/madvise: skip zone device folios in cold/pageout PMD range
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < c30bf2e8df833c5a8d235f31f90b695cbd6f3101 · a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < ab7ace574f3da7f167fe1883116480a00c52150c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < c30bf2e8df833c5a8d235f31f90b695cbd6f3101 (affected · git)a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < ab7ace574f3da7f167fe1883116480a00c52150c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
mm/madvise: skip zone device folios in cold/pageout PMD range
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6c201cb288eaff51b3381b012ee45b5d96b9ffe795614bd21cebe401e97a0f74
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record