Skip to main content

Linux Kernel EUVDEUVD-2026-32850

| CVE-2026-46223 MEDIUM
Improper Locking (CWE-667)
2026-05-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-r8hv-j9g9-64g6
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Trigger container or pidns teardown with orphan processes
  2. Delivery
    Orphaned tasks reparented to PID 1 (reaper) during namespace cleanup
  3. Exploit
    PID 1 or container runtime calls rmdir(2) on cgroup directory
  4. Execution
    cgroup_drain_dying() blocks reaper in TASK_UNINTERRUPTIBLE
  5. Persist
    Orphaned dying tasks cannot vacate cset (reaper is blocked)
  6. Impact
    A-A deadlock: system hangs unrecoverably

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

The deadlock requires all of the following conditions to be simultaneously true at the time of the rmdir(2) call: (1) the calling process is the designated reaper (e.g., PID 1 / systemd, or a subreaper set via prctl PR_SET_CHILD_SUBREAPER) for zombie processes, (2) those zombie processes are actively pinning a PID namespace teardown, (3) the calling process invokes rmdir(2) on a cgroup directory while dying tasks past exit_signals() remain linked to that cgroup's csets (the post-exit window created by commit d245698d727a), and (4) the kernel version includes commit 1b164b876c36 (v7.0+) but not the fix commits. What limits exploitation: the triggering scenario is not remotely reachable (AV:L); it requires a specific and narrow process-lifecycle race that does not occur in typical workloads without concurrent container/namespace teardown activity; it is not intentionally triggerable by an unprivileged user without control over the container or namespace lifecycle; and kernels prior to v7.0 are unaffected. The CVSS PR:L indicates low-privilege involvement, reflecting that delegated cgroup v2 hierarchies can be managed by non-root users, but in practice the most exposed component is systemd/PID 1 operating at high privilege.

Impact

The NVD CVSS 3.1 score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately captures the local-only nature and availability-only impact, though the AC:L choice is debatable - the triggering condition requires a specific and uncommon alignment of pidns teardown, zombie reaping, and cgroup rmdir occurring in the same process simultaneously, which this analysis treats as AC:H (see assessed vector). EPSS at 0.02% (5th percentile) strongly corroborates low real-world exploitation probability. The vulnerability is not in CISA KEV and no public proof-of-concept has been identified. Despite these low-risk signals, the impact when triggered is severe: a full, unrecoverable system hang. The highest realistic risk falls on container-heavy workloads running affected kernel versions where systemd or a container runtime routinely performs cgroup cleanup during namespace teardown - these are the conditions most likely to hit the race. The 'Information Disclosure' tag present in the metadata is inconsistent with the CVSS vector (C:N) and the CVE description, which describes no confidentiality impact whatsoever; this tag appears to be a metadata artifact and should be disregarded for risk decisions.

Exploit ScenarioDerived

On a system running Linux kernel 7.0.0-7.0.8 or 7.1-rc1/rc2, a container runtime or systemd (PID 1) initiates teardown of a container whose orphaned child processes are reparented to PID 1 during PID namespace destruction. Simultaneously, PID 1 calls rmdir(2) on the container's cgroup directory; the kernel's cgroup_drain_dying() blocks PID 1 in TASK_UNINTERRUPTIBLE awaiting the orphaned tasks to vacate the cset, but those tasks cannot complete their final context switch because PID 1 - their reaper - is itself blocked. The system enters an unrecoverable A-A deadlock, hanging all processes and requiring a hard reboot. No public proof-of-concept exploit code is known to exist.

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

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

Alert me

AnalysisAIv1 – Jun 11, 2026

An A-A (same-task) deadlock in the Linux kernel cgroup rmdir path (versions 7.0 through 7.1-rc2 and 6.19.x) can permanently hang the entire system, requiring a hard reboot. When a process acting as both a PID namespace zombie reaper (e.g., systemd/PID 1) and the cgroup rmdir(2) caller encounters dying tasks still linked to cgroup csets, the kernel blocks the reaper indefinitely in TASK_UNINTERRUPTIBLE, creating a circular dependency from which the system cannot recover. No public exploit has been identified at time of analysis, EPSS exploitation probability is extremely low (0.02%), and no CISA KEV listing exists - consistent with the scenario's narrow, operationally specific triggering conditions.

RemediationAI

Upgrade to Linux kernel 7.0.9 or 7.1-rc3 (or any later stable release), which contain the fix deferring CSS percpu_ref kill until after cgroup depopulation. For the 6.x branch, upgrade to 6.20 or beyond. The upstream fix commits are 33fa2e6b1507a0a377a151a8826438bedad1d0b0 and 93618edf753838a727dbff63c7c291dee22d656b, accessible at https://git.kernel.org/stable/c/33fa2e6b1507a0a377a151a8826438bedad1d0b0 and https://git.kernel.org/stable/c/93618edf753838a727dbff63c7c291dee22d656b. For systems that cannot be patched immediately, the most effective compensating control is to ensure container runtimes (Docker, containerd, systemd-nspawn) fully complete PID namespace teardown and zombie reaping before issuing cgroup rmdir operations - most modern runtimes already attempt this ordering, but verifying runtime configuration and sequencing in orchestration teardown logic (e.g., Kubernetes pod termination hooks) can reduce exposure. There is no kernel configuration toggle to disable the affected code path; patching is the only definitive fix. Trade-off of the workaround: it requires operational discipline at the container lifecycle layer and cannot fully eliminate the race on systems with complex PID namespace inheritance patterns.

Affected VersionsENISA

Linux 78c72bce4a87819126211c0d24e18350010604fb
Linux 1b164b876c36c3eb5561dd9b37702b04401b0166 <33fa2e6b1507a0a377a151a8826438bedad1d0b0
Linux patch: 7.0.9
Linux patch: 7.1-rc3
Linux 6.19.12 <6.20
Linux 7.0
Linux 1b164b876c36c3eb5561dd9b37702b04401b0166 <93618edf753838a727dbff63c7c291dee22d656b
Linux patch: 0

Affected Packages

euvd linux fix: 6.20

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 Linux kernel cgroup v2 subsystem (CPE: cpe:2.3:o:linux:linux_kernel:7.0:-:*:*:*:*:*:*) manages resource control groups via cgroup subsystem states (CSS). The root cause (CWE-667: Improper Locking) is a synchronization dependency introduced by commit 1b164b876c36 ('cgroup: Wait for dying tasks to leave on rmdir'), which inserted a TASK_UNINTERRUPTIBLE wait in the rmdir(2) path via cgroup_drain_dying(). That wait was meant to ensure ->css_offline() (triggered by percpu_ref_kill_and_confirm() on the CSS's percpu_ref) did not fire while tasks were still doing kernel-side work inside the cgroup - a controller invariant established by commit d245698d727a, which moved task cset unlink from do_exit() to finish_task_switch(), creating a post-exit_signals() window where dying tasks remain on cset->tasks. The flaw: the process calling rmdir may itself be the designated reaper for zombies pinning a PID namespace teardown. Those zombies cannot complete their final context switch (and vacate the cset) because their reaper is blocked in the cgroup_drain_dying() wait - producing an A-A deadlock. The fix defers the percpu_ref kill chain launch until after the cgroup is fully drained, making ->css_offline() asynchronous via css_killed_work_fn() and eliminating the blocking dependency from rmdir's hot path.

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 chosen over NVD's AC:L because triggering requires the rare coincidence of the rmdir caller being the active zombie reaper during concurrent pidns teardown; no confidentiality or integrity impact applies.

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 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

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
Jun 11, 2026 - 18:37 NVD
5.5 (MEDIUM)
Patch available
May 28, 2026 - 12:01 EUVD
CVE Published
May 28, 2026 - 10:16 nvd
MEDIUM 5.5
CVE Published
May 28, 2026 - 10:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

cgroup: Defer css percpu_ref kill on rmdir until cgroup is depopulated

A chain of commits going back to v7.0 reworked rmdir to satisfy the controller invariant that a subsystem's ->css_offline() must not run while tasks are still doing kernel-side work in the cgroup.

[1] d245698d727a ("cgroup: Defer task cgroup unlink until after the task is done switching out") [2] a72f73c4dd9b ("cgroup: Don't expose dead tasks in cgroup") [3] 1b164b876c36 ("cgroup: Wait for dying tasks to leave on rmdir") [4] 4c56a8ac6869 ("cgroup: Fix cgroup_drain_dying() testing the wrong condition") [5] 13e786b64bd3 ("cgroup: Increment nr_dying_subsys_* from rmdir context")

[1] moved task cset unlink from do_exit() to finish_task_switch() so a task's cset link drops only after the task has fully stopped scheduling. That made tasks past exit_signals() linger on cset->tasks until their final context switch, which led to a series of problems as what userspace expected to see after rmdir diverged from what the kernel needs to wait for. [2]-[5] tried to bridge that divergence: [2] filtered the exiting tasks from cgroup.procs; [3] had rmdir(2) sleep in TASK_UNINTERRUPTIBLE for them; [4] fixed the wait's condition; [5] made nr_dying_subsys_* visible synchronously.

The cgroup_drain_dying() wait in [3] turned out to be a dead end. When the rmdir caller is also the reaper of a zombie that pins a pidns teardown (e.g. host PID 1 systemd reaping orphan pids that were re-parented to it during the same teardown), rmdir blocks in TASK_UNINTERRUPTIBLE waiting for those pids to free, the pids can't free because PID 1 is the reaper and it's stuck in rmdir, and the system A-A deadlocks. No internal lock ordering breaks this; the wait itself is the bug.

The css killing side that drove the original reorder, however, can be made cleanly asynchronous: ->css_offline() is already async, run from css_killed_work_fn() driven by percpu_ref_kill_and_confirm(). The fix is to make that chain start only after all tasks have left the cgroup. rmdir's user-visible side then returns as soon as cgroup.procs and friends are empty, while ->css_offline() still runs only after the cgroup is fully drained.

Verified by the original reproducer (pidns teardown + zombie reaper, runs under vng) which hangs vanilla and succeeds here, and by per-commit deterministic repros for [2], [3], [4], [5] with a boot parameter that widens the post-exit_signals() window so each state is reliably reachable. Some stress tests on top of that.

cgroup_apply_control_disable() has the same shape of pre-existing race: when a controller is disabled via subtree_control, kill_css() ran synchronously while tasks past exit_signals() could still be linked to the cgroup's csets, and ->css_offline() could fire before they drained. This patch preserves the existing synchronous behavior at that call site (kill_css_sync() + kill_css_finish() back-to-back) and a follow-up patch will defer kill_css_finish() there using a per-css trigger.

This seems like the right approach and I don't see problems with it. The changes are somewhat invasive but not excessively so, so backporting to -stable should be okay. If something does turn out to be wrong, the fallback is to revert the entire chain ([1]-[5]) and rework in the development branch instead.

v2: Pin cgrp across the deferred destroy work with explicit cgroup_get()/cgroup_put() around queue_work() and the work_fn. v1 wasn't actually broken (ordered cgroup_offline_wq + queue_work order in cgroup_task_dead() saved it) but the explicit ref removes the dependency on those non-obvious invariants. Also note the pre-existing cgroup_apply_control_disable() race in the description; a follow-up will defer kill_css_finish() there.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
4 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.0%
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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
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