Back to CVE records
Medium 5.5Published Jul 25, 2026

CVE-2026-64419mm/shrinker: do not hold RCU lock in shrinker_debugfs_count_show()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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().

CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Analyzed
Record last updated
Aug 17, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 5035ebc644aec92d55d1bbfe042f35341e4bffb5 before de5f69b8dae8698ac5e48dfcd30017887cdf4e5a; from 5035ebc644aec92d55d1bbfe042f35341e4bffb5 before e441cbfbd0eaa6404278e985033c33caba4db767; 5035ebc644aec92d55d1bbfe042f35341e4bffb5 builds before 2fed79f0fe8c8d28a972c290dbfd693c3546c8c4; 5035ebc644aec92d55d1bbfe042f35341e4bffb5 builds before 560e21e8ccff813e84d05f6500907c549a3d6985; from 5035ebc644aec92d55d1bbfe042f35341e4bffb5 before 86237e56091e70f09c0fbf217f9d9c0e08f556c4; from 5035ebc644aec92d55d1bbfe042f35341e4bffb5 before b902890c62d200b3509cb5e09cf1e0a66553c128
CNA record
linux linux_kernel
linux:linux_kernel
from 6.0 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.