CVE-2026-139397
spi: axi-spi-engine: fix stale SYNC IRQ pending
Check your servers for CVE-2026-139397
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-139397 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
spi: axi-spi-engine: fix stale SYNC IRQ pending
spi_engine_setup() sends a SYNC(1) command and polls SYNC_ID to confirm it was parsed by the FPGA, but never clears the corresponding interrupt pending bit (INT_PENDING[SYNC]). When the first real SPI transfer starts and INT_SYNC is enabled, that stale pending bit fires immediately, causing the IRQ handler to see the leftover SYNC_ID from setup, match it against the current transfer's ID, and prematurely signal completion before the hardware finishes.
This race manifests at low SPI clock frequencies (~2-3 MHz), where the FPGA takes long enough to execute the transfer that handler is parsed before it finishes. At higher SCLK rates the transfer completes fast enough that the issue is masked.
Fix this by clearing INT_PENDING[SYNC] after the polled SYNC, ensuring no stale interrupt is left pending.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75, before b68cb3650ceb87032ae28f571fe4336527b9a879 affected from 1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75, before 4aa253c9606afcd4eb4380436925b3d3d3c7cc13 affected from 1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75, before ea29c686f96adcb505071ef228ba8047dc951fac
Other versions: unaffected
|
| Linux |
affected 6.16 unaffected before 6.16 unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 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-139397 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139397
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-139397
trivy image --scanners vuln IMAGE | grep CVE-2026-139397
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
- https://git.kernel.org/stable/c/b68cb3650ceb87032ae28f571fe4336527b9a879 git.kernel.org
- https://git.kernel.org/stable/c/4aa253c9606afcd4eb4380436925b3d3d3c7cc13 git.kernel.org
- https://git.kernel.org/stable/c/ea29c686f96adcb505071ef228ba8047dc951fac git.kernel.org
Source: the record CVE-2026-139397 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.
Vulnpocalypse