Bug 2348654 (CVE-2025-21745) - CVE-2025-21745 kernel: blk-cgroup: Fix class @block_class's subsystem refcount leakage
Summary: CVE-2025-21745 kernel: blk-cgroup: Fix class @block_class's subsystem refcoun...
Keywords:
Status: NEW
Alias: CVE-2025-21745
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-27 03:06 UTC by OSIDB Bzimport
Modified: 2025-02-27 17:52 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-27 03:06:35 UTC
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().

Comment 1 Mauro Matteo Cascella 2025-02-27 17:39:26 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022600-CVE-2025-21745-19ee@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.