# CVE-2026-74574: dmaengine: idxd: fix fdev setup failure cleanup in idxd\_cdev\_open()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T12:28:12.558Z
- **Modified:** 2026-10-16T20:17:38.923Z

## Who should check

- Anyone running Linux \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 778ccbded2c8749c5be7f0dfa04fc9977a36fb7e; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 8d5d28285728be47c82fdf1c48be4268293c90e7; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 0679c0c189d2548f00e1bac95be28e2df5c6c7f7; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 6e26a41c4c1a706edaaa7c7dffc6b3b945707a55; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< ee1d7274102285d78a53161fc705a8d8cd40b066
- Anyone running Linux 6.4

## Description

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.

## Affected and fixed versions

- Linux: \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 778ccbded2c8749c5be7f0dfa04fc9977a36fb7e; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 8d5d28285728be47c82fdf1c48be4268293c90e7; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 0679c0c189d2548f00e1bac95be28e2df5c6c7f7; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 6e26a41c4c1a706edaaa7c7dffc6b3b945707a55; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< ee1d7274102285d78a53161fc705a8d8cd40b066 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74574. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74574.md
Affected: Linux >= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, < 778ccbded2c8749c5be7f0dfa04fc9977a36fb7e; >= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, < 8d5d28285728be47c82fdf1c48be4268293c90e7; >= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, < 0679c0c189d2548f00e1bac95be28e2df5c6c7f7; >= e6fd6d7e5f0fe4a17a08e89…
Fixed in: Linux 778ccbded2c8749c5be7f0dfa04fc9977a36fb7e, Linux 8d5d28285728be47c82fdf1c48be4268293c90e7, Linux 0679c0c189d2548f00e1bac95be28e2df5c6c7f7, Linux 6e26a41c4c1a706edaaa7c7dffc6b3b945707a55

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74574 being exploited?

There is no confirmed exploitation: CVE-2026-74574 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74574?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74574?

Linux \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 778ccbded2c8749c5be7f0dfa04fc9977a36fb7e; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 8d5d28285728be47c82fdf1c48be4268293c90e7; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 0679c0c189d2548f00e1bac95be28e2df5c6c7f7; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< 6e26a41c4c1a706edaaa7c7dffc6b3b945707a55; \>= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, \< ee1d7274102285d78a53161fc705a8d8cd40b066; Linux 6.4.

### Is there a fix for CVE-2026-74574?

Yes. Fixed in Linux 778ccbded2c8749c5be7f0dfa04fc9977a36fb7e, Linux 8d5d28285728be47c82fdf1c48be4268293c90e7, Linux 0679c0c189d2548f00e1bac95be28e2df5c6c7f7, Linux 6e26a41c4c1a706edaaa7c7dffc6b3b945707a55. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74574?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/778ccbded2c8749c5be7f0dfa04fc9977a36fb7e>
- other: <https://git.kernel.org/stable/c/8d5d28285728be47c82fdf1c48be4268293c90e7>
- other: <https://git.kernel.org/stable/c/0679c0c189d2548f00e1bac95be28e2df5c6c7f7>
- other: <https://git.kernel.org/stable/c/6e26a41c4c1a706edaaa7c7dffc6b3b945707a55>
- other: <https://git.kernel.org/stable/c/ee1d7274102285d78a53161fc705a8d8cd40b066>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74574>

HTML: <https://flawdb.com/CVE-2026-74574> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74574>
