What’s Vulnerable › Vulnerabilities
CVE-2022-48638: cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-28 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: cgroup: cgroup_get_from_id() must check the looked-up kn is a directory cgroup has to be one kernfs dir, otherwise kernel panic is caused, especially cgroup id is provide from userspace.
Affected products
- Linux kernel: from 5.14 before 5.15.72; from 5.16 before 5.19.12; 6.0-rc1, 6.0-rc2, 6.0-rc3, 6.0-rc4, 6.0-rc5, 6.0-rc6 — fixed in 5.15.72, 5.19.12
How to fix
Upgrade to a fixed version: Linux kernel 5.15.72, 5.19.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1e9571887f97b17cf3ffe9aa4da89090ea60988b
- https://git.kernel.org/stable/c/8484a356cee8ce3d6a8e6266ff99be326e9273ad
- https://git.kernel.org/stable/c/df02452f3df069a59bc9e69c84435bf115cb6e37
- https://git.kernel.org/stable/c/1e9571887f97b17cf3ffe9aa4da89090ea60988b
- https://git.kernel.org/stable/c/8484a356cee8ce3d6a8e6266ff99be326e9273ad
- https://git.kernel.org/stable/c/df02452f3df069a59bc9e69c84435bf115cb6e37
Get alerted when CVE-2022-48638 or the next vulnerability affects your stack