{"id":"CVE-2026-142880","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:26.400","lastModified":"2026-12-03T04:18:26.400","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_alloc: mark pages freed by __free_pages_core() as not tagged\n\nOnlining hotplugged memory (e.g., a dev_dax device bound to kmem) with\nCONFIG_MEM_ALLOC_PROFILING_DEBUG triggers:\n\n  alloc_tag was not set\n  WARNING: ./include/linux/alloc_tag.h:166 at __pgalloc_tag_sub+0x1fc/0x254\n  Call trace:\n   __pgalloc_tag_sub+0x1fc/0x254 (P)\n   __free_pages_ok+0x14c/0x6ac\n   __free_pages_core+0xa8/0x188\n   generic_online_page+0x14/0x20\n   online_pages+0x220/0x3b0\n   memory_subsys_online+0xfc/0x198\n   device_online+0x58/0xe0\n   state_store+0xf0/0xf8\n\nPages entering the buddy through __free_pages_core() have never been\nallocated, so their allocation tag references are NULL.  The free path,\n__free_pages_prepare() -> pgalloc_tag_sub(), expects a valid tag or a\nCODETAG_EMPTY mark and warns otherwise.  Paths feeding never-allocated\npages into the buddy are therefore expected to mark them with\nclear_page_tag_ref() first, like init_cma_reserved_pageblock() and\nfree_reserved_pages() do; of __free_pages_core()'s callers only\nmemblock_free_pages() clears the tag ref itself, and the hotplug\nonlining path was missed.\n\nSince all __free_pages_core() callers free never-allocated pages, mark the\nhead page as not tagged in __free_pages_core() itself instead of relying on\neach caller, and drop the now-redundant clearing from\nmemblock_free_pages()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["mm/mm_init.c","mm/page_alloc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"dcfe378c81f72f146890ce1dcfdcc742d3b66924","lessThan":"d7f18d77ba2af6180279a44bea23f95616814ddf","versionType":"git","status":"affected"},{"version":"dcfe378c81f72f146890ce1dcfdcc742d3b66924","lessThan":"c9f177a1e17e546fc144f4da4699a8eb78fb717e","versionType":"git","status":"affected"},{"version":"dcfe378c81f72f146890ce1dcfdcc742d3b66924","lessThan":"1193e0a0ccd9bb3f32cae12b6ffa1f817985d28d","versionType":"git","status":"affected"},{"version":"dcfe378c81f72f146890ce1dcfdcc742d3b66924","lessThan":"b6732c6d43139ea56de8bc62e87ace8543ef784f","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["mm/mm_init.c","mm/page_alloc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1193e0a0ccd9bb3f32cae12b6ffa1f817985d28d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b6732c6d43139ea56de8bc62e87ace8543ef784f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c9f177a1e17e546fc144f4da4699a8eb78fb717e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d7f18d77ba2af6180279a44bea23f95616814ddf","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}