CVE-2025-22067

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/04/2025
Last modified:
17/04/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> spi: cadence: Fix out-of-bounds array access in cdns_mrvl_xspi_setup_clock()<br /> <br /> If requested_clk &gt; 128, cdns_mrvl_xspi_setup_clock() iterates over the<br /> entire cdns_mrvl_xspi_clk_div_list array without breaking out early,<br /> causing &amp;#39;i&amp;#39; to go beyond the array bounds.<br /> <br /> Fix that by stopping the loop when it gets to the last entry, clamping<br /> the clock to the minimum 6.25 MHz.<br /> <br /> Fixes the following warning with an UBSAN kernel:<br /> <br /> vmlinux.o: warning: objtool: cdns_mrvl_xspi_setup_clock: unexpected end of section .text.cdns_mrvl_xspi_setup_clock

Impact