Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < 8ff75cb311d89abc59260bec3613461daf4ebafcaffected
  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < ccb9c820f4207f5a4f90a4d04ef5e611df140febaffected
  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < d80ecd990536a6f81aac47c9a0178747a8431831affected
  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < 60c88a0a5b1be8769933f78b08767cbba3609eceaffected
  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < 24cb61494c6ca785b9cad421893033618a63e34daffected
  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < e0931234bfa6bd1a468850649edf94453b397f3aaffected
  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < cef75a63b5dc55bf914bae96ea9590c56a5a7dcbaffected
  • 511deae0261c839461948f2d4d1c13b8c8a59cd8 to < 10d34fbca6e09a6a18d64fa3ebaa3db9f27fc1a6affected

Linux Linux

Default version status: affected

  • 4.7affected
  • 0 to < 4.7unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References