dmaengine: ioat: disable relaxed ordering before registering the device

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux511deae0261c839461948f2d4d1c13b8c8a59cd8 to before 8ff75cb311d89abc59260bec3613461daf4ebafc Affected511deae0261c839461948f2d4d1c13b8c8a59cd8 to before ccb9c820f4207f5a4f90a4d04ef5e611df140feb Affected511deae0261c839461948f2d4d1c13b8c8a59cd8 to before d80ecd990536a6f81aac47c9a0178747a8431831 Affected511deae0261c839461948f2d4d1c13b8c8a59cd8 to before 60c88a0a5b1be8769933f78b08767cbba3609ece Affected511deae0261c839461948f2d4d1c13b8c8a59cd8 to before 24cb61494c6ca785b9cad421893033618a63e34d Affected511deae0261c839461948f2d4d1c13b8c8a59cd8 to before e0931234bfa6bd1a468850649edf94453b397f3a Affected511deae0261c839461948f2d4d1c13b8c8a59cd8 to before cef75a63b5dc55bf914bae96ea9590c56a5a7dcb Affected511deae0261c839461948f2d4d1c13b8c8a59cd8 to before 10d34fbca6e09a6a18d64fa3ebaa3db9f27fc1a6 Affected
Linux Linux4.7 Affectedbefore 4.7 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.