# CVE-2022-49786: blk-cgroup: properly pin the parent in blkcg_css_online

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.17%, higher than 7% of CVEs (2026-12-02)
- Published: 2025-05-01T14:09:18.954Z
- Modified: 2026-11-05T20:17:11.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:

blk-cgroup: properly pin the parent in blkcg_css_online

blkcg_css_online is supposed to pin the blkcg of the parent, but
397c9f46ee4d refactored things and along the way, changed it to pin the
css instead.  This results in extra pins, and we end up leaking blkcgs
and cgroups.

(As written by CVE List.)

## Affected

- Linux Linux: from 397c9f46ee4d99024c64954b007c1b5762d01cb4 before d118247e404d6338f7b90636a3c6b95a387ed163; from 397c9f46ee4d99024c64954b007c1b5762d01cb4 before d7dbd43f4a828fa1d9a8614d5b0ac40aee6375fe; 5.19 (not affected: before 5.19; from 6.0.10 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.19 before 6.0.10; 6.1

## References

- <https://git.kernel.org/stable/c/d118247e404d6338f7b90636a3c6b95a387ed163> (patch)
- <https://git.kernel.org/stable/c/d7dbd43f4a828fa1d9a8614d5b0ac40aee6375fe> (patch)

## Sources

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

---

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