CVE-2024-35813 mmc: core: Avoid negative index with array access
A missing bounds check in the Linux kernel MMC core allows negative array indexing, potentially causing a system crash or 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-35813?
CVE-2024-35813 is a high-severity vulnerability in Debian Debian Linux, 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:
mmc: core: Avoid negative index with array access
Commit 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu") assigns prev_idata = idatas[i - 1], but doesn't check that the iterator i is greater than zero. Let's fix this by adding a check.
Which versions are affected by CVE-2024-35813?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-35813?
Apply the vendor's patch.
Is CVE-2024-35813 being exploited?
There is no known exploitation of CVE-2024-35813 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-35813, DEBIAN-CVE-2024-35813, GHSA-67qr-5c5h-vwr4, UBUNTU-CVE-2024-35813.