What’s Vulnerable › Vulnerabilities
CVE-2024-35859: block: fix module reference leakage from bdev_open_by_dev error path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-17 · updated 2026-06-17
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.
Affected products
- Linux kernel: from 6.8 before 6.8.9; 6.9-rc1, 6.9-rc2, 6.9-rc3, 6.9-rc4, 6.9-rc5 — fixed in 6.8.9
How to fix
Upgrade to a fixed version: Linux kernel 6.8.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0e9327c67410b129bf85e5c3a5aaea518328636f
- https://git.kernel.org/stable/c/9617cd6f24b294552a817f80f5225431ef67b540
- https://git.kernel.org/stable/c/0e9327c67410b129bf85e5c3a5aaea518328636f
- https://git.kernel.org/stable/c/9617cd6f24b294552a817f80f5225431ef67b540
Get alerted when CVE-2024-35859 or the next vulnerability affects your stack