CVE-2025-22067
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/04/2025
Last modified:
01/10/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 > 128, cdns_mrvl_xspi_setup_clock() iterates over the<br />
entire cdns_mrvl_xspi_clk_div_list array without breaking out early,<br />
causing &#39;i&#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
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12 (including) | 6.12.23 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.13.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.14 (including) | 6.14.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



