PoC Monitor
← All CVEs
CVE-2025-22067published 16 Apr 2025 14:12 UTCData: JSON · API

Linux

spi: cadence: Fix out-of-bounds array access in cdns_mrvl_xspi_setup_clock()

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CISA ADP · CWE-129
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 26d34fdc49712ddbd42b11102f5d9d78a0f42097, < e50781bf7accc75883cb8a6a9921fb4e2fa8cca4
  • >= 26d34fdc49712ddbd42b11102f5d9d78a0f42097, < c1fb84e274cb6a2bce6ba5e65116c06e0b3ab275
  • >= 26d34fdc49712ddbd42b11102f5d9d78a0f42097, < 645f1813fe0dc96381c36b834131e643b798fd73
  • >= 26d34fdc49712ddbd42b11102f5d9d78a0f42097, < 7ba0847fa1c22e7801cebfe5f7b75aee4fae317e

Fixed in e50781bf7accc75883cb8a6a9921fb4e2fa8cca4, c1fb84e274cb6a2bce6ba5e65116c06e0b3ab275, 645f1813fe0dc96381c36b834131e643b798fd73, 7ba0847fa1c22e7801cebfe5f7b75aee4fae317e

Linux Linux
  • 6.12

Fixed in 0, 6.12.23, 6.13.11, 6.14.2, 6.15

Mitigation

Upgrade Linux to e50781bf7accc75883cb8a6a9921fb4e2fa8cca4 or c1fb84e274cb6a2bce6ba5e65116c06e0b3ab275 or 645f1813fe0dc96381c36b834131e643b798fd73 or 7ba0847fa1c22e7801cebfe5f7b75aee4fae317e or later.

Upgrade Linux to 0 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.