CVE-2026-46223
Use-After-Free in Linux Kernel cgroup Subsystem
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux_kernel | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves the Linux kernel's cgroup subsystem, specifically how the kernel handles the removal of cgroups (rmdir). A series of changes were made to defer the killing of per-CPU references (css percpu_ref) until the cgroup is fully depopulated, meaning all tasks have left the cgroup.
Previously, the kernel tried to synchronously kill cgroup references while tasks might still be linked to the cgroup, which could cause deadlocks. For example, if the process removing the cgroup was also the reaper of zombie processes, it could block indefinitely waiting for those processes to free, causing a system deadlock.
The fix defers the asynchronous cleanup (css_offline) until after all tasks have left the cgroup, allowing rmdir to return as soon as the cgroup appears empty to userspace, while the actual cleanup happens asynchronously afterward. This avoids the deadlock scenario and aligns kernel behavior with userspace expectations.
How can this vulnerability impact me? :
This vulnerability can cause a system deadlock in Linux environments using cgroups. Specifically, if a process responsible for cleaning up cgroups is also the reaper of zombie processes, the system can hang indefinitely during cgroup removal.
Such a deadlock can lead to system instability, unresponsiveness, or crashes, impacting availability and reliability of services running on the affected Linux system.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided CVE description does not include any information regarding the impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability has been resolved by deferring the css percpu_ref kill on rmdir until the cgroup is fully depopulated, preventing deadlocks caused by waiting on tasks that cannot exit.
Immediate mitigation steps include updating the Linux kernel to a version that includes the fixes described in the chain of commits [1]-[5], which rework the rmdir behavior and defer the css_offline() execution until all tasks have left the cgroup.
Backporting these fixes to stable kernel versions is considered safe and recommended to avoid the deadlock scenario.