CVE-2026-100060

Not scored yetLast modified Nov 30, 2026

Description

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

spi: amd: fix len==0 underflow and FIFO overflow

amd_spi_fifo_xfer() unconditionally decrements xfer->len when a tx_buf is present. The SPI core does not reject zero-length transfers, so a transfer submitted through the SPI_IOC_MESSAGE ioctl with len == 0 and a tx_buf makes the u32 len wrap to 0xFFFFFFFF, and the following per-byte loop writes far past the FIFO window.

The driver also never checks the cumulative FIFO offset against AMD_SPI_FIFO_SIZE. The core splits each transfer down to the controller's max transfer size but does not bound the total message length, so a message of several transfers whose total exceeds the FIFO overflows it with out-of-bounds MMIO writes (tx) and reads (rx).

Skip zero-length transfers and reject any transfer that would run past the end of the FIFO window.

Tested with a user-space replica of the fifo_xfer length arithmetic (ASAN build): a zero-length transfer with tx_buf makes len-- wrap to 0xffffffff, and skipping zero-length transfers avoids the wrap. No AMD SPI hardware was available, so the FIFO bound check was verified by inspection against AMD_SPI_FIFO_SIZE.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= bbb336f39efcb1b5498f65f59f9af5773ad6dc2b, < 887f483a5a0fb992854a810f50a2de86b3df6748; >= bbb336f39efcb1b5498f65f59f9af5773ad6dc2b, < f1ab07b264cc94625df4b84db2b88f5500669a85; >= bbb336f39efcb1b5498f65f59f9af5773ad6dc2b, < 51faeca5d332e0cf8b930b760c3536aadd171425; >= bbb336f39efcb1b5498f65f59f9af5773ad6dc2b, < bf56e0e3cd67806a15dfaf637cd941449ca54a49; >= bbb336f39efcb1b5498f65f59f9af5773ad6dc2b, < f64e8fccdf73e03a9a42e548a2f894e4c689c5c3; >= bbb336f39efcb1b5498f65f59f9af5773ad6dc2b, < e2f4edfc061e493fddde16c4bbe1c4f230f41e4a
LinuxLinux5.8

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-100061In the Linux kernel, the following vulnerability has been resolved: spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op bcm_qsCVE-2026-100062In the Linux kernel, the following vulnerability has been resolved: iommupt: Do not allow PTEs to be split when dirty logging If a single CVE-2026-100063In the Linux kernel, the following vulnerability has been resolved: mfd: tps65217: Use devres for IRQ domain and wake teardown Removing thCVE-2026-100064In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Turn vcpu->arch.pause into a counter We have situations whCVE-2026-100065In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Move IN_GUEST_MODE ahead of state being loaded IN_GUEST_MOCVE-2026-100066In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saveCVE-2026-100067In the Linux kernel, the following vulnerability has been resolved: iommufd: Keep dmabuf PFNs MMIO when filling another domain A VFIO PCI CVE-2026-100068In the Linux kernel, the following vulnerability has been resolved: ARM: 9523/1: topology: allocate the cacheinfo early on the boot CPU ARCVE-2026-100069In the Linux kernel, the following vulnerability has been resolved: ARM: 9491/1: alignment: restore uaccess state on emulation fault The aCVE-2026-100078.8Use after free in SVG in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox via a crCVE-2026-1000705.5In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat_sip: rewind offset when NAT shrinks the packet sashiCVE-2026-1000715.5In the Linux kernel, the following vulnerability has been resolved: net: hsr: free learned nodes on device setup failure hsr_dev_finalize(
CVE-2026-100060: Unscored | Vulnix