# CVE-2024-35859: block: fix module reference leakage from bdev_open_by_dev error path

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-17T14:47:34.057Z
- Modified: 2026-06-17T07:35:34.577Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ed5cc702d311c14b653323d76062b0294effa66e before 0e9327c67410b129bf85e5c3a5aaea518328636f; from ed5cc702d311c14b653323d76062b0294effa66e before 9617cd6f24b294552a817f80f5225431ef67b540; 6.8 (not affected: before 6.8; from 6.8.9 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.8 before 6.8.9; 6.9

## References

- <https://git.kernel.org/stable/c/0e9327c67410b129bf85e5c3a5aaea518328636f> (patch)
- <https://git.kernel.org/stable/c/9617cd6f24b294552a817f80f5225431ef67b540> (patch)

## Sources

- CVE List: [CVE-2024-35859](https://www.cve.org/CVERecord?id=CVE-2024-35859), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-35859](https://nvd.nist.gov/vuln/detail/CVE-2024-35859), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35859 · Whole record: https://cve.day/CVE-2024-35859.json · Rebuilt by cve.day 2026-11-25T22:58:40.549Z
