CVE-2025-21745

published 27 Feb 2025 · updated 12 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.129, Kernel 6.13.3, Kernel 6.6.78 and 10 more.

In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: Fix class @block_class's subsystem refcount leakage blkcg_fill_root_iostats() iterates over @block_class's devices by class_dev_iter_(init|next)(), but does not end iterating with class_dev_iter_exit(), so causes the class's subsystem refcount leakage. Fix by ending the iterating with class_dev_iter_exit().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.9 <6.1.129, >=6.13 <6.13.3, >=6.2 <6.6.78, >=6.7 <6.12.14, >=ef45fe470e1e5410db4af87abc5d5055427945ac <38287f779b34dfe959b4b681e909f2d3d52b88be, >=ef45fe470e1e5410db4af87abc5d5055427945ac <431b6ef2714be4d5babb802114987541a88b43b0, >=ef45fe470e1e5410db4af87abc5d5055427945ac <67c7f213e052b1aa6caba4a7e25e303bc6997126, >=ef45fe470e1e5410db4af87abc5d5055427945ac <993121481b5a87829f1e8163f47158b72679f309, >=ef45fe470e1e5410db4af87abc5d5055427945ac <d1248436cbef1f924c04255367ff4845ccd9025e, >=ef45fe470e1e5410db4af87abc5d5055427945ac <ffb494f1e7a047bd7a41b13796fcfb08fe5beafb, =5.9, >=ef45fe470e1e5410db4af87abc5d5055427945ac <2ce09aabe009453d641a2ceb79e6461a2d4f38766.1.129, 6.13.3, 6.6.78, 6.12.14, 38287f779b34dfe959b4b681e909f2d3d52b88be, 431b6ef2714be4d5babb802114987541a88b43b0, 67c7f213e052b1aa6caba4a7e25e303bc6997126, 993121481b5a87829f1e8163f47158b72679f309, d1248436cbef1f924c04255367ff4845ccd9025e, ffb494f1e7a047bd7a41b13796fcfb08fe5beafb, 2ce09aabe009453d641a2ceb79e6461a2d4f3876
linux-kernel: Kernel>=5.11.0 <5.15.179, >=5.16.0 <6.1.129, >=5.9.0 <5.10.235, >=6.13.0 <6.13.3, >=6.2.0 <6.6.78, >=6.7.0 <6.12.145.15.179, 6.1.129, 5.10.235, 6.13.3, 6.6.78, 6.12.14

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21745 severity on Zeptric[![CVE-2025-21745](https://zeptric.io/badge/cve/CVE-2025-21745.svg)](https://zeptric.io/cve/CVE-2025-21745)