Vulnerabilities · 2025 · Linux
CVE-2025-21745
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/2ce09aabe009453d641a2ceb79e6461a2d4f3876 · Patch
- git.kernel.org/stable/c/431b6ef2714be4d5babb802114987541a88b43b0 · Patch
- git.kernel.org/stable/c/67c7f213e052b1aa6caba4a7e25e303bc6997126 · Patch
- git.kernel.org/stable/c/993121481b5a87829f1e8163f47158b72679f309 · Patch
- git.kernel.org/stable/c/d1248436cbef1f924c04255367ff4845ccd9025e · Patch
- git.kernel.org/stable/c/38287f779b34dfe959b4b681e909f2d3d52b88be
- git.kernel.org/stable/c/ffb494f1e7a047bd7a41b13796fcfb08fe5beafb
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- nvd.nist.gov/vuln/detail/CVE-2025-21745
- cve.org/CVERecord?id=CVE-2025-21745
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.