{"id":"CVE-2026-100061","summary":"spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op\n\nbcm_qspi_mspi_exec_mem_op() builds a local command buffer cmd[6]\nholding one opcode byte, up to four address bytes and one spare\nbyte, and sets t[0].len = op-\u003eaddr.nbytes + op-\u003edummy.nbytes + 1.\nbcm_qspi_exec_mem_op() only validates op-\u003eaddr.nbytes \u003c= 4 and never\nbounds op-\u003edummy.nbytes, which spi_mem_check_op() also leaves\nunrestricted. With addr.nbytes = 4 and dummy.nbytes \u003e= 2 the length\nbecomes 7 or more, so write_to_hw() reads past cmd[] on the kernel\nstack and pushes the leaked bytes into the hardware TXRAM.\n\nReject operations whose dummy phase does not fit the remaining byte\nof cmd[] by requiring op-\u003edummy.nbytes \u003c= 1, so such transfers fall\nback to the generic SPI path instead of overrunning the buffer.","modified":"2026-12-01T21:00:29.717442534Z","published":"2026-11-30T13:23:31.447Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100061.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/25ce0404c9f72295aef347f6c071cf8378f5b679"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40bdc484f11538e20636a6ac864fddd013bf353e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4779e14965a5c193c2053cb3e584f281fb478619"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67221e6133a92aeabebb1ec4497234643a7b7745"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7fdfd92092179b3670c401c9083660d308e7d717"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fde99eeb07d1f709e3e78bcccf4c7690f7d8e61"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e44f0df3fff215d9033089e85980048c3ac132a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc3779e2eb7f74faad522919ff0b9822f8803e5b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100061.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100061"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0"},{"fixed":"40bdc484f11538e20636a6ac864fddd013bf353e"},{"fixed":"4779e14965a5c193c2053cb3e584f281fb478619"},{"fixed":"8fde99eeb07d1f709e3e78bcccf4c7690f7d8e61"},{"fixed":"fc3779e2eb7f74faad522919ff0b9822f8803e5b"},{"fixed":"7fdfd92092179b3670c401c9083660d308e7d717"},{"fixed":"67221e6133a92aeabebb1ec4497234643a7b7745"},{"fixed":"25ce0404c9f72295aef347f6c071cf8378f5b679"},{"fixed":"9e44f0df3fff215d9033089e85980048c3ac132a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100061.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.18.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100061.json"}}],"schema_version":"1.9.2"}