CVE-2026-139515

dmaengine: ste_dma40: Init hardware before registration

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

dmaengine: ste_dma40: Init hardware before registration

d40_probe() enables the interrupt handler and registers DMAengine devices
before calling d40_hw_init(). An interrupt pending from the bootloader can
therefore reach the handler while the hardware interrupt state is not
initialized and channel lookup entries are empty. The handler deliberately
does not acknowledge an interrupt for an unknown channel, so a level IRQ
can retrigger continuously.

Initialize the hardware and set the DMA segment limit before requesting
the IRQ or registering DMAengine devices. d40_hw_init() clears pending
logical and physical interrupt status, so request_irq() can enable the
line normally after the hardware state is initialized.

This ensures that the handler and clients only observe initialized
hardware.

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel’s ste_dma40 driver allows the device to be registered for DMA transfers before its hardware is fully initialized. If an interrupt generated by the bootloader is pending at that time, the interrupt handler is invoked while the hardware state remains undefined. Because the handler deliberately does not acknowledge interrupts for unknown channels, a level‑based interrupt can retrigger continuously, causing the kernel to repeatedly process interrupted requests. The effect is a denial‑of‑service condition in kernel space, potentially leading to system instability or a crash if uninitialized memory is accessed during the handler’s execution.

Affected Systems

The issue affects any Linux kernel that includes the ste_dma40 driver. Specific affected kernel versions are not enumerated in the advisory; however, all kernels that have not yet integrated the patch that performs hardware initialization before IRQ registration and device registration remain vulnerable. The vulnerability is tied to the Linux kernel itself rather than a particular external vendor product.

Risk and Exploitability

The CVSS score for this vulnerability is not included, and the EPSS score is not available. The bug is not listed in the CISA KEV catalog. The nominal attack vector appears to be local, occurring during system boot when an uninitialized interrupt can be triggered by the bootloader. An attacker controlling the boot environment could deliberately queue an interrupt that will be mishandled, leading to a denial‑of‑service. Because the exploit depends on an interrupt state that the kernel mismanages, the likelihood of exploitation is moderate, but the impact is severe in terms of service availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install a Linux kernel update that includes the fix for the ste_dma40 driver (the patch guaranteeing d40_hw_init() runs before request_irq() and device registration).
  • If an update cannot be applied immediately, apply a local patch or patch the driver source to call d40_hw_init() before registering the device and before enabling the IRQ, ensuring the hardware state is initialized first.
  • As a temporary containment measure, disable or remove the ste_dma40 driver module via module parameters or blacklisting, or adjust the bootloader configuration so that no pending DMA interrupts are present at system startup.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-627
CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: dmaengine: ste_dma40: Init hardware before registration d40_probe() enables the interrupt handler and registers DMAengine devices before calling d40_hw_init(). An interrupt pending from the bootloader can therefore reach the handler while the hardware interrupt state is not initialized and channel lookup entries are empty. The handler deliberately does not acknowledge an interrupt for an unknown channel, so a level IRQ can retrigger continuously. Initialize the hardware and set the DMA segment limit before requesting the IRQ or registering DMAengine devices. d40_hw_init() clears pending logical and physical interrupt status, so request_irq() can enable the line normally after the hardware state is initialized. This ensures that the handler and clients only observe initialized hardware.
Title dmaengine: ste_dma40: Init hardware before registration
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-627

    Dynamic Variable Evaluation

  • CWE-665

    Improper Initialization

  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 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
Moderate
Public date
Nov 30, 2026, 1:35 PM