# CVE-2026-80698: dmaengine: idxd: fix double free of wq, engine, and group structs

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-28T06:53:02.829Z
- **Modified:** 2026-10-30T13:20:10.477Z

## Who should check

- Anyone running Linux \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 899aa2424a75b1812a1f4766e41e82315a521e7e; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 84cf00b1376c717e55d704dc259483e822ae1b34; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 38208445c41a6164e26748c600f954296991364d; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 63844dc03960b09b36746eda636c08f1479407ce; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< c93a9f652b7373ac8ee5bfcc18a9af76959b6c6c; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< ec2d428b2e32dd157de8f86a86dd85c5b2c8f45c; 394e179f51fce06d6bb8ca5af8fa53f33c718cf4; b09ad63775f58a8de3e228f59fb9543bfd964c9c; 26c219e7522c494f7865a928c81ced84cc7db3ae; 35ea8721d9e6e74c6847cf4d6c27e883b00b0331; …
- Anyone running Linux 5.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: idxd: fix double free of wq, engine, and group structs

The release callbacks for wq, engine, and group devices
(idxd\_conf\_wq\_release, idxd\_conf\_engine\_release,
idxd\_conf\_group\_release) each call kfree() on the enclosing struct.
The setup error paths and cleanup functions also call kfree()
explicitly after put\_device(), producing a double free whenever
put\_device() drops the reference count to zero and fires the release.

In the setup functions, device\_initialize() is called before
device\_add(), so the reference count is exactly 1 at the error sites.
put\_device() unconditionally fires the release, which frees the struct;
the subsequent explicit kfree() then operates on freed memory.

For idxd\_setup\_wqs(), the wq release callback also owns opcap\_bmap
and wqcfg. The error unwind additionally freed those fields explicitly
before calling put\_device(), causing further double frees on both.

Remove the redundant explicit kfree() calls from all setup error paths
and cleanup functions for wq, engine, and group structs, delegating
sole ownership of those allocations to the release callbacks.

## Affected and fixed versions

- Linux: \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 899aa2424a75b1812a1f4766e41e82315a521e7e; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 84cf00b1376c717e55d704dc259483e822ae1b34; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 38208445c41a6164e26748c600f954296991364d; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 63844dc03960b09b36746eda636c08f1479407ce; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< c93a9f652b7373ac8ee5bfcc18a9af76959b6c6c; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< ec2d428b2e32dd157de8f86a86dd85c5b2c8f45c; 394e179f51fce06d6bb8ca5af8fa53f33c718cf4; b09ad63775f58a8de3e228f59fb9543bfd964c9c; 26c219e7522c494f7865a928c81ced84cc7db3ae; 35ea8721d9e6e74c6847cf4d6c27e883b00b0331; … (cvelist)
- Linux: 5.13 (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-80698. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80698.md
Affected: Linux >= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, < 899aa2424a75b1812a1f4766e41e82315a521e7e; >= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, < 84cf00b1376c717e55d704dc259483e822ae1b34; >= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, < 38208445c41a6164e26748c600f954296991364d; >= 7c5dd23e57c14cf7177b8a5…
Fixed in: Linux 899aa2424a75b1812a1f4766e41e82315a521e7e, Linux 84cf00b1376c717e55d704dc259483e822ae1b34, Linux 38208445c41a6164e26748c600f954296991364d, Linux 63844dc03960b09b36746eda636c08f1479407ce

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-80698 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 899aa2424a75b1812a1f4766e41e82315a521e7e; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 84cf00b1376c717e55d704dc259483e822ae1b34; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 38208445c41a6164e26748c600f954296991364d; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< 63844dc03960b09b36746eda636c08f1479407ce; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< c93a9f652b7373ac8ee5bfcc18a9af76959b6c6c; \>= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, \< ec2d428b2e32dd157de8f86a86dd85c5b2c8f45c; 394e179f51fce06d6bb8ca5af8fa53f33c718cf4; b09ad63775f58a8de3e228f59fb9543bfd964c9c; 26c219e7522c494f7865a928c81ced84cc7db3ae; 35ea8721d9e6e74c6847cf4d6c27e883b00b0331; …; Linux 5.13.

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

Yes. Fixed in Linux 899aa2424a75b1812a1f4766e41e82315a521e7e, Linux 84cf00b1376c717e55d704dc259483e822ae1b34, Linux 38208445c41a6164e26748c600f954296991364d, Linux 63844dc03960b09b36746eda636c08f1479407ce. No fix listed yet: follow the vendor advisory.

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

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/899aa2424a75b1812a1f4766e41e82315a521e7e>
- other: <https://git.kernel.org/stable/c/84cf00b1376c717e55d704dc259483e822ae1b34>
- other: <https://git.kernel.org/stable/c/38208445c41a6164e26748c600f954296991364d>
- other: <https://git.kernel.org/stable/c/63844dc03960b09b36746eda636c08f1479407ce>
- other: <https://git.kernel.org/stable/c/c93a9f652b7373ac8ee5bfcc18a9af76959b6c6c>
- other: <https://git.kernel.org/stable/c/ec2d428b2e32dd157de8f86a86dd85c5b2c8f45c>

## 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-80698>

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