{"id":"CVE-2026-100061","aliases":["CVE-2026-100061"],"related":[],"kind":"vulnerability","state":"published","title":"spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op","summary":"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->addr.nbytes + op->dummy.nbytes + 1.\nbcm_qspi_exec_mem_op() only validates op->addr.nbytes <= 4 and never\nbounds op->dummy.nbytes, which spi_mem_check_op() also leaves\nunrestricted. With addr.nbytes = 4 and dummy.nbytes >= 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->dummy.nbytes <= 1, so such transfers fall\nback to the generic SPI path instead of overrunning the buffer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->addr.nbytes + op->dummy.nbytes + 1.\nbcm_qspi_exec_mem_op() only validates op->addr.nbytes <= 4 and never\nbounds op->dummy.nbytes, which spi_mem_check_op() also leaves\nunrestricted. With addr.nbytes = 4 and dummy.nbytes >= 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->dummy.nbytes <= 1, so such transfers fall\nback to the generic SPI path instead of overrunning the buffer.","source":"cvelist"}],"published":"2026-11-30T13:23:31.447Z","modified":"2026-11-30T14:17:24.620Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"40bdc484f11538e20636a6ac864fddd013bf353e","status":"affected"},{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"4779e14965a5c193c2053cb3e584f281fb478619","status":"affected"},{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"8fde99eeb07d1f709e3e78bcccf4c7690f7d8e61","status":"affected"},{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"fc3779e2eb7f74faad522919ff0b9822f8803e5b","status":"affected"},{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"7fdfd92092179b3670c401c9083660d308e7d717","status":"affected"},{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"67221e6133a92aeabebb1ec4497234643a7b7745","status":"affected"},{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"25ce0404c9f72295aef347f6c071cf8378f5b679","status":"affected"},{"type":"git","introduced":"5f195ee7d830c271af6fca979b0106b9a053e2c0","fixed":"9e44f0df3fff215d9033089e85980048c3ac132a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/40bdc484f11538e20636a6ac864fddd013bf353e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4779e14965a5c193c2053cb3e584f281fb478619","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fde99eeb07d1f709e3e78bcccf4c7690f7d8e61","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc3779e2eb7f74faad522919ff0b9822f8803e5b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7fdfd92092179b3670c401c9083660d308e7d717","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67221e6133a92aeabebb1ec4497234643a7b7745","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25ce0404c9f72295aef347f6c071cf8378f5b679","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e44f0df3fff215d9033089e85980048c3ac132a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100061","url":"https://www.cve.org/CVERecord?id=CVE-2026-100061","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:31.447Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100061","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100061","licence":"Public domain","modified":"2026-11-30T14:17:24.620Z"}],"updatedAt":"2026-11-30T14:32:35.871Z","epss":{"score":0.00185,"percentile":0.08471,"date":"2026-12-01T12:00:22.000Z"}}