Bug 2516974 (CVE-2026-74574) - CVE-2026-74574 kernel: dmaengine: idxd: fix fdev setup failure cleanup in idxd_cdev_open()
Summary: CVE-2026-74574 kernel: dmaengine: idxd: fix fdev setup failure cleanup in idx...
Keywords:
Status: NEW
Alias: CVE-2026-74574
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 12:42 UTC by OSIDB Bzimport
Modified: 2026-11-24 00:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:102710 0 None None None 2026-11-24 00:52:10 UTC
Red Hat Product Errata RHSA-2026:83207 0 None None None 2026-10-14 23:23:09 UTC
Red Hat Product Errata RHSA-2026:98608 0 None None None 2026-11-11 11:31:34 UTC

Description OSIDB Bzimport 2026-08-15 12:42:02 UTC
In the Linux kernel, the following vulnerability has been resolved:

dmaengine: idxd: fix fdev setup failure cleanup in idxd_cdev_open()

The failed_dev_add and failed_dev_name paths drop the file-device
reference while wq->wq_lock is still held. If put_device(fdev) drops the
last reference, idxd_file_dev_release() runs synchronously and tries to
take wq->wq_lock again, deadlocking.

Those paths also fall through into the later ctx cleanup labels even
though idxd_file_dev_release() owns that cleanup and frees ctx. This can
make idxd_xa_pasid_remove(ctx) and kfree(ctx) operate on a freed context.

Move idxd_wq_get() before file-device setup can fail, since the release
callback always calls idxd_wq_put(). Then unlock wq->wq_lock before
put_device(fdev) and return directly from the file-device setup failure
path, leaving ctx cleanup to the release callback.

Comment 5 Jon Orris 2026-10-14 23:23:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:83207 https://access.redhat.com/errata/RHSA-2026:83207

Comment 6 errata-xmlrpc 2026-11-11 11:31:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98608 https://access.redhat.com/errata/RHSA-2026:98608

Comment 7 errata-xmlrpc 2026-11-24 00:52:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.8 Extended Update Support

Via RHSA-2026:102710 https://access.redhat.com/errata/RHSA-2026:102710


Note You need to log in before you can comment on or make changes to this bug.