# CVE-2022-48638: cgroup: cgroup_get_from_id() must check the looked-up kn is a directory

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2024-04-28T12:59:37.596Z
- Modified: 2026-06-17T05:15:47.450Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6b658c4863c15936872a93c9ee879043bf6393c9 before 8484a356cee8ce3d6a8e6266ff99be326e9273ad; from 6b658c4863c15936872a93c9ee879043bf6393c9 before 1e9571887f97b17cf3ffe9aa4da89090ea60988b; from 6b658c4863c15936872a93c9ee879043bf6393c9 before df02452f3df069a59bc9e69c84435bf115cb6e37; 5.14 (not affected: before 5.14; from 5.15.72 up to 5.15.*; from 5.19.12 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.14 before 5.15.72; from 5.16 before 5.19.12; 6.0

## References

- <https://git.kernel.org/stable/c/8484a356cee8ce3d6a8e6266ff99be326e9273ad> (patch)
- <https://git.kernel.org/stable/c/1e9571887f97b17cf3ffe9aa4da89090ea60988b> (patch)
- <https://git.kernel.org/stable/c/df02452f3df069a59bc9e69c84435bf115cb6e37> (patch)

## Sources

- CVE List: [CVE-2022-48638](https://www.cve.org/CVERecord?id=CVE-2022-48638), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48638](https://nvd.nist.gov/vuln/detail/CVE-2022-48638), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48638 · Whole record: https://cve.day/CVE-2022-48638.json · Rebuilt by cve.day 2026-11-25T22:58:19.777Z
