Linux cgroups v1 release_agent privilege escalation
A kernel handler writes an attacker-supplied path into a setting the kernel later executes as full root, but never checks that the caller holds the capability to set it, so an unprivileged namespace can escape to host root.
- Product
- Linux kernel (cgroups v1, kernel/cgroup/cgroup-v1.c)
- Vendor
- Linux
- Affected
- Linux kernel < 5.17-rc3 (the release_agent handler has lacked the check since cgroups v1, ~2.6.24)
- Fixed in
- 5.17-rc3 (stable backports: 5.16.6, 5.15.20, 5.10.97, 5.4.177, 4.19.229, 4.14.266, 4.9.301)
- Weakness
- CWE-862
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 3 Mar 2022
Classified as
References
Related CVEs
- CVE-2026-46300high 7.82026
Fragnesia: Linux shared-fragment marker loss
Socket-buffer coalescing can transfer page-backed fragment descriptors without their shared marker, causing later ESP processing to decrypt shared data in place.
- CVE-2024-1086high 7.82024
Linux nf_tables double-free via unvalidated verdict (CVE-2024-1086)
A packet-verdict validator checks only the masked action bits, so a DROP verdict carrying a positive error field slips through; the drop path then frees the packet and returns that positive value as an accept, freeing it a second time.
- CVE-2023-3269high 7.82023
StackRot: maple-tree VMA node freed under the read lock
During stack expansion the kernel replaces a node in the RCU-safe VMA tree and frees the old node, while holding only the shared read lock, so a concurrent read-lock-only lookup can dereference the freed node.
- CVE-2022-0847high 7.82022
Dirty Pipe: uninitialized pipe-buffer flag overwrites read-only pages
A newly populated pipe buffer never resets its flags field, so a stale merge flag lets a later write land directly in a read-only file's page cache.