{"id":"AZL-117388","summary":"CVE-2026-99910 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: multi-gen LRU: fix NULL lruvec-\u003epgdat deref with memcg disabled on cmdline\n\nWhen CONFIG_MEMCG=y, lruvec_pgdat() returns lruvec-\u003epgdat, which for the\nper-node pgdat-\u003e__lruvec is left NULL by lruvec_init() and only filled in\nlazily by mem_cgroup_lruvec(). Normally that happens early, e.g. on the\nfirst folio_add_lru().\n\nWith cgroup_disable=memory, lru_gen_shrink_node() passes &pgdat-\u003e__lruvec\ndirectly to shrink_one(). If direct reclaim runs before anything has\ncalled mem_cgroup_lruvec() for the node, which can happen during early\nboot under memory pressure (e.g. a kdump kernel), get_swappiness() ends\nup dereferencing a NULL pgdat:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040\n  pc : get_swappiness+0x68/0xb0\n  lr : try_to_shrink_lruvec+0x54/0x2c0\n  Call trace:\n   get_swappiness+0x68/0xb0 (P)\n   try_to_shrink_lruvec+0x54/0x2c0\n   shrink_one+0x8c/0x240\n   shrink_node+0xc6c/0xe08\n   do_try_to_free_pages+0xdc/0x570\n   try_to_free_pages+0x124/0x278\n   __alloc_frozen_pages_noprof+0x6e8/0xf78\n   alloc_pages_mpol+0xc4/0x1c0\n   alloc_frozen_pages_noprof+0x54/0xe8\n   alloc_pages_noprof+0x1c/0x40\n   atomic_pool_expand+0x98/0x300\n   __dma_atomic_pool_init+0x58/0xd8\n   dma_atomic_pool_init+0x154/0x170\n   do_one_initcall+0x64/0x350\n   kernel_init_freeable+0x214/0x430\n   kernel_init+0x2c/0x208\n   ret_from_fork+0x10/0x20\n\nThe classic LRU path and MGLRU before per-node lru_gen_folio lists\nobtained the lruvec through mem_cgroup_lruvec(), which sets\nlruvec-\u003epgdat.\n\nThe above was hit on an arm64 kdump kernel (6.18-based) booted with\ncgroup_disable=memory nr_cpus=4. It also reproduces on mainline on an\narm64 VM with CONFIG_ARM64_64K_PAGES=y, CONFIG_MEMCG=y,\nCONFIG_LRU_GEN_ENABLED=y and:\n\n  mem=160M nr_cpus=4 coherent_pool=512M cgroup_disable=memory\n\nThese options only serve to force direct reclaim early in boot; with\n160M the boot eventually ends in OOM regardless. On mainline the first\nLRU reclaim happens while unpacking the initramfs, and faults the same\nway:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040\n  pc : get_swappiness+0xd4/0x150\n  Call trace:\n   get_swappiness+0xd4/0x150 (P)\n   try_to_shrink_lruvec+0x44/0x2b8\n   shrink_one+0x80/0x1a0\n   shrink_node+0xd98/0xea8\n   do_try_to_free_pages+0xf4/0x4b0\n   try_to_free_pages+0x110/0x360\n   __alloc_frozen_pages_noprof+0x8b0/0x1718\n   ...\n   __filemap_get_folio_mpol+0x2ac/0x548\n   simple_write_begin+0x44/0xf8\n   page_symlink+0x178/0x198\n   ...\n   do_populate_rootfs+0x13c/0x200","modified":"2026-12-01T14:17:41.879857190Z","published":"2026-11-30T14:20:26Z","upstream":["CVE-2026-99910"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99910"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117388.json"}}],"schema_version":"1.9.2"}