CVE-2024-47686 ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()
An off-by-one error in the Linux kernel ep93xx clock driver allows out-of-bounds reads, potentially leading to information disclosure or system crashes.
- 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-47686?
CVE-2024-47686 is a high-severity vulnerability in Linux kernel, published on 21 Oct 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:
ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()
The psc->div[] array has psc->num_div elements. These values come from when we call clk_hw_register_div(). It's adc_divisors and ARRAY_SIZE(adc_divisors)) and so on. So this condition needs to be >= instead of > to prevent an out of bounds read.
Weakness: CWE-193
Which versions are affected by CVE-2024-47686?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-47686?
Apply the vendor's patch.
Is CVE-2024-47686 being exploited?
There is no known exploitation of CVE-2024-47686 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-50969, BELL-CVE-2024-47686, DEBIAN-CVE-2024-47686, GHSA-vvmc-4gqr-h5j4, UBUNTU-CVE-2024-47686.