Skip to main content

Linux Kernel EUVDEUVD-2026-48963

| CVE-2026-64419 MEDIUM
2026-07-25 Linux GHSA-h85j-5g9p-ppj5
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access with debugfs read permission
  2. Delivery
    Confirm zswap and memcg enabled on target
  3. Exploit
    Read /sys/kernel/debug/shrinker/zswap-N/count
  4. Execution
    Trigger count_objects callback under rcu_read_lock()
  5. Persist
    css_rstat_flush() sleeps in RCU critical section
  6. Impact
    Kernel BUG triggers panic/reboot

Vulnerability Assessment

Exploitation Conditions

Three simultaneous conditions must hold: (1) zswap memory compression is enabled on the target kernel (non-default on many distributions - must be explicitly enabled via 'zswap.enabled=1' or kernel config); (2) a memcg (memory cgroup) hierarchy is active so that the memcg-aware shrinker path is exercised in the count callback; (3) the attacker has read access to the zswap shrinker's debugfs 'count' file under /sys/kernel/debug/shrinker/, which is gated by debugfs mount permissions (typically root or CAP_SYS_ADMIN). Exploitation is limited to local access only; there is no remote vector. Systems without zswap, without memcg hierarchies, or with debugfs unmounted/restricted are not vulnerable.

Impact

Real-world risk is low-to-moderate. The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H scores 5.5 - local, availability-only, low privilege. However, the AC:L metric likely overstates accessibility: triggering this path requires (1) debugfs mounted and readable, (2) zswap enabled, and (3) memcg hierarchy active. These conditions are non-default on most desktop and container deployments but plausible in memory-pressured server or cloud environments that commonly enable zswap. EPSS of 0.21% at the 12th percentile is consistent with no known public exploit. KEV status is negative. The impact is a kernel BUG resulting in denial of service (panic or reboot depending on panic_on_oops config), which is significant in production systems but does not enable code execution or data exfiltration. The 'Information Disclosure' tag in the input is factually incorrect - CVSS confirms C:N/I:N/A:H, consistent with a crash-only availability impact.

Exploit ScenarioDerived

A local user with read access to /sys/kernel/debug (typically root or CAP_SYS_ADMIN) on a system running zswap with memcg hierarchy enabled reads the debugfs count file for the zswap shrinker (e.g., 'cat /sys/kernel/debug/shrinker/zswap-N/count'). This triggers zswap's count_objects callback under rcu_read_lock(), which calls css_rstat_flush() and attempts to sleep, immediately triggering a kernel BUG and, depending on kernel configuration, a panic or hung system. No exploit code is publicly known; the crash is a straightforward consequence of reading a debugfs file under the wrong conditions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 04, 2026

Kernel availability loss in the Linux mm/shrinker subsystem allows a local user with debugfs access to trigger a kernel BUG by reading the debugfs 'count' file of a memcg-aware shrinker such as zswap. The shrinker_debugfs_count_show() function incorrectly holds rcu_read_lock() while invoking ->count_objects() callbacks; when zswap's callback attempts to flush memcg stats via css_rstat_flush(), it sleeps inside an RCU read-side critical section - a fatal kernel invariant violation. No public exploit has been identified at time of analysis, and EPSS is very low at 0.21% (12th percentile).

RemediationAI

Update the Linux kernel to a patched release: 7.1.4 or 7.2-rc1 for mainline users; 6.18.39, 6.12.96, 6.6.145, or 6.1.178 for LTS branch users. Exact fix commits can be cherry-picked via kernel.org/stable (see references). If an immediate kernel update is not feasible, two compensating controls apply with trade-offs: (1) Disable zswap (boot with 'zswap.enabled=0' or 'echo 0 > /sys/module/zswap/parameters/enabled') - this eliminates the vulnerable zswap count callback but removes compressed swap acceleration, increasing memory pressure. (2) Restrict debugfs access by mounting with restrictive permissions ('mount -o remount,mode=700 /sys/kernel/debug') or unmounting debugfs entirely - this blocks the trigger path but removes all debugfs-based kernel diagnostics for all users. Neither workaround patches the underlying locking defect; kernel update is the definitive fix.

Affected VersionsENISA

Linux patch: 7.2-rc1
Linux patch: 0
Linux 5035ebc644aec92d55d1bbfe042f35341e4bffb5 <e441cbfbd0eaa6404278e985033c33caba4db767
Linux patch: 7.1.4
Linux 5035ebc644aec92d55d1bbfe042f35341e4bffb5 <b902890c62d200b3509cb5e09cf1e0a66553c128
Linux patch: 6.1.178
Linux 5035ebc644aec92d55d1bbfe042f35341e4bffb5 <2fed79f0fe8c8d28a972c290dbfd693c3546c8c4
Linux 6.0
Linux 5035ebc644aec92d55d1bbfe042f35341e4bffb5 <560e21e8ccff813e84d05f6500907c549a3d6985
Linux patch: 6.18.39
Linux 5035ebc644aec92d55d1bbfe042f35341e4bffb5 <de5f69b8dae8698ac5e48dfcd30017887cdf4e5a
Linux 5035ebc644aec92d55d1bbfe042f35341e4bffb5 <86237e56091e70f09c0fbf217f9d9c0e08f556c4
Linux patch: 6.12.96
Linux patch: 6.6.145

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code lives in the Linux kernel's mm/shrinker subsystem (mm/shrinker.c), introduced alongside shrinker debugfs support around kernel 6.0 (commit 5035ebc644aec92d55d1bbfe042f35341e4bffb5). shrinker_debugfs_count_show() iterates registered shrinkers via mem_cgroup_iter() under rcu_read_lock(), then calls each shrinker's ->count_objects() callback. The zswap subsystem's count callback invokes css_rstat_flush() to flush per-cgroup memory statistics; this function can sleep (it acquires sleeping locks internally). Sleeping inside an RCU read-side critical section violates the core RCU invariant that no context switch may occur, causing an immediate kernel BUG. The fix is correct: mem_cgroup_iter() already manages RCU internally and returns a memcg with an elevated css reference - no external RCU lock is needed. The sibling scan handler (shrinker_debugfs_scan_write) already correctly omits RCU around ->scan_objects(). CWE is not assigned, but the class is improper locking / incorrect synchronization (CWE-667).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

AC:H reflects the conjunction of zswap-enabled, active memcg hierarchy, and debugfs read access required; otherwise mirrors vendor vector.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 1.9 LOW
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 04, 2026 - 15:37 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:50 nvd
MEDIUM 5.5
CVE Published
Jul 25, 2026 - 08:50 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Ubiquitous
Linux kernel runs the vast majority of servers, containers, and cloud infrastructure.
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

SUSE

Severity: Low
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy