CVE-2024-35859 block: fix module reference leakage from bdev_open_by_dev error path
A module reference leak in the Linux kernel block layer can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-35859?
CVE-2024-35859 is a medium-severity vulnerability in Linux kernel, published on 17 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-35859?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35859?
Apply the vendor's patch.
Is CVE-2024-35859 being exploited?
There is no known exploitation of CVE-2024-35859 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-35859, DEBIAN-CVE-2024-35859, GHSA-76r5-84qj-h2gj, UBUNTU-CVE-2024-35859.