{"api_version":"1","generated_at":"2026-12-04T12:43:48+00:00","cve":"CVE-2026-143171","urls":{"html":"https://cve.report/CVE-2026-143171","api":"https://cve.report/api/cve/CVE-2026-143171.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143171","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143171"},"summary":{"title":"mm/mempolicy: read the zoneref slot once in mempolicy_slab_node()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:52","updated_at":"2026-12-03 10:17:52"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/dceaac38481028e5649189e50a87321b9aefb94b","name":"https://git.kernel.org/stable/c/dceaac38481028e5649189e50a87321b9aefb94b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d707147654f6c4194729212c467b938886d586be","name":"https://git.kernel.org/stable/c/d707147654f6c4194729212c467b938886d586be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4cc1bcdf2e4ebcd319005ce2ea132489f6155139","name":"https://git.kernel.org/stable/c/4cc1bcdf2e4ebcd319005ce2ea132489f6155139","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/996065285783f30ea7e2f7edeebe660126c44ad6","name":"https://git.kernel.org/stable/c/996065285783f30ea7e2f7edeebe660126c44ad6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143171","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143171","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11cd8638c37f6c400cc472cc52b6eccb505aba6e d707147654f6c4194729212c467b938886d586be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11cd8638c37f6c400cc472cc52b6eccb505aba6e 996065285783f30ea7e2f7edeebe660126c44ad6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11cd8638c37f6c400cc472cc52b6eccb505aba6e dceaac38481028e5649189e50a87321b9aefb94b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 11cd8638c37f6c400cc472cc52b6eccb505aba6e 4cc1bcdf2e4ebcd319005ce2ea132489f6155139 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143171","cve":"CVE-2026-143171","epss":"0.002090000","percentile":"0.116500000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/mempolicy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d707147654f6c4194729212c467b938886d586be","status":"affected","version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","versionType":"git"},{"lessThan":"996065285783f30ea7e2f7edeebe660126c44ad6","status":"affected","version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","versionType":"git"},{"lessThan":"dceaac38481028e5649189e50a87321b9aefb94b","status":"affected","version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","versionType":"git"},{"lessThan":"4cc1bcdf2e4ebcd319005ce2ea132489f6155139","status":"affected","version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/mempolicy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.14"},{"lessThan":"4.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"4.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:20:06.954Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143171","datePublished":"2026-12-03T09:20:06.954Z","dateReserved":"2026-12-03T03:10:28.357Z","dateUpdated":"2026-12-03T09:20:06.954Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:52","lastModifiedDate":"2026-12-03 10:17:52","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143171","Ordinal":"1","Title":"mm/mempolicy: read the zoneref slot once in mempolicy_slab_node(","CVE":"CVE-2026-143171","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143171","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"mm/mempolicy: read the zoneref slot once in mempolicy_slab_node("}]}}}