AZL-117388: CVE-2026-99910 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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 CONFIGMEMCG=y, lruvecpgdat() returns lruvec->pgdat, which for the per-node pgdat->lruvec is left NULL by lruvecinit() and only filled in lazily by memcgrouplruvec(). Normally that happens early, e.g. on the first folioaddlru().

With cgroupdisable=memory, lrugenshrinknode() passes &pgdat->lruvec directly to shrinkone(). If direct reclaim runs before anything has called memcgrouplruvec() for the node, which can happen during early boot under memory pressure (e.g. a kdump kernel), getswappiness() ends up dereferencing a NULL pgdat:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040 pc : getswappiness+0x68/0xb0 lr : trytoshrinklruvec+0x54/0x2c0 Call trace: getswappiness+0x68/0xb0 (P) trytoshrinklruvec+0x54/0x2c0 shrinkone+0x8c/0x240 shrinknode+0xc6c/0xe08 dotrytofreepages+0xdc/0x570 trytofreepages+0x124/0x278 allocfrozenpagesnoprof+0x6e8/0xf78 allocpagesmpol+0xc4/0x1c0 allocfrozenpagesnoprof+0x54/0xe8 allocpagesnoprof+0x1c/0x40 atomicpoolexpand+0x98/0x300 dmaatomicpoolinit+0x58/0xd8 dmaatomicpoolinit+0x154/0x170 dooneinitcall+0x64/0x350 kernelinitfreeable+0x214/0x430 kernelinit+0x2c/0x208 retfromfork+0x10/0x20

The classic LRU path and MGLRU before per-node lrugenfolio lists obtained the lruvec through memcgrouplruvec(), which sets lruvec->pgdat.

The above was hit on an arm64 kdump kernel (6.18-based) booted with cgroupdisable=memory nrcpus=4. It also reproduces on mainline on an arm64 VM with CONFIGARM6464KPAGES=y, CONFIGMEMCG=y, CONFIGLRUGENENABLED=y and:

mem=160M nrcpus=4 coherentpool=512M cgroupdisable=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 : getswappiness+0xd4/0x150 Call trace: getswappiness+0xd4/0x150 (P) trytoshrinklruvec+0x44/0x2b8 shrinkone+0x80/0x1a0 shrinknode+0xd98/0xea8 dotrytofreepages+0xf4/0x4b0 trytofreepages+0x110/0x360 allocfrozenpagesnoprof+0x8b0/0x1718 ... filemapgetfoliompol+0x2ac/0x548 simplewritebegin+0x44/0xf8 pagesymlink+0x178/0x198 ... dopopulaterootfs+0x13c/0x200

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:20 PM
Data Sourced
via OSV·02:20 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are most likely to encounter this issue?

Systems built with CONFIG_MEMCG enabled but booted with memory cgroups disabled using cgroup_disable=memory are affected by the described path. The failure is most likely during early boot when direct reclaim occurs under memory pressure, with a kdump kernel given as an example.

2

What conditions trigger the NULL-pointer dereference?

Direct reclaim must reach lru_gen_shrink_node() before mem_cgroup_lruvec() has initialized the per-node lruvec pgdat pointer. This can occur when memory pressure causes page reclaim before any folio has been added to the LRU for that node.

3

What is the likely impact if the condition is reached?

The kernel can dereference a NULL pgdat pointer in get_swappiness(), producing a kernel NULL-pointer dereference. The provided trace shows this occurring during memory reclaim and page allocation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203