CVE-2024-35859
Assigner: Linux
Published: 2024-05-17T14:47:34.057Z
State: PUBLISHED
descriptions: value: 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.
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: ed5cc702d311
lessThan: 0e9327c67410
status: affected
versionType: git
version: ed5cc702d311
lessThan: 9617cd6f24b2
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 6.8
status: affected
version: 0
lessThan: 6.8
status: unaffected
versionType: custom
version: 6.8.9
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: block: fix module reference leakage from bdev_open_by_dev error path
x_generator: engine: bippy-d175d3acf727