Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-99697: high-severity vulnerability (CVSS 7.8) in Linux Linux.
What happened
Original description from 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 e4dde56cd208 ("mm: multi-gen LRU: per-node lru_gen_folio lists"). With either traditional LRU or MGLRU, css_free_rwork_fn() calls css_rstat_exit() which frees per-CPU rstat data before calling mem_cgroup_css_fr…
Why it matters
High severity, CVSS 7.8.
Affected products and versions
Linux Linux >= e4dde56cd208674ce899b47589f263499e5b8cdc, < 16062b71048d8ef85ca6a99d5ef26f0143d0e0c7; Linux Linux >= e4dde56cd208674ce899b47589f263499e5b8cdc, < a44855f25821082e384503abf01a45a5c65a80de; Linux Linux >= e4dde56cd208674ce899b47589f263499e5b8cdc, < 301ac490daf619b8affe12b07e2d68c99adcda79; Linux Linux >= e4dde56cd208674ce899b47589f263499e5b8cdc, < b558ac673e65b4f302f105a0d9f79fb7cf012330; Linux Linux >= e4dde56cd208674ce899b47589f263499e5b8cdc, < dd94d8c7660a60dbfcd425e0d10120de6d02a7bd; Linux Linux 6.3; Linux Linux < 6.3; Linux Linux 6.6.163 (fixed in 6.6.163); Linux Linux 6.12.118 (fixed in 6.12.118); Linux Linux 6.18.64 (fixed in 6.18.64); Linux Linux 7.3.5 (fixed in 7.3.5); Linux Linux 7.4-rc2 (fixed in 7.4-rc2)
| Product | Versions | Fixed in |
|---|---|---|
| Linux Linux | >= e4dde56cd208674ce899b47589f263499e5b8cdc, < 16062b71048d8ef85ca6a99d5ef26f0143d0e0c7 | — |
| Linux Linux | >= e4dde56cd208674ce899b47589f263499e5b8cdc, < a44855f25821082e384503abf01a45a5c65a80de | — |
| Linux Linux | >= e4dde56cd208674ce899b47589f263499e5b8cdc, < 301ac490daf619b8affe12b07e2d68c99adcda79 | — |
| Linux Linux | >= e4dde56cd208674ce899b47589f263499e5b8cdc, < b558ac673e65b4f302f105a0d9f79fb7cf012330 | — |
| Linux Linux | >= e4dde56cd208674ce899b47589f263499e5b8cdc, < dd94d8c7660a60dbfcd425e0d10120de6d02a7bd | — |
| Linux Linux | 6.3 | — |
| Linux Linux | < 6.3 | — |
| Linux Linux | 6.6.163 | 6.6.163 |
| Linux Linux | 6.12.118 | 6.12.118 |
| Linux Linux | 6.18.64 | 6.18.64 |
| Linux Linux | 7.3.5 | 7.3.5 |
| Linux Linux | 7.4-rc2 | 7.4-rc2 |
Action recommended by the source
Upgrade to a fixed version: 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2.
Fixed in: 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2
Sources and references
- https://git.kernel.org/stable/c/a44855f25821082e384503abf01a45a5c65a80de — CVE Program
- https://git.kernel.org/stable/c/301ac490daf619b8affe12b07e2d68c99adcda79 — CVE Program
- https://git.kernel.org/stable/c/b558ac673e65b4f302f105a0d9f79fb7cf012330 — CVE Program
- https://git.kernel.org/stable/c/dd94d8c7660a60dbfcd425e0d10120de6d02a7bd — CVE Program
- https://git.kernel.org/stable/c/16062b71048d8ef85ca6a99d5ef26f0143d0e0c7 — CVE Program
Relevant change history
Published
Preliminary advisory published.