# blk-cgroup: Fix class @block_class's subsystem refcount leakage

CVE record · `CVE-2025-21745`

- **Identifiers:** `CVE-2025-21745`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Feb 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Feb 2025, 02:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `ef45fe470e1e5410db4af87abc5d5055427945ac to before ffb494f1e7a047bd7a41b13796fcfb08fe5beafb` (git)
  - affected: `ef45fe470e1e5410db4af87abc5d5055427945ac to before 38287f779b34dfe959b4b681e909f2d3d52b88be` (git)
  - affected: `ef45fe470e1e5410db4af87abc5d5055427945ac to before 431b6ef2714be4d5babb802114987541a88b43b0` (git)
  - affected: `ef45fe470e1e5410db4af87abc5d5055427945ac to before 993121481b5a87829f1e8163f47158b72679f309` (git)
  - affected: `ef45fe470e1e5410db4af87abc5d5055427945ac to before 2ce09aabe009453d641a2ceb79e6461a2d4f3876` (git)
  - affected: `ef45fe470e1e5410db4af87abc5d5055427945ac to before 67c7f213e052b1aa6caba4a7e25e303bc6997126` (git)
  - affected: `ef45fe470e1e5410db4af87abc5d5055427945ac to before d1248436cbef1f924c04255367ff4845ccd9025e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.9`
  - unaffected: `before 5.9` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.78 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.14 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.3 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel versions from commit ef45fe470e1e5410db4af87abc5d5055427945ac (5.9) onward, before the listed fixes, have a reference leak in the block cgroup code: blkcg_fill_root_iostats() iterates over block devices without ending the iteration, leaking a reference on the block class's subsystem. The source gives few details about the impact or how it can be triggered. The fix is to upgrade to a fixed kernel release, such as 5.10.235, 5.15.179, 6.1.129, or 6.6.78 or later in their respective series, or a mainline version containing the fix. No workaround is listed.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0027, the 19th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Feb 2025, 02:12 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-21745)
- 27 Feb 2025, 03:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-21745)

## Sources

- [CVE List: CVE-2025-21745](https://www.cve.org/CVERecord?id=CVE-2025-21745)
- [NVD: CVE-2025-21745](https://nvd.nist.gov/vuln/detail/CVE-2025-21745)

### References from the CNA

- <https://git.kernel.org/stable/c/ffb494f1e7a047bd7a41b13796fcfb08fe5beafb>
- <https://git.kernel.org/stable/c/38287f779b34dfe959b4b681e909f2d3d52b88be>
- <https://git.kernel.org/stable/c/431b6ef2714be4d5babb802114987541a88b43b0>
- <https://git.kernel.org/stable/c/993121481b5a87829f1e8163f47158b72679f309>
- <https://git.kernel.org/stable/c/2ce09aabe009453d641a2ceb79e6461a2d4f3876>
- <https://git.kernel.org/stable/c/67c7f213e052b1aa6caba4a7e25e303bc6997126>
- <https://git.kernel.org/stable/c/d1248436cbef1f924c04255367ff4845ccd9025e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-21745>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-21745/>. Everything for agents: <https://agentprime.io/llms.txt>.
