Technical impact
The ljca_spi_read_write() function in the Linux kernel validates the packet header only, then trusts the payload length reported by an SPI adapter. Because that length is not limited by either the actual number of received bytes or the size of the caller’s transfer request, an adapter that advertises a larger payload can cause the kernel to copy data past the end of a 60‑byte input buffer and overwrite memory beyond the caller’s transfer buffer. This unchecked memory overwrite can lead to kernel crashes or arbitrary code execution with elevated privileges.
Affected Systems
The vulnerability exists in the Linux kernel’s SPI LJC driver. All Linux kernel releases prior to the inclusion of the fix are affected. The specific kernel version range is not listed in the data, so any system running a kernel that still contains the unfixed ljca_spi_read_write() implementation is at risk.
Risk and Exploitability
No EPSS score is provided, and the vulnerability is not included in the CISA KEV catalog, indicating a low publicly documented exploitation probability. Nonetheless, an attacker would need control over or the ability to provide responses from an SPI adapter, making the attack vector device‑local or potentially remote if the adapter is under attacker control. The lack of a CVSS score limits precise severity assessment, but the ability to perform a kernel memory overwrite poses a severe risk if exploited.