Hexret
CVE-2022-0492high 7.8PoC available

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

Practice this CVE, free

Classified as

References

Related CVEs