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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

spi: axi-spi-engine: fix stale SYNC IRQ pending

spienginesetup() sends a SYNC(1) command and polls SYNCID to confirm it was parsed by the FPGA, but never clears the corresponding interrupt pending bit (INTPENDING[SYNC]). When the first real SPI transfer starts and INTSYNC is enabled, that stale pending bit fires immediately, causing the IRQ handler to see the leftover SYNCID 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 INTPENDING[SYNC] after the polled SYNC, ensuring no stale interrupt is left pending.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Clear INT_PENDING[SYNC] after spi_engine_setup() polls SYNC_ID to confirm the SYNC command.

    Linux kernel spi: axi-spi-engine INT_PENDING[SYNC] = cleared after the polled SYNC

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203