# CVE-2026-139397

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139397/
- Yayımlanma: 2026-11-30T17:19:07+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139397)
