CVE-2026-74276

spi: xilinx: use FIFO occupancy register to determine buffer size

No CVSS score yet EPSS 0.18%

Published 15 Aug 2026 Updated 17 Aug 2026 CNA: Linux

Check your servers for CVE-2026-74276

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74276 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

spi: xilinx: use FIFO occupancy register to determine buffer size

The method the driver uses to determine the size of the FIFO has a problem. What it currently does is this: It stops the SPI hardware and writes to the TX FIFO register until TX FIFO FULL asserts in the status register. But the hardware does not only have the FIFO, it also has a shift register which can hold a byte. This can be seen, when writing a byte to the FIFO (while the SPI hardware is stopped,) the TX FIFO EMPTY is still empty. So, if we have a FIFO size of 16 for example, the current method returns a 17. This is a problem, at least when using the driver in irq mode. The same size determined for the TX FIFO is also assumed for the RX FIFO. When a SPI transaction wants to write the amount of the FIFO size or more bytes, the following happens, for example with 16 bytes FIFO size: The driver stops the SPI hardware and writes 17 bytes to the TX FIFO and starts the SPI hardware and goes sleep. The hardware then shifts out 17 bytes (FIFO + shift register) and simultaneously reads bytes into the RX FIFO, but it only has 16 places, so it looses one byte. Then TX FIFO empty asserts, wakes the driver again, which has a fast path and reads 16 bytes from the RX FIFO, but before reading the last 17th byte (which is lost) it does this:

sr = xspi->read_fn(xspi->regs + XSPI_SR_OFFSET); if (!(sr & XSPI_SR_RX_EMPTY_MASK)) { xilinx_spi_rx(xspi); rx_words--; }

It reads the status register and checks if the RX FIFO is not empty. But it is empty in our case. So this check spins in a while loop forever locking the driver.

This patch fixes the logic to determine the FIFO size.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.55% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before 4ee65558a7fda463222f5edc631b6d7862218725
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before e98f589d54068dfcc7da42d9b730e47b84e2991a
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before 1fc6a6c0cc7796b0c1cf4eec3f0720f422f09273
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before dfab0d4698a642bab9b895e2e6d240838cfe2cc6
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before d7ccd8736b67550eca746ed7fa39a36016ff114b
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before 1c9246a199e19b2fd36e94feed60e55f27103a4f
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before d1944b71c18e7494756bff1a6f80c25be99eaecb
affected from 4c9a761402d780b86b9b068aba4ef8e29ed15e99, before 47f3b5365536e8c38f264824ab15fdb74454e066
Other versions: unaffected
Linux
affected 4.0
unaffected before 4.0
unaffected from 5.10.261 up to and including 5.10.*
unaffected from 5.15.212 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74276 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74276

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74276
trivy image --scanners vuln IMAGE | grep CVE-2026-74276

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74276 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.