Technical impact
An unchecked length of dummy bytes in the bcm_qspi module causes the exec_mem_op routine to build a command buffer that can exceed its 6‑byte limit. When the dummy byte count is two or more, the buffer overrun lets the write_to_hw routine read past the end of the cmd array on the kernel stack, leaking or overwriting data into the hardware TXRAM. This out‑of‑bounds write may allow a local attacker or compromised driver to corrupt kernel memory, potentially leading to privilege escalation or code execution. The vulnerability is a classic stack‑based buffer overflow and is classified under CWE‑120 and CWE‑119.
Affected Systems
All Linux kernel versions that include the bcm_qspi driver prior to the patch that limits op->dummy.nbytes to a maximum of one byte are affected. No specific vendor version range is listed, so any kernel build containing the vulnerable function is susceptible.
Risk and Exploitability
The CVSS score is not provided, but the nature of the overflow suggests a high severity. The EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog, indicating no known widespread exploitation. Nevertheless, the flaw can be triggered by any code that performs SPI operations through the bcm_qspi driver, so the risk remains significant until patched.