Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access with cgroup control
-
DeliverySet memory.high and exceed it
-
ExploitOffline memcg while usage stays above high
-
ExecutionCharge schedules high_work during teardown race
-
PersistReclaim dereferences stale lruvec/rstat pointer
-
ImpactKernel panic (denial of service)
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires the local ability to create and configure a memory cgroup with a memory.high (or swap.high) limit, exceed that limit, and then trigger the cgroup's destruction while obj_cgroup reparenting keeps the child's usage permanently above high - so that a later charge in non-task context schedules memcg->high_work during the narrow teardown window before cancel_work_sync()/irq_work_sync() in mem_cgroup_css_free() runs. The NULL-pointer path in lru_gen_rotate_memcg() is specific to kernels built with MGLRU (the memcg LRU); the per-CPU rstat use-after-free via __css_rstat_updated() applies to both traditional LRU and MGLRU. Limiting factors: local access only (not remotely reachable), dependence on a tight teardown race rather than a deterministic trigger, and the need for privileges sufficient to manage memory cgroups and their high limits. The complete fix is updating to a patched kernel; the sources list no alternative mitigation. |
| Impact | This is a genuine kernel defect but a low-priority one for most defenders. The CVSS base score is 7.8 (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H), which reflects the conservative convention of scoring kernel memory-safety bugs as full local privilege escalation. The actual evidence tells a narrower story: the described crash is an 'Oops: general protection fault' / 'null-ptr-deref' reaching lru_gen_rotate_memcg() from the high_work_func kworker, i.e. an observed denial of service, and the input Tags classify this as 'Denial Of Service.' The C:H/I:H claim (code execution from the use-after-free on per-CPU rstat data) is theoretically conceivable but is NOT demonstrated in the available sources. Exploitation signals are weak and consistent with low urgency: EPSS is 0.17% (6th percentile), there is no CISA KEV listing, and no public exploit was identified. The vuln.today decision label is 'this_week' rather than act_now/emergency. The AC:L rating in the input conflicts with the mechanism described - the commit message makes clear the fault depends on a teardown race (cancel_work_sync only runs at the end of mem_cgroup_css_free, so high_work_func can still be running after lru_gen_release_memcg unhashes the list), which is better characterized as high attack complexity. Bottom line: a real correctness/stability bug worth patching in the normal cycle, not a widely-weaponizable priority. |
| Exploit ScenarioDerived | A local user able to create and configure memory cgroups sets a memory.high limit on a cgroup, drives it above that limit, and then triggers destruction of the cgroup while objcg-reparented charges keep its usage above high. A subsequent charge in non-task context on the dying memcg schedules high_work, and reclaim_high() runs concurrently with teardown, dereferencing a stale lruvec/rstat pointer and panicking the kernel. No public exploit was identified at time of analysis, and this is realistically a denial-of-service rather than a demonstrated privilege-escalation path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
A local user with privileges to manage memory cgroups can crash the Linux kernel by driving a dying memory cgroup through the teardown path while its memory.high reclaim work is still pending or running, producing either a NULL-pointer dereference in lru_gen_rotate_memcg() (MGLRU builds) or a use-after-free of per-CPU rstat data in __css_rstat_updated() (both traditional LRU and MGLRU). Affected are kernels from 6.3 onward, where the memcg LRU (commit e4dde56cd208) and obj_cgroup reparenting allow a child memcg's usage to remain above its high limit after offline, so a later non-task-context charge re-schedules memcg->high_work inside the narrow window before cancel_work_sync()/irq_work_sync() in mem_cgroup_css_free(). The result is a denial of service (kernel oops/panic); exploitation requires local access and a tight teardown race, so this rates as a low-priority kernel defect rather than an urgent one, and no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: update to Linux 6.12.118, 6.18.64, 7.3.5 or 7.4-rc2 (or later), which carry the fixes at https://git.kernel.org/stable/c/a44855f25821082e384503abf01a45a5c65a80de, https://git.kernel.org/stable/c/301ac490daf619b8affe12b07e2d68c99adcda79, https://git.kernel.org/stable/c/b558ac673e65b4f302f105a0d9f79fb7cf012330 and https://git.kernel.org/stable/c/dd94d8c7660a60dbfcd425e0d10120de6d02a7bd; Debian and Ubuntu users should follow their respective kernel advisories, and the NVD entry is at https://nvd.nist.gov/vuln/detail/CVE-2026-99697. The sources list no alternative mitigation - updating to a patched kernel is the complete fix. Because the defect needs local privileges to create memory cgroups with memory.high or swap.high limits and to drive their teardown, restricting who can create and configure cgroups (and their high limits) reduces exposure until patching is possible, at the cost of limiting legitimate container and workload-isolation functionality; kernels built without MGLRU avoid only the lru_gen_rotate_memcg() NULL-pointer path, not the rstat use-after-free.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the memory-controller reclaim machinery. try_charge_memcg() schedules memcg->high_work when memory.high is exceeded in non-task context, but historically took no reference on the memcg, and high_work_func() called reclaim_high() without pinning it. obj_cgroup reparenting (commit bf4f059954dc), later extended from kernel memory to LRU folios (commit f1cf8d2f36dc), moves charges from an offlining child to its parent, so uncharges land on the parent and the child's counter can stay permanently above its high limit; any subsequent charge on the offlined memcg in non-task context reschedules high_work. Because cancel_work_sync(&memcg->high_work) only runs at the end of teardown in mem_cgroup_css_free(), high_work_func() can start or still be executing reclaim_high() after mem_cgroup_css_released()/shrink_many() has called lru_gen_release_memcg() and unhashed lruvec->lrugen.list - a rotation then dereferences a NULL pprev in lru_gen_rotate_memcg(), which is MGLRU-specific (introduced with the per-node lru_gen_folio lists, commit e4dde56cd208). Independently of LRU flavour, css_free_rwork_fn() calls css_rstat_exit() and frees per-CPU rstat data before mem_cgroup_css_free(), so an in-flight reclaim_high() updating state through mod_lruvec_state() -> __css_rstat_updated() touches freed memory; this ordering came from commit 5da3bfa029d6. The upstream fix takes a reference with css_tryget_online() in high_work_func() (safe here because mem_cgroup_css_free() already does irq_work_sync() and cancel_work_sync() before mem_cgroup_free(), and percpu_ref_tryget_live() remains valid after percpu_ref_exit()) and resets memory.high and swap.high to PAGE_COUNTER_MAX in mem_cgroup_css_offline() so charges made through references on an offlined memcg stop triggering high_work on the dead child and instead check live ancestors.
Know when Canonical gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Triggering depends on a cgroup-teardown race so AC:H; needs local privileges to manage memcg high limits so AV:L/PR:L; the only evidenced impact is a kernel crash, so A:H with C:N/I:N.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
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_free(). If reclaim_high() is still running, rstat updates via mod_lruvec_state() -> __css_rstat_updated() cause a use-after-free on the per-CPU rstat data. This was introduced when commit 5da3bfa029d6 ("cgroup: use separate rstat trees for each subsystem") moved css_rstat_exit() ahead of ss->css_free().
Fix both problems by acquiring a reference with css_tryget_online() in high_work_func() before calling reclaim_high(), and by resetting memory.high and swap.high to PAGE_COUNTER_MAX in mem_cgroup_css_offline() so that charges via references on an offlined memcg do not trigger high_work on the dead child and skip checking live ancestors in try_charge_memcg().
Acquiring the reference in high_work_func() rather than before scheduling high_work is safe because mem_cgroup_css_free() calls irq_work_sync() and cancel_work_sync() which cancels pending work and waits for an already running high_work_func() to complete before mem_cgroup_free() frees the memcg. css_tryget_online() uses percpu_ref_tryget_live() and is safe to call after percpu_ref_exit() before the cgroup is freed unlike css_tryget().
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 27 Comm: kworker/1:0 Tainted: G B W 7.3.0-rc5-g2bba28e98578 #284 PREEMPT(full) Tainted: [B]=BAD_PAGE, [W]=WARN <-- Taint from lru_gen_rotate_memcg() VM_WARN_ON_ONCE Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014 Workqueue: events high_work_func RIP: 0010:lru_gen_rotate_memcg+0x1a3/0xe90 Call Trace: <TASK> ? read_ctrl_pos+0x22f/0x3f0 shrink_lruvec+0x16cb/0x1b80 ? ret_from_fork_asm+0x1a/0x30 ? lapic_next_event+0x15/0x20 ? clockevents_program_event+0x2bb/0x6f0 ? lapic_next_event+0x15/0x20 ? __pfx_shrink_lruvec+0x10/0x10 ? __pfx_clockevents_program_event+0x10/0x10 ? _raw_spin_lock+0x84/0xe0 ? __pfx__raw_spin_lock+0x10/0x10 ? kasan_save_stack+0x30/0x50 ? psi_group_change+0x381/0x740 ? __pfx_sched_clock_cpu+0x10/0x10 ? save_fpregs_to_fpstate+0xc4/0x2c0 ? finish_task_switch.isra.0+0x1de/0xac0 ? __schedule+0xf62/0x42c0 ? __pfx___schedule+0x10/0x10 ? __pfx___irq_work_queue_lo ---truncated---
Executive ViewAI
A high-severity kernel vulnerability in Linux (CVE-2026-99697) allows a local user with cgroup management privileges to crash the entire system. This impacts availability of critical Linux servers and container hosts, potentially disrupting business operations. While exploitation requires local access and a precise race condition, the risk of downtime warrants prompt patching.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT
Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. Rated medium severity (CVSS 6.5), this
The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe
Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by lev
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 17 and earlier, and
EUVD-2026-130990
GHSA-76j9-mfj4-8h8p
NVD
CVE.org
EPSS
VulDB
Exploit-DB