CVE-2026-139397

medium

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.

References

https://git.kernel.org/stable/c/ea29c686f96adcb505071ef228ba8047dc951fac

https://git.kernel.org/stable/c/b68cb3650ceb87032ae28f571fe4336527b9a879

https://git.kernel.org/stable/c/4aa253c9606afcd4eb4380436925b3d3d3c7cc13

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139102

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 6.3

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Severity: Medium

EPSS

EPSS: 0.00198