CVE-2026-139397
publishedspi: axi-spi-engine: fix stale SYNC IRQ pending
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75 to < b68cb3650ceb87032ae28f571fe4336527b9a879 · 1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75 to < 4aa253c9606afcd4eb4380436925b3d3d3c7cc13 · 1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75 to < ea29c686f96adcb505071ef228ba8047dc951fac · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 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: 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75 to < b68cb3650ceb87032ae28f571fe4336527b9a879 (affected · git)1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75 to < 4aa253c9606afcd4eb4380436925b3d3d3c7cc13 (affected · git)1d0ee0c9df31c9fd1e4f8d7e2464e36fbf6e3f75 to < ea29c686f96adcb505071ef228ba8047dc951fac (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
spi: axi-spi-engine: fix stale SYNC IRQ pending
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5acb03e662171ac7ca311a92d44dbe68dfda815a4f493840ef9323cf92a6f74a
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record