CVE-2026-64419·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mm/shrinker: do not hold RCU lock in shrinker_debugfs_count_show() Reading the debugfs "count" file of a memcg-aware shrinker can sleep inside an RCU read-side critical section: BUG: sleeping function called from invalid context at kernel/cgroup/rstat.c:421 RCU nest depth: 1, expected: 0 css_rstat_flush mem_cgroup_flush_stats zswap_shrinker_count shrinker_debugfs_count_show shrinker_debugfs_count_show() invokes the ->count_objects() callback under rcu_read_lock(). The zswap callback flushes memcg stats via css_rstat_flush(), which may sleep, so it must not run under RCU. The RCU lock is not needed here. mem_cgroup_iter() takes RCU internally and returns a memcg holding a css reference (dropped on the next iteration or by mem_cgroup_iter_break()), so the memcg stays alive without it. The shrinker is kept alive by the open debugfs file: shrinker_free() removes the debugfs entries via debugfs_remove_recursive(), which waits for in-flight readers to drain, before call_rcu(..., shrinker_free_rcu_cb). The sibling "scan" handler already invokes the sleeping ->scan_objects() callback with no RCU section. Drop the rcu_read_lock()/rcu_read_unlock().
- Severity
- medium
- 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.16% — higher than 5% 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.
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 this memory management vulnerability. The fix removes an unnecessary RCU lock from the shrinker debugfs handler that was causing sleeping operations to occur in an invalid context. Systems running kernel versions 6.19 through 7.1.3 should prioritize this patch to prevent potential kernel panics during memory pressure events.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify it falls within the affected range (6.19.x through 7.1.3)
- Step 2: Confirm zswap or memcg-aware shrinkers are in use by checking `cat /proc/sysfs | grep shrinker` and examining debugfs entries at `/sys/kernel/debug/shrinker/`
- Step 3: Search kernel logs for RCU warnings using `sudo journalctl -b | grep -i 'RCU nest depth\|sleeping function called from invalid context'`
- Step 4: After updating, verify the fix with `uname -r` and confirm no RCU-related warnings appear in `dmesg` or journal logs during normal system operation
FAQ
What is CVE-2026-64419?
This vulnerability involves an RCU (Read-Copy-Update) locking issue in the Linux kernel's memory shrinker debugfs handler. The handler was holding an RCU read lock while invoking callback functions that may sleep, violating kernel synchronization rules and causing runtime errors.
Is CVE-2026-64419 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. It is primarily a kernel stability issue rather than a security exploit vector.
What versions of Kernel are affected by CVE-2026-64419?
Linux kernel versions 6.19 through 7.1.3 are affected. The vulnerability is fixed in kernel 7.1.4 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-64419?
Run `uname -r` to display your kernel version. If the output shows a version between 6.19.0 and 7.1.3 (inclusive), your system is vulnerable and should be updated.
Does Defensia detect CVE-2026-64419?
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-64419 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2fed79f0fe8c8d28a972c290dbfd693c3546c8c4
- https://git.kernel.org/stable/c/560e21e8ccff813e84d05f6500907c549a3d6985
- https://git.kernel.org/stable/c/86237e56091e70f09c0fbf217f9d9c0e08f556c4
- https://git.kernel.org/stable/c/b902890c62d200b3509cb5e09cf1e0a66553c128
- https://git.kernel.org/stable/c/de5f69b8dae8698ac5e48dfcd30017887cdf4e5a
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64419. Free for 1 server.
Get started free