# CVE-2026-64419: mm/shrinker: do not hold RCU lock in shrinker\_debugfs\_count\_show()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-25T08:50:58.342Z
- **Modified:** 2026-09-04T15:24:23.823Z

## Who should check

- Anyone running Linux \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< de5f69b8dae8698ac5e48dfcd30017887cdf4e5a; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< e441cbfbd0eaa6404278e985033c33caba4db767; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 2fed79f0fe8c8d28a972c290dbfd693c3546c8c4; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 560e21e8ccff813e84d05f6500907c549a3d6985; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 86237e56091e70f09c0fbf217f9d9c0e08f556c4; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< b902890c62d200b3509cb5e09cf1e0a66553c128
- Anyone running Linux 6.0

## Description

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

## Affected and fixed versions

- Linux: \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< de5f69b8dae8698ac5e48dfcd30017887cdf4e5a; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< e441cbfbd0eaa6404278e985033c33caba4db767; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 2fed79f0fe8c8d28a972c290dbfd693c3546c8c4; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 560e21e8ccff813e84d05f6500907c549a3d6985; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 86237e56091e70f09c0fbf217f9d9c0e08f556c4; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< b902890c62d200b3509cb5e09cf1e0a66553c128 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64419. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64419.md
Affected: Linux >= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, < de5f69b8dae8698ac5e48dfcd30017887cdf4e5a; >= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, < e441cbfbd0eaa6404278e985033c33caba4db767; >= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, < 2fed79f0fe8c8d28a972c290dbfd693c3546c8c4; >= 5035ebc644aec92d55d1bbf…
Fixed in: Linux 2fed79f0fe8c8d28a972c290dbfd693c3546c8c4, Linux 560e21e8ccff813e84d05f6500907c549a3d6985, Linux 86237e56091e70f09c0fbf217f9d9c0e08f556c4

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.
```

## FAQ

### Is CVE-2026-64419 being exploited?

There is no confirmed exploitation: CVE-2026-64419 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64419?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64419?

Linux \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< de5f69b8dae8698ac5e48dfcd30017887cdf4e5a; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< e441cbfbd0eaa6404278e985033c33caba4db767; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 2fed79f0fe8c8d28a972c290dbfd693c3546c8c4; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 560e21e8ccff813e84d05f6500907c549a3d6985; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< 86237e56091e70f09c0fbf217f9d9c0e08f556c4; \>= 5035ebc644aec92d55d1bbfe042f35341e4bffb5, \< b902890c62d200b3509cb5e09cf1e0a66553c128; Linux 6.0.

### Is there a fix for CVE-2026-64419?

Yes. Fixed in Linux 2fed79f0fe8c8d28a972c290dbfd693c3546c8c4, Linux 560e21e8ccff813e84d05f6500907c549a3d6985, Linux 86237e56091e70f09c0fbf217f9d9c0e08f556c4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64419?

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.

## References

- patch: <https://git.kernel.org/stable/c/de5f69b8dae8698ac5e48dfcd30017887cdf4e5a>
- patch: <https://git.kernel.org/stable/c/e441cbfbd0eaa6404278e985033c33caba4db767>
- patch: <https://git.kernel.org/stable/c/2fed79f0fe8c8d28a972c290dbfd693c3546c8c4>
- patch: <https://git.kernel.org/stable/c/560e21e8ccff813e84d05f6500907c549a3d6985>
- patch: <https://git.kernel.org/stable/c/86237e56091e70f09c0fbf217f9d9c0e08f556c4>
- patch: <https://git.kernel.org/stable/c/b902890c62d200b3509cb5e09cf1e0a66553c128>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64419>

HTML: <https://flawdb.com/CVE-2026-64419> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64419>
