{"id":"CVE-2026-143169","state":"PUBLISHED","title":"mm/page_alloc: keep the pagesets of an empty zone","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_alloc: keep the pagesets of an empty zone\n\nWhen the last memory of a zone goes offline, zone_pcp_reset() frees\nzone->per_cpu_pageset and zone->per_cpu_zonestats. Nothing waits for those\nwho found the zone populated and still use the two pointers. They take\nneither the memory hotplug lock nor any other lock which offline_pages()\nholds, and some of them can sleep:\n\n  CPU0 vmstat_update()                CPU1 offline_pages()\n  refresh_cpu_vm_stats()\n    for_each_populated_zone(zone)\n      pcp = zone->per_cpu_pageset\n      cond_resched()\n                                      adjust_present_page_count()\n                                      zone_pcp_reset(zone)\n                                        free_percpu(zone->per_cpu_pageset)\n      decay_pcp_high(zone, pcp)\n      __this_cpu_write(pcp->expire, 0)\n\nThe same goes for drain_all_pages(NULL), which takes pcp->lock, for\nzone_pcp_update(), show_free_areas() and the readers and writers of the\nzonestats. If the per-cpu memory has got a new owner in the meantime, it\nis corrupted.\n\nThe pagesets are only freed because setup_zone_pageset() would otherwise\nleak them when the zone gets memory again. Keep them instead and let\nsetup_zone_pageset() and zone_pcp_init() use them again, like it is done\nwith pgdat->per_cpu_nodestats. Their lists are empty, and their limits\nhave been calculated for a zone without memory by the\ninit_per_zone_wmark_min() of offline_pages(), which is what\nsetup_zone_pageset() would come up with as well.","publishedAt":"2026-12-03T09:20:05.625Z","updatedAt":"2026-12-03T09:20:05.625Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"2be9a0b3daed689f328de80019fc125af4ca27c0","versionType":"git"},{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"f6ebb3ee0ac9abb01e628238e2d5369b2de00ad3","versionType":"git"},{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"dc7501fe9cc9053b9ed24d9f299e6a6af297e4ca","versionType":"git"},{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"7bfcf81b1cb469bc016fa8e07939c0924b9ff8db","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/page_alloc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.6","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/page_alloc.c"]}],"references":["https://git.kernel.org/stable/c/2be9a0b3daed689f328de80019fc125af4ca27c0","https://git.kernel.org/stable/c/f6ebb3ee0ac9abb01e628238e2d5369b2de00ad3","https://git.kernel.org/stable/c/dc7501fe9cc9053b9ed24d9f299e6a6af297e4ca","https://git.kernel.org/stable/c/7bfcf81b1cb469bc016fa8e07939c0924b9ff8db"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143169.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143169","state":"PUBLISHED","datePublished":"2026-12-03T09:20:05.625Z","dateUpdated":"2026-12-03T09:20:05.625Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.356Z"},"containers":{"cna":{"title":"mm/page_alloc: keep the pagesets of an empty zone","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_alloc: keep the pagesets of an empty zone\n\nWhen the last memory of a zone goes offline, zone_pcp_reset() frees\nzone->per_cpu_pageset and zone->per_cpu_zonestats. Nothing waits for those\nwho found the zone populated and still use the two pointers. They take\nneither the memory hotplug lock nor any other lock which offline_pages()\nholds, and some of them can sleep:\n\n  CPU0 vmstat_update()                CPU1 offline_pages()\n  refresh_cpu_vm_stats()\n    for_each_populated_zone(zone)\n      pcp = zone->per_cpu_pageset\n      cond_resched()\n                                      adjust_present_page_count()\n                                      zone_pcp_reset(zone)\n                                        free_percpu(zone->per_cpu_pageset)\n      decay_pcp_high(zone, pcp)\n      __this_cpu_write(pcp->expire, 0)\n\nThe same goes for drain_all_pages(NULL), which takes pcp->lock, for\nzone_pcp_update(), show_free_areas() and the readers and writers of the\nzonestats. If the per-cpu memory has got a new owner in the meantime, it\nis corrupted.\n\nThe pagesets are only freed because setup_zone_pageset() would otherwise\nleak them when the zone gets memory again. Keep them instead and let\nsetup_zone_pageset() and zone_pcp_init() use them again, like it is done\nwith pgdat->per_cpu_nodestats. Their lists are empty, and their limits\nhave been calculated for a zone without memory by the\ninit_per_zone_wmark_min() of offline_pages(), which is what\nsetup_zone_pageset() would come up with as well."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"2be9a0b3daed689f328de80019fc125af4ca27c0","versionType":"git"},{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"f6ebb3ee0ac9abb01e628238e2d5369b2de00ad3","versionType":"git"},{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"dc7501fe9cc9053b9ed24d9f299e6a6af297e4ca","versionType":"git"},{"version":"340175b7d14d5617559d0c1a54fa0ea204d9edcd","status":"affected","lessThan":"7bfcf81b1cb469bc016fa8e07939c0924b9ff8db","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/page_alloc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.6","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/page_alloc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2be9a0b3daed689f328de80019fc125af4ca27c0"},{"url":"https://git.kernel.org/stable/c/f6ebb3ee0ac9abb01e628238e2d5369b2de00ad3"},{"url":"https://git.kernel.org/stable/c/dc7501fe9cc9053b9ed24d9f299e6a6af297e4ca"},{"url":"https://git.kernel.org/stable/c/7bfcf81b1cb469bc016fa8e07939c0924b9ff8db"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:05.625Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.6","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.6","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.6","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.6","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}