CVE-2026-100061: spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

spi: bcm-qspi: reject oversized dummy bytes in mspi execmemop

bcmqspimspiexecmemop() builds a local command buffer cmd[6] holding one opcode byte, up to four address bytes and one spare byte, and sets t[0].len = op->addr.nbytes + op->dummy.nbytes + 1. bcmqspiexecmemop() only validates op->addr.nbytes <= 4 and never bounds op->dummy.nbytes, which spimemcheckop() also leaves unrestricted. With addr.nbytes = 4 and dummy.nbytes >= 2 the length becomes 7 or more, so writetohw() reads past cmd[] on the kernel stack and pushes the leaked bytes into the hardware TXRAM.

Reject operations whose dummy phase does not fit the remaining byte of cmd[] by requiring op->dummy.nbytes <= 1, so such transfers fall back to the generic SPI path instead of overrunning the buffer.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the bcm-qspi MSPI memory-operation path, require op->dummy.nbytes <= 1 so transfers with oversized dummy bytes fall back to the generic SPI path.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description

Frequently Asked Questions

1

Which SPI memory operations can trigger the out-of-bounds read?

The affected MSPI execution path is triggered when the command length, calculated as one opcode byte plus address bytes plus dummy bytes, exceeds the six-byte local command buffer. The described case is a four-byte address with two or more dummy bytes, which causes a command length of at least seven bytes.

2

How can I determine whether my workload is exposed?

Review SPI memory operations handled by bcm_qspi_mspi_exec_mem_op() for dummy phases larger than the space available in its command buffer. In particular, operations using a four-byte address and at least two dummy bytes reach the vulnerable condition.

3

What can be done if the fix cannot be applied immediately?

Avoid issuing affected operations through this path, especially operations with four address bytes and two or more dummy bytes. The fix rejects dummy phases greater than one byte for this MSPI path, causing those transfers to use the generic SPI path instead.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203