CVE-2026-139396: spi: axi-spi-engine: fix stale SYNC IRQ pending in trigger_enable
In the Linux kernel, the following vulnerability has been resolved:
spi: axi-spi-engine: fix stale SYNC IRQ pending in triggerenable
spienginetriggerenable() sends SYNC(1) and polls SYNCID, it never clears the INTPENDING[SYNC] bit afterward. This leaves a stale pending interrupt that can fire spuriously when INTSYNC is later enabled.
Simillarly to the fix on spienginesetup(), clear INTPENDING[SYNC] after polling the SYNCID.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In spi_engine_trigger_enable(), clear the INT_PENDING[SYNC] bit after polling SYNC_ID to prevent a stale interrupt from firing when INT_SYNC is later enabled.