PT-2026-162877
CVE-2026-99910
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
mm: multi-gen LRU: fix NULL lruvec->pgdat deref with memcg disabled on cmdline
When CONFIG MEMCG=y, lruvec pgdat() returns lruvec->pgdat, which for the
per-node pgdat-> lruvec is left NULL by lruvec init() and only filled in
lazily by mem cgroup lruvec(). Normally that happens early, e.g. on the
first folio add lru().
With cgroup disable=memory, lru gen shrink node() passes &pgdat-> lruvec
directly to shrink one(). If direct reclaim runs before anything has
called mem cgroup lruvec() for the node, which can happen during early
boot under memory pressure (e.g. a kdump kernel), get swappiness() ends
up dereferencing a NULL pgdat:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040
pc : get swappiness+0x68/0xb0
lr : try to shrink lruvec+0x54/0x2c0
Call trace:
get swappiness+0x68/0xb0 (P)
try to shrink lruvec+0x54/0x2c0
shrink one+0x8c/0x240
shrink node+0xc6c/0xe08
do try to free pages+0xdc/0x570
try to free pages+0x124/0x278
alloc frozen pages noprof+0x6e8/0xf78
alloc pages mpol+0xc4/0x1c0
alloc frozen pages noprof+0x54/0xe8
alloc pages noprof+0x1c/0x40
atomic pool expand+0x98/0x300
dma atomic pool init+0x58/0xd8
dma atomic pool init+0x154/0x170
do one initcall+0x64/0x350
kernel init freeable+0x214/0x430
kernel init+0x2c/0x208
ret from fork+0x10/0x20
The classic LRU path and MGLRU before per-node lru gen folio lists
obtained the lruvec through mem cgroup lruvec(), which sets
lruvec->pgdat.
The above was hit on an arm64 kdump kernel (6.18-based) booted with
cgroup disable=memory nr cpus=4. It also reproduces on mainline on an
arm64 VM with CONFIG ARM64 64K PAGES=y, CONFIG MEMCG=y,
CONFIG LRU GEN ENABLED=y and:
mem=160M nr cpus=4 coherent pool=512M cgroup disable=memory
These options only serve to force direct reclaim early in boot; with
160M the boot eventually ends in OOM regardless. On mainline the first
LRU reclaim happens while unpacking the initramfs, and faults the same
way:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040
pc : get swappiness+0xd4/0x150
Call trace:
get swappiness+0xd4/0x150 (P)
try to shrink lruvec+0x44/0x2b8
shrink one+0x80/0x1a0
shrink node+0xd98/0xea8
do try to free pages+0xf4/0x4b0
try to free pages+0x110/0x360
alloc frozen pages noprof+0x8b0/0x1718
...
filemap get folio mpol+0x2ac/0x548
simple write begin+0x44/0xf8
page symlink+0x178/0x198
...
do populate rootfs+0x13c/0x200
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾