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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <8fde99eeb07d1f709e3e78bcccf4c7690f7d8e61 | — |
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <7fdfd92092179b3670c401c9083660d308e7d717 | — |
| Linux | Linux | patch: 6.12.117 | — |
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <40bdc484f11538e20636a6ac864fddd013bf353e | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | patch: 5.10.275 | — |
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <4779e14965a5c193c2053cb3e584f281fb478619 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <fc3779e2eb7f74faad522919ff0b9822f8803e5b | — |
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <9e44f0df3fff215d9033089e85980048c3ac132a | — |
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <25ce0404c9f72295aef347f6c071cf8378f5b679 | — |
| Linux | Linux | patch: 6.18.63 | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | patch: 5.15.226 | — |
| Linux | Linux | patch: 6.1.193 | — |
| Linux | Linux | 5f195ee7d830c271af6fca979b0106b9a053e2c0 <67221e6133a92aeabebb1ec4497234643a7b7745 | — |
| Linux | Linux | 4.18 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.117-1 | — |
| Debian 12 | linux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | linux +59 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +2 | No fix yet | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +21 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +12 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux +3 | No fix yet | — |
Advisories 1
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
References
- https://git.kernel.org/stable/c/40bdc484f11538e20636a6ac864fddd013bf353e
- https://git.kernel.org/stable/c/4779e14965a5c193c2053cb3e584f281fb478619
- https://git.kernel.org/stable/c/8fde99eeb07d1f709e3e78bcccf4c7690f7d8e61
- https://git.kernel.org/stable/c/fc3779e2eb7f74faad522919ff0b9822f8803e5b
- https://git.kernel.org/stable/c/7fdfd92092179b3670c401c9083660d308e7d717
- https://git.kernel.org/stable/c/67221e6133a92aeabebb1ec4497234643a7b7745
- https://git.kernel.org/stable/c/25ce0404c9f72295aef347f6c071cf8378f5b679
- https://git.kernel.org/stable/c/9e44f0df3fff215d9033089e85980048c3ac132a