CVE-2026-52991: Use-after-free in Linux kernel cgroup PSI pressure writes
- Vendor
- Linux
CVE-2026-52991 is a race condition in the Linux kernel cgroup pressure stall information (PSI) implementation. The pressure_write() function accesses the private context referenced by struct kernfs_open_file without holding cgroup_mutex throughout its use. Concurrent cgroup removal can invoke cgroup_file_release(), freeing that context and clearing the pointer while pressure_write() retains a stale reference, resulting in a use-after-free. A related race occurs when cgroup pressure monitoring is disabled while a pressure write waits to acquire cgroup_mutex, allowing the private context to become NULL before it is dereferenced. Both conditions can cause a kernel crash and denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Concurrent pressure writes and cgroup file release can trigger invalid kernel-memory accesses, including a demonstrated slab use-after-free and a related NULL-pointer dereference. These faults can cause a kernel crash and system-wide denial of service. Arbitrary code execution, privilege escalation, and information disclosure are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific temporary workaround is documented. Pending patch deployment, restricting untrusted local access and permissions to write cgroup PSI controls, remove cgroups, or disable cgroup pressure monitoring can reduce exposure to the required concurrent operations.
Remediation
Patch, then assume compromise.
Apply an upstream Linux kernel fix or the applicable distribution kernel security update containing it, then reboot into the corrected kernel. The fix extends cgroup_mutex protection across all pressure_write() operations involving the private context, retrieves the context only after acquiring the live kernfs-node lock, and checks whether the context is NULL before accessing it. Redundant explicit cgroup reference-count operations are removed because the live-node locking operations already manage those references. Fixed versions vary by distribution and kernel stream.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-52991 exploited in the wild?
- As of Nov 26, 2026, Mallory has no reports of CVE-2026-52991 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-52991?
- As of Nov 26, 2026, Mallory has found no public exploit for CVE-2026-52991.
- Is there a patch for CVE-2026-52991?
- Apply an upstream Linux kernel fix or the applicable distribution kernel security update containing it, then reboot into the corrected kernel. The fix extends cgroup_mutex protection across all pressure_write() operations involving the private context, retrieves the context only after acquiring the live kernfs-node lock, and checks whether the context is NULL before accessing it.
- What products are affected by CVE-2026-52991?
- Linux Kernel.
- How severe is CVE-2026-52991?
- CVE-2026-52991 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 0.15% (2nd percentile) as of Nov 26, 2026.
Recent activity
35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.