Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-100060

published

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

Published
30 Nov 2026, 13:23:30 UTC
Updated
30 Nov 2026, 13:23:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < 887f483a5a0fb992854a810f50a2de86b3df6748 · bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < f1ab07b264cc94625df4b84db2b88f5500669a85 · bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < 51faeca5d332e0cf8b930b760c3536aadd171425 · bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < bf56e0e3cd67806a15dfaf637cd941449ca54a49 · bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < f64e8fccdf73e03a9a42e548a2f894e4c689c5c3 · bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < e2f4edfc061e493fddde16c4bbe1c4f230f41e4a · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < 887f483a5a0fb992854a810f50a2de86b3df6748 (affected · git)bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < f1ab07b264cc94625df4b84db2b88f5500669a85 (affected · git)bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < 51faeca5d332e0cf8b930b760c3536aadd171425 (affected · git)bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < bf56e0e3cd67806a15dfaf637cd941449ca54a49 (affected · git)bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < f64e8fccdf73e03a9a42e548a2f894e4c689c5c3 (affected · git)bbb336f39efcb1b5498f65f59f9af5773ad6dc2b to < e2f4edfc061e493fddde16c4bbe1c4f230f41e4a (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
82720189ef79be2795dfbf5b775e63658825ea4a2a89d3c5feab1fee9ad94500
Ingested
30 Nov 2026, 13:30:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected