CVE-2026-139523
dmaengine: ioat: disable relaxed ordering before registering the device
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.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Nov. 30, 2026, 2:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Reorder capability read/write ahead of device registration.
- Ensure remaining steps after registration cannot fail.
- Remove device unregistration logic after successful registration.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139523.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139523 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139523
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139523 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139523 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139523.json">CVE-2026-139523</a> Added Reference https://git.kernel.org/stable/c/10d34fbca6e09a6a18d64fa3ebaa3db9f27fc1a6 Added Reference https://git.kernel.org/stable/c/24cb61494c6ca785b9cad421893033618a63e34d Added Reference https://git.kernel.org/stable/c/60c88a0a5b1be8769933f78b08767cbba3609ece Added Reference https://git.kernel.org/stable/c/8ff75cb311d89abc59260bec3613461daf4ebafc Added Reference https://git.kernel.org/stable/c/ccb9c820f4207f5a4f90a4d04ef5e611df140feb Added Reference https://git.kernel.org/stable/c/cef75a63b5dc55bf914bae96ea9590c56a5a7dcb Added Reference https://git.kernel.org/stable/c/d80ecd990536a6f81aac47c9a0178747a8431831 Added Reference https://git.kernel.org/stable/c/e0931234bfa6bd1a468850649edf94453b397f3a