What’s Vulnerable › Vulnerabilities

CVE-2024-47686: ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.113, 6.10.13, 6.11.2, 6.6.54. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-47686 or the next vulnerability affects your stack