{"id":"CVE-2026-143171","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:52.690","lastModified":"2026-12-03T10:17:52.690","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["mm/mempolicy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","lessThan":"d707147654f6c4194729212c467b938886d586be","versionType":"git","status":"affected"},{"version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","lessThan":"996065285783f30ea7e2f7edeebe660126c44ad6","versionType":"git","status":"affected"},{"version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","lessThan":"dceaac38481028e5649189e50a87321b9aefb94b","versionType":"git","status":"affected"},{"version":"11cd8638c37f6c400cc472cc52b6eccb505aba6e","lessThan":"4cc1bcdf2e4ebcd319005ce2ea132489f6155139","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["mm/mempolicy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/4cc1bcdf2e4ebcd319005ce2ea132489f6155139","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/996065285783f30ea7e2f7edeebe660126c44ad6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d707147654f6c4194729212c467b938886d586be","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dceaac38481028e5649189e50a87321b9aefb94b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}