Back

HIGH

ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()

Published Oct 21, 2024

Description

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

Remediation

No remediation recorded yet.

Weaknesses (1)

References (12)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Oct 21, 2024
Updated May 11, 2026
Reserved Sep 30, 2024

CISA Vulnrichment

Updated Oct 21, 2024

NVD

Status Modified
Modified Jun 17, 2026

Red Hat

Severity Moderate
Public date Oct 21, 2024
Bugzilla 2320273

ENISA EUVD

Assigner Linux
Published Oct 21, 2024
Updated May 11, 2026

GitHub

No data