CVE-2026-74574: dmaengine: idxd: fix fdev setup failure cleanup in idxd_cdev_open()
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: fix fdev setup failure cleanup in idxdcdevopen()
The faileddevadd and faileddevname paths drop the file-device reference while wq->wqlock is still held. If putdevice(fdev) drops the last reference, idxdfiledevrelease() runs synchronously and tries to take wq->wqlock again, deadlocking.
Those paths also fall through into the later ctx cleanup labels even though idxdfiledevrelease() owns that cleanup and frees ctx. This can make idxdxapasidremove(ctx) and kfree(ctx) operate on a freed context.
Move idxdwqget() before file-device setup can fail, since the release callback always calls idxdwqput(). Then unlock wq->wqlock before putdevice(fdev) and return directly from the file-device setup failure path, leaving ctx cleanup to the release callback.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-74574?
CVE-2026-74574 has a risk rating of 34.
How do I fix CVE-2026-74574?
Fixing CVE-2026-74574 involves updating the Linux kernel to a version where the vulnerability has been patched.
What software is affected by CVE-2026-74574?
CVE-2026-74574 affects the Linux Kernel related to the dmaengine subsystem.
What is the impact of CVE-2026-74574?
CVE-2026-74574 can lead to improper cleanup of device references, which may lead to resource leaks or crashes.
When was CVE-2026-74574 published?
CVE-2026-74574 was published on August 15, 2026.