Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-46223

published

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

Published
28 May 2026, 09:40:40 UTC
Updated
14 Jun 2026, 18:03:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1b164b876c36c3eb5561dd9b37702b04401b0166 to < 33fa2e6b1507a0a377a151a8826438bedad1d0b0 · 1b164b876c36c3eb5561dd9b37702b04401b0166 to < 93618edf753838a727dbff63c7c291dee22d656b · 78c72bce4a87819126211c0d24e18350010604fb · 6.19.12 to < 6.20 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.0.9 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-headers-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-buildinfo-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-buildinfo-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-buildinfo-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-buildinfo-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-cloud-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-cloud-tools-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-headers-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-headers-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-headers-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-headers-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-image-unsigned-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-image-unsigned-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-unsigned-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-lib-rust-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-evdi-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-ipu6-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-ipu7-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-iwlwifi-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-usbio-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-vision-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-nvidia-7.0 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-tools-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-tools-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-tools-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-tools-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-28.28 USN-8566-1
Ubuntu resolute linux Advisory build 7.0.0-28.28 USN-8566-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-headers-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1b164b876c36c3eb5561dd9b37702b04401b0166 to < 33fa2e6b1507a0a377a151a8826438bedad1d0b0 (affected · git)1b164b876c36c3eb5561dd9b37702b04401b0166 to < 93618edf753838a727dbff63c7c291dee22d656b (affected · git)78c72bce4a87819126211c0d24e18350010604fb (affected · git)6.19.12 to < 6.20 (affected · semver)Default: unaffected Linux · cna
Linux Linux 7.0 (affected)0 to < 7.0 (unaffected · semver)7.0.9 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
b705d039ce06bb09d0dab3cc98e1df4e389bd8bd32b793b239b7794dfe7a5707
Ingested
23 Sep 2026, 09:16:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected