{"id":"CVE-2026-139523","summary":"dmaengine: ioat: disable relaxed ordering before registering the device","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: ioat: disable relaxed ordering before registering the device\n\nioat3_dma_probe() disabled PCIe relaxed ordering after calling\ndma_async_device_register(), so if an error occurs and the code jumps\nto err_disable_interrupts, the function returns with the device still\nregistered in the core's dma_device_list while the caller frees the\nioatdma_device struct, leaving a dangling registration that anything\nwalking the device list can dereference after it's been freed.\n\nMove the capability read/write ahead of dma_async_device_register()\ninstead. Nothing after registration depends on relaxed ordering\nalready being disabled, and nothing before it depends on the device\nbeing registered, so this is a plain reordering. It also means every\nremaining step after registration can't fail, so there's no need to\never have to unregister the device once registered.","modified":"2026-11-30T15:02:29.016891963Z","published":"2026-11-30T13:35:32.425Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139523.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/10d34fbca6e09a6a18d64fa3ebaa3db9f27fc1a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/24cb61494c6ca785b9cad421893033618a63e34d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60c88a0a5b1be8769933f78b08767cbba3609ece"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ff75cb311d89abc59260bec3613461daf4ebafc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ccb9c820f4207f5a4f90a4d04ef5e611df140feb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cef75a63b5dc55bf914bae96ea9590c56a5a7dcb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d80ecd990536a6f81aac47c9a0178747a8431831"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0931234bfa6bd1a468850649edf94453b397f3a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139523.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139523"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"511deae0261c839461948f2d4d1c13b8c8a59cd8"},{"fixed":"8ff75cb311d89abc59260bec3613461daf4ebafc"},{"fixed":"ccb9c820f4207f5a4f90a4d04ef5e611df140feb"},{"fixed":"d80ecd990536a6f81aac47c9a0178747a8431831"},{"fixed":"60c88a0a5b1be8769933f78b08767cbba3609ece"},{"fixed":"24cb61494c6ca785b9cad421893033618a63e34d"},{"fixed":"e0931234bfa6bd1a468850649edf94453b397f3a"},{"fixed":"cef75a63b5dc55bf914bae96ea9590c56a5a7dcb"},{"fixed":"10d34fbca6e09a6a18d64fa3ebaa3db9f27fc1a6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139523.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139523.json"}}],"schema_version":"1.9.2"}