CVE-2026-139523

dmaengine: ioat: disable relaxed ordering before registering the device

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: ioat: disable relaxed ordering before registering the device

ioat3_dma_probe() disabled PCIe relaxed ordering after calling
dma_async_device_register(), so if an error occurs and the code jumps
to err_disable_interrupts, the function returns with the device still
registered in the core's dma_device_list while the caller frees the
ioatdma_device struct, leaving a dangling registration that anything
walking the device list can dereference after it's been freed.

Move the capability read/write ahead of dma_async_device_register()
instead. Nothing after registration depends on relaxed ordering
already being disabled, and nothing before it depends on the device
being registered, so this is a plain reordering. It also means every
remaining step after registration can't fail, so there's no need to
ever have to unregister the device once registered.

Analysis

AI-generated

Technical impact

The vulnerability exists in the Linux kernel’s DMA engine for Intel IOAT PCIe devices. During probe, the driver disables PCIe relaxed ordering only after registering the DMA device. If the initialization falls into the error path, the device remains registered while its underlying data structure is freed, creating a dangling registration that can be dereferenced by code walking the DMA device list. This results in a use‑after‑free bug capable of corrupting kernel memory or enabling arbitrary code execution in the kernel context.

Affected Systems

All Linux kernel builds that include the original ioat3_dma_probe implementation are affected until the patch that reorders the calls is applied. The issue is present across architectures and kernel configurations that support Intel IOAT devices.

Risk and Exploitability

With a CVSS score of 4.1 and an EPSS score of less than 1 %, the vulnerability presents a low severity and low probability of exploitation. It is not listed in the CISA KEV catalog, indicating no publicly reported exploits. The flaw can be triggered via local or privileged access that influences device initialization, such as attaching an IOAT device during boot or inducing a probe error. Successful exploitation could lead to kernel memory corruption or privilege escalation, but the overall risk remains relatively low pending an update.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an updated kernel that includes the fix reordering the ioat3_dma_probe calls and eliminating the dangling registration.
  • Disable or remove the IOAT DMA driver by blacklisting the module or physically disconnecting the device if an immediate kernel update is not feasible.
  • Monitor system logs for kernel panics or abnormal DMA device registration failures that may indicate the vulnerability remains active.

Generated by OpenCVE AI on December 1, 2026 at 19:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-825
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
Description In the Linux kernel, the following vulnerability has been resolved: dmaengine: ioat: disable relaxed ordering before registering the device ioat3_dma_probe() disabled PCIe relaxed ordering after calling dma_async_device_register(), so if an error occurs and the code jumps to err_disable_interrupts, the function returns with the device still registered in the core's dma_device_list while the caller frees the ioatdma_device struct, leaving a dangling registration that anything walking the device list can dereference after it's been freed. Move the capability read/write ahead of dma_async_device_register() instead. Nothing after registration depends on relaxed ordering already being disabled, and nothing before it depends on the device being registered, so this is a plain reordering. It also means every remaining step after registration can't fail, so there's no need to ever have to unregister the device once registered.
Title dmaengine: ioat: disable relaxed ordering before registering the device
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

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