Bug 2363738 (CVE-2023-53130) - CVE-2023-53130 kernel: block: fix wrong mode for blkdev_put() from disk_scan_partitions()
Summary: CVE-2023-53130 kernel: block: fix wrong mode for blkdev_put() from disk_scan_...
Keywords:
Status: NEW
Alias: CVE-2023-53130
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-05-02 16:03 UTC by OSIDB Bzimport
Modified: 2025-05-13 07:19 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-02 16:03:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

block: fix wrong mode for blkdev_put() from disk_scan_partitions()

If disk_scan_partitions() is called with 'FMODE_EXCL',
blkdev_get_by_dev() will be called without 'FMODE_EXCL', however, follow
blkdev_put() is still called with 'FMODE_EXCL', which will cause
'bd_holders' counter to leak.

Fix the problem by using the right mode for blkdev_put().

Comment 1 Avinash Hanwate 2025-05-05 06:18:45 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050234-CVE-2023-53130-015e@gregkh/T

Comment 4 TEJ RATHI 2025-05-13 07:19:17 UTC
This CVE has been rejected upstream: https://lore.kernel.org/linux-cve-announce/2025050838-REJECTED-a90f@gregkh/


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