# CVE-2026-93795: blk-cgroup: fix leaks and online flag on radix_tree_insert failure

- Severity: not scored yet
- 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-01)
- Published: 2026-09-24T16:02:28.654Z
- Modified: 2026-10-03T11:17:49.107Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

blk-cgroup: fix leaks and online flag on radix_tree_insert failure

When radix_tree_insert() fails in blkg_create(), the error path has two
issues:

1. blkg->online is set to true unconditionally, even when the blkg was
   never fully inserted.  Move the assignment inside the success block.

2. The error path calls blkg_put() without first calling
   percpu_ref_kill().  Because the refcount is still in percpu mode,
   percpu_ref_put() only does this_cpu_sub() without checking for zero,
   so blkg_release() is never triggered.  This permanently leaks the
   blkg memory, its percpu iostat, policy data, the parent blkg
   reference, and the cgroup css reference — the latter preventing the
   cgroup from ever being destroyed.

Fix by replacing blkg_put() with percpu_ref_kill(), matching the pattern
used in blkg_destroy().

(As written by CVE List.)

## Affected

- Linux Linux: from 7fcf2b033b84e261dca283bc2911aaea4b07b525 before 0f840db042caee9d2f3dcdcf97d6674f6e4c1e30; from 7fcf2b033b84e261dca283bc2911aaea4b07b525 before f53945d7c712efe63fadbcc5ffed6370871fd0d3; from 7fcf2b033b84e261dca283bc2911aaea4b07b525 before ada8270ccdb6f212da5eb22614c28ea418746a4a; from 7fcf2b033b84e261dca283bc2911aaea4b07b525 before c3650be82ef6e7af13b79b2d10a7363bdf54aa7f; from 7fcf2b033b84e261dca283bc2911aaea4b07b525 before 6e85f02d45b5977c0326a8d854c6db878aa6b34a; from 7fcf2b033b84e261dca283bc2911aaea4b07b525 before 4c0d150fb98ea40760611979f4e664c244b20966; from 7fcf2b033b84e261dca283bc2911aaea4b07b525 before dbbca20764382b4d411ec2918f4e278ffe547acc; 5.0 (not affected: before 5.0; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/0f840db042caee9d2f3dcdcf97d6674f6e4c1e30>
- <https://git.kernel.org/stable/c/f53945d7c712efe63fadbcc5ffed6370871fd0d3>
- <https://git.kernel.org/stable/c/ada8270ccdb6f212da5eb22614c28ea418746a4a>
- <https://git.kernel.org/stable/c/c3650be82ef6e7af13b79b2d10a7363bdf54aa7f>
- <https://git.kernel.org/stable/c/6e85f02d45b5977c0326a8d854c6db878aa6b34a>
- <https://git.kernel.org/stable/c/4c0d150fb98ea40760611979f4e664c244b20966>
- <https://git.kernel.org/stable/c/dbbca20764382b4d411ec2918f4e278ffe547acc>

## Sources

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

---

Page: https://cve.day/CVE-2026-93795 · Whole record: https://cve.day/CVE-2026-93795.json · Rebuilt by cve.day 2026-11-25T22:59:40.829Z
