DEBIAN-CVE-2026-99697
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- Debian:13 linux
Description
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
Fixed in
6.12.118-1 · 6.12.118-1~deb12u1 · 7.3.5-1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Debian:12 | linux-6.12 | >=0, <6.12.118-1~deb12u1 | 6.12.118-1~deb12u1 |
| Debian:13 | linux | >=0, <6.12.118-1 | 6.12.118-1 |
| Debian:14 | linux | >=0, <7.3.5-1 | 7.3.5-1 |
Sources
- OSV · first seen 13d ago · CC-BY 4.0