CVE-2026-64418·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64418 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to resolve a critical race condition in the memory shrinker subsystem that can lead to use-after-free and double-free vulnerabilities. This patch serializes shrinker_info teardown operations to prevent concurrent access during memory allocation failures. Systems running kernel versions 6.19 through 7.1.3 should prioritize this update to prevent potential kernel crashes or privilege escalation.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to verify your current kernel version and confirm if it falls within the affected range (6.19 to 7.1.3)
- Execute 'cat /proc/version' to double-check the kernel build information and release date
- Check dmesg logs for memory allocation failures or double-free warnings: 'sudo dmesg | grep -i "double free\|use-after-free\|shrinker"'
- After patching, reboot the system and verify the new kernel is active with 'uname -r', ensuring version 7.1.4 or higher is running
FAQ
What is CVE-2026-64418?
This vulnerability is a race condition in the Linux kernel's memory shrinker subsystem that occurs when shrinker_info data structures are allocated or freed without proper synchronization. The race can allow multiple code paths to access memory that has been freed, resulting in kernel crashes or potential privilege escalation.
Is CVE-2026-64418 being actively exploited?
No, this vulnerability is not currently listed as actively exploited according to CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public exploit code is available.
What versions of Kernel are affected by CVE-2026-64418?
Linux kernel versions 6.19 through 7.1.3 are vulnerable. The fix is available in kernel 7.1.4 and later.
How do I check if my server is vulnerable to CVE-2026-64418?
Run 'uname -r' to display your kernel version. If it shows a version between 6.19 and 7.1.3 (e.g., 6.19, 7.0, 7.1.1), your system is vulnerable and requires a kernel update.
Does Defensia detect CVE-2026-64418?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64418 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64418. Free for 1 server.
Get started free