CVE-2025-21745Published Feb 27, 2025 · Feb 27Updated Nov 12
blk-cgroup: Fix class @block_class's subsystem refcount leakage
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ef45fe470e1e5410db4af87abc5d5055427945ac · < 67c7f213e052b1aa6caba4a7e25e303bc6997126| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel’s blk-cgroup code leaks a subsystem reference count when it iterates over block devices without ending the iteration. The input does not describe attacker actions or specify access or user-interaction requirements.
Engineers running the Linux kernel should check their versions; affected versions are not specified.