Linux Kernelのメモリ制御に脆弱性、NULLポインタ参照と解放後使用のおそれ
Summary
Linux Kernelのメモリ制御(memcg)で、NULLポインタ参照と解放後使用が起きる脆弱性です。影響は6.3以降の一部版で、修正版は6.12.118、6.18.64、7.3.5です。該当する版を使っている場合は、修正版への更新を優先してください。悪用の情報は公表されていません。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux Kernelのメモリ制御(memcg)で、NULLポインタ参照と解放後使用が起きる脆弱性です。影響は6.3以降の一部版で、修正版は6.12.118、6.18.64、7.3.5です。該当する版を使っている場合は、修正版への更新を優先してください。悪用の情報は公表されていません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.3.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.118→ 6.12.118 ≥ 6.13.0, < 6.18.64→ 6.18.64 ≥ 6.19.0, < 7.3.5→ 7.3.5 |
6.6.163 6.12.118 6.18.64 7.3.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99697 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99697 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99697 linux-xilinx, linux-vmware, linux-starfive-6.5 +139 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
mm: memcontrol: fix NULL pointer deref and UAF from high_work_func() on dying memcg
When memory.high is exceeded in non-task context, try_charge_memcg()
schedules memcg->high_work without taking a reference on the memcg, and
high_work_func() invokes reclaim_high() without pinning the memcg.
With obj_cgroup reparenting, introduced in commit bf4f059954dc ("mm:
memcg/slab: obj_cgroup API"), objects charged to a child memcg are
reparented to its parent in mem_cgroup_css_offline() instead of holding a
reference on the child until uncharged. Subsequent uncharges of those
objects go to the parent, which can leave the child's memory use
permanently above its high limit, so any later charge on the offlined
memcg in non-task context schedules high_work. This was later widened
from kernel memory to LRU folios when commit f1cf8d2f36dc ("mm:
memcontrol: eliminate the problem of dying memory cgroup for LRU folios")
converted LRU folios to use obj_cgroup reparenting.
cancel_work_sync(&memcg->high_work) only runs at the end of teardown in
mem_cgroup_css_free(), so high_work_func() can start or still be running
reclaim_high() after mem_cgroup_css_released() or shrink_many() has called
lru_gen_release_memcg() and unhashed lruvec->lrugen.list. If reclaim
tries to rotate the memcg, lru_gen_rotate_memcg() dereferences a NULL
pprev pointer. This issue is specific to MGLRU and was introduced with
the memcg LRU in commit e4d…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com