CVE-2025-21745: Linux kernel · blk-cgroup: Fix class @block_class's subsystem refcount leakage
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.15.0-1084.91~20.04.1 : update Linux kernel when convenient.
Data as of 30 Oct 2026, 23:13 UTC
- Patch
- Available – fixed in 5.15.0-1084.91~20.04.1, 5.15.0-1089.98~20.04.1, 5.15.0-1083.92~20.04.1 +62
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7510-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7512-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-6 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and included in multiple fixed Linux kernel versions (e.g., 5.15.0-1084.91~20.04.1 and later). Users should apply the official kernel updates from their distribution vendors and reboot systems to complete remediation. No additional mitigation is required beyond applying the vendor-provided fixes.
Description
A vulnerability in the Linux kernel's block control group (blk-cgroup) subsystem caused a subsystem reference count leak due to improper iteration termination in the blkcg_fill_root_iostats() function. This flaw was fixed by ensuring the iteration ends correctly with class_dev_iter_exit(). The issue affects multiple Linux kernel versions prior to the fixed releases. The vulnerability has a medium severity rating with a CVSS score of 5.5 and does not have known exploits in the wild. A patch is available and included in various updated Linux kernel versions.
References
- ubuntu.com/security/CVE-2025-21745 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21745 (opens in a new tab)
- git.kernel.org/linus/d1248436cbef1f924c04255367ff4845ccd9025e (opens in a new tab)
- git.kernel.org/stable/c/2ce09aabe009453d641a2ceb79e6461a2d4f3876 (opens in a new tab)
- git.kernel.org/stable/c/431b6ef2714be4d5babb802114987541a88b43b0 (opens in a new tab)
- git.kernel.org/stable/c/67c7f213e052b1aa6caba4a7e25e303bc6997126 (opens in a new tab)
- git.kernel.org/stable/c/993121481b5a87829f1e8163f47158b72679f309 (opens in a new tab)
- git.kernel.org/stable/c/d1248436cbef1f924c04255367ff4845ccd9025e (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7512-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-6 (opens in a new tab)