{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138898",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.902Z",
        "datePublished": "2026-11-30T13:26:00.830Z",
        "dateUpdated": "2026-11-30T13:26:00.830Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:00.830Z"
            },
            "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/madvise.c"
                    ],
                    "versions": [
                        {
                            "version": "a30b48bf1b244f11bf9b6d20cdccfe0c2264130c",
                            "lessThan": "c30bf2e8df833c5a8d235f31f90b695cbd6f3101",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a30b48bf1b244f11bf9b6d20cdccfe0c2264130c",
                            "lessThan": "ab7ace574f3da7f167fe1883116480a00c52150c",
                            "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/madvise.c"
                    ],
                    "versions": [
                        {
                            "version": "6.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.19",
                            "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": "6.19",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.19",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c30bf2e8df833c5a8d235f31f90b695cbd6f3101"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ab7ace574f3da7f167fe1883116480a00c52150c"
                }
            ],
            "title": "mm/madvise: skip zone device folios in cold/pageout PMD range",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}