All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21745

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-20

Description

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().

A flaw was found in the Linux kernel's block control group (blk-cgroup) subsystem. When iterating over block devices while gathering root input/output (I/O) statistics, the kernel fails to properly release device iterator references, resulting in a reference count leak. A local authenticated attacker can exploit this issue by repeatedly querying root block performance metrics, potentially causing resource exhaustion and a Denial of Service (DoS).