CVE-2024-35859Published May 17, 2024 · May 17Updated Oct 28
block: fix module reference leakage from bdev_open_by_dev error path
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel can leak a module reference when bdev_may_open() fails during a block device open. The issue was found by code review; the input does not describe an attacker action or specify access or interaction requirements.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.