CVE Database›Document archive›CVE-2023-53130

CVE-2023-53130

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

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 2, 2025

Updated · June 30, 2026

Description

[REJECTED CVE] 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().

Statement

This CVE has been rejected upstream: https://lore.kernel.org/linux-cve-announce/2025050838-REJECTED-a90f@gregkh/

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE not specified