{"id":"CVE-2026-143169","summary":"mm/page_alloc: keep the pagesets of an empty zone","details":"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-\u003eper_cpu_pageset and zone-\u003eper_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-\u003eper_cpu_pageset\n      cond_resched()\n                                      adjust_present_page_count()\n                                      zone_pcp_reset(zone)\n                                        free_percpu(zone-\u003eper_cpu_pageset)\n      decay_pcp_high(zone, pcp)\n      __this_cpu_write(pcp-\u003eexpire, 0)\n\nThe same goes for drain_all_pages(NULL), which takes pcp-\u003elock, 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-\u003eper_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.","modified":"2026-12-03T11:01:28.889617173Z","published":"2026-12-03T09:20:05.625Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143169.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2be9a0b3daed689f328de80019fc125af4ca27c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7bfcf81b1cb469bc016fa8e07939c0924b9ff8db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc7501fe9cc9053b9ed24d9f299e6a6af297e4ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6ebb3ee0ac9abb01e628238e2d5369b2de00ad3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143169.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143169"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"340175b7d14d5617559d0c1a54fa0ea204d9edcd"},{"fixed":"2be9a0b3daed689f328de80019fc125af4ca27c0"},{"fixed":"f6ebb3ee0ac9abb01e628238e2d5369b2de00ad3"},{"fixed":"dc7501fe9cc9053b9ed24d9f299e6a6af297e4ca"},{"fixed":"7bfcf81b1cb469bc016fa8e07939c0924b9ff8db"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143169.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143169.json"}}],"schema_version":"1.9.2"}