CVE-2026-139396

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

Published Nov 30, 2026 CVSS 3.1 · 2.3 Low EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

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

spi_engine_trigger_enable() sends SYNC(1) and polls SYNC_ID, it never
clears the INT_PENDING[SYNC] bit afterward. This leaves a stale pending
interrupt that can fire spuriously when INT_SYNC is later enabled.

Simillarly to the fix on spi_engine_setup(), clear INT_PENDING[SYNC]
after polling the SYNC_ID.

Analysis

AI-generated

Technical impact

The vulnerability is in the Linux kernel's AXI SPI engine driver. The trigger_enable routine sets a SYNC flag and polls SYNC_ID, but leaves a pending interrupt flag intact. This stale pending interrupt can fire unintentionally after INT_SYNC is enabled, potentially triggering the interrupt handler with stale state. The result may be corrupted data, loss of synchrony, or system instability, though no direct escalation beyond local kernel disruption is described.

Affected Systems

Any Linux kernel that includes the axi‑spi‑engine driver and has not integrated the commits in the indicated references (18febc10a3538b9baa2f6e4481b434f20fdbd93c, 82171f5034c4cda4ec4edc1e11f0aea03142a120, 82b9d578beb1b02ef5ca2adc74e1b0d6eb3dba69) is affected. This typically covers upstream kernel versions prior to those commits and many distribution kernels that have not yet backported the patch. Systems using the AXI SPI engine for communication are at risk.

Risk and Exploitability

The flaw resides in a device driver and requires privileged interaction with the SPI hardware or the ability to trigger the driver’s enable path. The EPSS score is not available and the CVE is not listed in CISA KEV, indicating no widespread exploitation is known. The attack vector is local; an attacker would need kernel or hardware access to the SPI device. The potential impact remains confined to local kernel stability issues such as stalls, watchdog resets, or forceful restarts that could lead to data loss or service disruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the patch commits (18febc10a3538b9baa2f6e4481b434f20fdbd93c, 82171f5034c4cda4ec4edc1e11f0aea03142a120, or 82b9d578beb1b02ef5ca2adc74e1b0d6eb3dba69). Installing the latest stable distribution kernel or applying the upstream patch resolves the stale interrupt flag.
  • If compiling a custom kernel, rebuild the kernel module with the updated spi_engine_trigger_enable function and ensure the axi‑spi‑engine driver is enabled after the patch is applied before deployment.
  • As a temporary workaround, modify the device tree or driver parameters to disable the INT_SYNC interrupt until driver initialization completes, or disable the axi‑spi‑engine driver entirely if the SPI hardware is not required. This prevents spurious IRQs that could destabilize the system.

Generated by OpenCVE AI on December 1, 2026 at 12:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-613
Type Values Removed Values Added
Weaknesses CWE-459
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-613
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: spi: axi-spi-engine: fix stale SYNC IRQ pending in trigger_enable spi_engine_trigger_enable() sends SYNC(1) and polls SYNC_ID, it never clears the INT_PENDING[SYNC] bit afterward. This leaves a stale pending interrupt that can fire spuriously when INT_SYNC is later enabled. Simillarly to the fix on spi_engine_setup(), clear INT_PENDING[SYNC] after polling the SYNC_ID.
Title spi: axi-spi-engine: fix stale SYNC IRQ pending in trigger_enable
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Low
Public date
Nov 30, 2026, 1:34 PM