{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143171",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.357Z",
        "datePublished": "2026-12-03T09:20:06.954Z",
        "dateUpdated": "2026-12-03T09:20:06.954Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:20:06.954Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mempolicy: read the zoneref slot once in mempolicy_slab_node()\n\nFor a bind or preferred-many policy, mempolicy_slab_node() tests the\nfirst matching slot's zone for NULL, then reads the slot again to look\nup the zone's node. Offlining a zone's last block rebuilds the\nzonelists in place, so the second read can return the terminator:\n\n  CPU 0                             CPU 1\n  mempolicy_slab_node()\n    zonelist_zone(slot 4)\n      = node 2 NORMAL\n                                    offline_pages()\n                                      build_all_zonelists()\n                                        slot 4 = NULL\n    zonelist_node_idx(slot 4)\n      zone_to_nid(NULL)\n\nCurrent GCC merges the two reads, but nothing requires it. With\nmm/mempolicy.o built with -fno-inline -fno-ipa-sra, holding a bound\ntask's slab_strict_numa allocation between the reads while a movable\nblock earlier in the zonelist goes offline oopses every time:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000060\n  RIP: 0010:zone_to_nid+0x0/0x10\n  Call Trace:\n   kmem_cache_alloc_noprof+0x294/0x610\n   do_getname+0x34/0x230\n\nmempolicy_slab_node() and zonelist_node_idx() are tail calls here, so\nneither appears in the trace.\n\nRead the slot once and use that zone."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/mempolicy.c"
                    ],
                    "versions": [
                        {
                            "version": "11cd8638c37f6c400cc472cc52b6eccb505aba6e",
                            "lessThan": "d707147654f6c4194729212c467b938886d586be",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "11cd8638c37f6c400cc472cc52b6eccb505aba6e",
                            "lessThan": "996065285783f30ea7e2f7edeebe660126c44ad6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "11cd8638c37f6c400cc472cc52b6eccb505aba6e",
                            "lessThan": "dceaac38481028e5649189e50a87321b9aefb94b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "11cd8638c37f6c400cc472cc52b6eccb505aba6e",
                            "lessThan": "4cc1bcdf2e4ebcd319005ce2ea132489f6155139",
                            "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/mempolicy.c"
                    ],
                    "versions": [
                        {
                            "version": "4.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "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.14",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d707147654f6c4194729212c467b938886d586be"
                },
                {
                    "url": "https://git.kernel.org/stable/c/996065285783f30ea7e2f7edeebe660126c44ad6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dceaac38481028e5649189e50a87321b9aefb94b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4cc1bcdf2e4ebcd319005ce2ea132489f6155139"
                }
            ],
            "title": "mm/mempolicy: read the zoneref slot once in mempolicy_slab_node()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}