CVE-2026-100061
spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op
Description
In the Linux kernel, the following vulnerability has been resolved: spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op bcm_qspi_mspi_exec_mem_op() 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. bcm_qspi_exec_mem_op() only validates op->addr.nbytes <= 4 and never bounds op->dummy.nbytes, which spi_mem_check_op() also leaves unrestricted. With addr.nbytes = 4 and dummy.nbytes >= 2 the length becomes 7 or more, so write_to_hw() 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.
INFO
Published Date :
Nov. 30, 2026, 2:17 p.m.
Last Modified :
Nov. 30, 2026, 2:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the kernel patch for bcm-qspi: reject oversized dummy bytes.
- Ensure dummy.nbytes does not exceed 1.
- Fallback to generic SPI path for unsupported transfers.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-100061.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-100061 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-100061
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-100061 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-100061 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op bcm_qspi_mspi_exec_mem_op() 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. bcm_qspi_exec_mem_op() only validates op->addr.nbytes <= 4 and never bounds op->dummy.nbytes, which spi_mem_check_op() also leaves unrestricted. With addr.nbytes = 4 and dummy.nbytes >= 2 the length becomes 7 or more, so write_to_hw() 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/100xxx/CVE-2026-100061.json">CVE-2026-100061</a> Added Reference https://git.kernel.org/stable/c/25ce0404c9f72295aef347f6c071cf8378f5b679 Added Reference https://git.kernel.org/stable/c/40bdc484f11538e20636a6ac864fddd013bf353e Added Reference https://git.kernel.org/stable/c/4779e14965a5c193c2053cb3e584f281fb478619 Added Reference https://git.kernel.org/stable/c/67221e6133a92aeabebb1ec4497234643a7b7745 Added Reference https://git.kernel.org/stable/c/7fdfd92092179b3670c401c9083660d308e7d717 Added Reference https://git.kernel.org/stable/c/8fde99eeb07d1f709e3e78bcccf4c7690f7d8e61 Added Reference https://git.kernel.org/stable/c/9e44f0df3fff215d9033089e85980048c3ac132a Added Reference https://git.kernel.org/stable/c/fc3779e2eb7f74faad522919ff0b9822f8803e5b