PT-2026-166603
CVE-2026-142880
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
mm/page alloc: mark pages freed by free pages core() as not tagged
Onlining hotplugged memory (e.g., a dev dax device bound to kmem) with
CONFIG MEM ALLOC PROFILING DEBUG triggers:
alloc tag was not set
WARNING: ./include/linux/alloc tag.h:166 at pgalloc tag sub+0x1fc/0x254
Call trace:
pgalloc tag sub+0x1fc/0x254 (P)
free pages ok+0x14c/0x6ac
free pages core+0xa8/0x188
generic online page+0x14/0x20
online pages+0x220/0x3b0
memory subsys online+0xfc/0x198
device online+0x58/0xe0
state store+0xf0/0xf8
Pages entering the buddy through free pages core() have never been
allocated, so their allocation tag references are NULL. The free path,
free pages prepare() -> pgalloc tag sub(), expects a valid tag or a
CODETAG EMPTY mark and warns otherwise. Paths feeding never-allocated
pages into the buddy are therefore expected to mark them with
clear page tag ref() first, like init cma reserved pageblock() and
free reserved pages() do; of free pages core()'s callers only
memblock free pages() clears the tag ref itself, and the hotplug
onlining path was missed.
Since all free pages core() callers free never-allocated pages, mark the
head page as not tagged in free pages core() itself instead of relying on
each caller, and drop the now-redundant clearing from
memblock free pages().
Found an issue in the description? Have something to add? Feel free to write us 👾