CVE-2024-35859

block: fix module reference leakage from bdev_open_by_dev error path

State
Published
Severity
5.5 Medium
Published
May 17, 2024
Updated
May 11, 2026
Reserved
May 17, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

block: fix module reference leakage from bdev_open_by_dev error path

At the time bdev_may_open() is called, module reference is grabbed already, hence module reference should be released if bdev_may_open() failed.

This problem is found by code review.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ed5cc702d311c14b653323d76062b0294effa66e to before 0e9327c67410b129bf85e5c3a5aaea518328636fAffected
  • ed5cc702d311c14b653323d76062b0294effa66e to before 9617cd6f24b294552a817f80f5225431ef67b540Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.8.9 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.