Skip to main content
← All vulnerabilities
CVE-2025-21745

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.235, 5.15.179, 6.1.129, 6.6.78, 6.12.14, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From ef45fe470e1e5410db4af87abc5d5055427945ac · fixed in ffb494f1e7a047bd7a41b13796fcfb08fe5beafb; From ef45fe470e1e5410db4af87abc5d5055427945ac · fixed in 38287f779b34dfe959b4b681e909f2d3d52b88be; From ef45fe470e1e5410db4af87abc5d5055427945ac · fixed in 431b6ef2714be4d5babb802114987541a88b43b0; From ef45fe470e1e5410db4af87abc5d5055427945ac · fixed in 993121481b5a87829f1e8163f47158b72679f309; From ef45fe470e1e5410db4af87abc5d5055427945ac · fixed in 2ce09aabe009453d641a2ceb79e6461a2d4f3876; From ef45fe470e1e5410db4af87abc5d5055427945ac · fixed in 67c7f213e052b1aa6caba4a7e25e303bc6997126; From ef45fe470e1e5410db4af87abc5d5055427945ac · fixed in d1248436cbef1f924c04255367ff4845ccd9025e

  • Linux Linux

    5.9

  • KernelLinux

    From 5.9.0 · fixed in 5.10.235; From 5.11.0 · fixed in 5.15.179; From 5.16.0 · fixed in 6.1.129; From 6.2.0 · fixed in 6.6.78; From 6.7.0 · fixed in 6.12.14; From 6.13.0 · fixed in 6.13.3

References 7

git.kernel.org