CVE-2026-64418
mm: shrinker: fix shrinker_info teardown race with expansion
Mitigation
- Upgrade Linux to 65476d31d8056e859c48580f82295ce159196ffe or later.
Who should check
- Anyone running Linux >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < b9a280a9a454ed514636351d53fe2a233dc5054b; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 6465ff3ce65131c774a312d450abe10f4b9f3875; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 284c267f013e45d8c89d9fb9373105dc8e6c0947; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 65476d31d8056e859c48580f82295ce159196ffe
- Anyone running Linux 6.7
Vulnerability facts
- Affected
- Linux >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < b9a280a9a454ed514636351d53fe2a233dc5054b; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 6465ff3ce65131c774a312d450abe10f4b9f3875; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 284c267f013e45d8c89d9fb9373105dc8e6c0947; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 65476d31d8056e859c48580f82295ce159196ffe; Linux 6.7
- Fixed in
- Linux 6465ff3ce65131c774a312d450abe10f4b9f3875, Linux 284c267f013e45d8c89d9fb9373105dc8e6c0947, Linux 65476d31d8056e859c48580f82295ce159196ffe
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.13% chance of exploitation in 30 days (percentile 1, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm: shrinker: fix shrinker_info teardown race with expansion expand_shrinker_info() iterates all visible memcgs under shrinker_mutex, including memcgs that have not finished ->css_online() yet. Once pn->shrinker_info has been published, teardown must stay serialized with expand_shrinker_info() until that memcg is either fully online or no longer visible to iteration. Today alloc_shrinker_info() breaks that rule by dropping shrinker_mutex before freeing a partially initialized shrinker_info array, which may cause the following race: CPU0 CPU1 ==== ==== css_create --> list_add_tail_rcu(&css->sibling, &parent_css->children); online_css --> mem_cgroup_css_online --> alloc_shrinker_info --> alloc node0 info rcu_assign_pointer(C->node0->shrinker_info, old0) alloc node1 info -> FAIL -> goto err mutex_unlock(shrinker_mutex) shrinker_alloc() --> shrinker_memcg_alloc --> mutex_lock(shrinker_mutex) expand_shrinker_info --> mem_cgroup_iter see the memcg expand_one_shrinker_info --> old0 = C->node0->shrinker_info memcpy(new->unit, old0->unit, ...); free_shrinker_info --> kvfree(old0); /* double free !! */ kvfree_rcu(old0, rcu); The same problem exists later in mem_cgroup_css_online(). If alloc_shrinker_info() succeeds but a subsequent objcg allocation fails, the free_objcg -> free_shrinker_info() unwind path tears down the already published pn->shrinker_info arrays without shrinker_mutex. The expand_one_shrinker_info() can race with that teardown in the same way, leading to use-after-free or double-free of the old shrinker_info. Fix this by serializing shrinker_info teardown with shrinker_mutex, and by keeping alloc_shrinker_info() error cleanup inside the locked section.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < b9a280a9a454ed514636351d53fe2a233dc5054b; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 6465ff3ce65131c774a312d450abe10f4b9f3875; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 284c267f013e45d8c89d9fb9373105dc8e6c0947; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 65476d31d8056e859c48580f82295ce159196ffe | — | cvelist |
| Linux | 6.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-64418. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-64418.md Affected: Linux >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < b9a280a9a454ed514636351d53fe2a233dc5054b; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 6465ff3ce65131c774a312d450abe10f4b9f3875; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 284c267f013e45d8c89d9fb9373105dc8e6c0947; >= 307bececcd1205bcb67a3c0… Fixed in: Linux 6465ff3ce65131c774a312d450abe10f4b9f3875, Linux 284c267f013e45d8c89d9fb9373105dc8e6c0947, Linux 65476d31d8056e859c48580f82295ce159196ffe Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-64418 being exploited?
There is no confirmed exploitation: CVE-2026-64418 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-64418?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-64418?
Linux >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < b9a280a9a454ed514636351d53fe2a233dc5054b; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 6465ff3ce65131c774a312d450abe10f4b9f3875; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 284c267f013e45d8c89d9fb9373105dc8e6c0947; >= 307bececcd1205bcb67a3c0d53a69db237ccc9d4, < 65476d31d8056e859c48580f82295ce159196ffe; Linux 6.7.
Is there a fix for CVE-2026-64418?
Yes. Fixed in Linux 6465ff3ce65131c774a312d450abe10f4b9f3875, Linux 284c267f013e45d8c89d9fb9373105dc8e6c0947, Linux 65476d31d8056e859c48580f82295ce159196ffe. Upgrade Linux to 65476d31d8056e859c48580f82295ce159196ffe or later.
How do I check if I'm affected by CVE-2026-64418?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.