CVE-2026-139397 spi: axi-spi-engine: fix stale SYNC IRQ pending

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139397?

CVE-2026-139397 is a vulnerability in Linux, published on 30 Nov 2026.

Official 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.

Which versions are affected by CVE-2026-139397?

How do I fix CVE-2026-139397?

Upgrade to a fixed version.

Is CVE-2026-139397 being exploited?

There is no known exploitation of CVE-2026-139397 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139397, DEBIAN-CVE-2026-139397, GHSA-4pw4-c989-7grq, UBUNTU-CVE-2026-139397.

Is CVE-2026-139397 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free