CVE-2026-80698
dmaengine: idxd: fix double free of wq, engine, and group structs
Reported by linux · Published August 28, 2026
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.
EPSS 0.22% · 11.9th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005 |
| Linux | Linux | 5.13, 0, 6.1.191 |
| linux | linux_kernel | 5.13, 5.13, 5.13 |
| Linux | Linux | 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005 |
Timeline
- Aug 28, 2026 EPSS Score (15 in total, the first dated here)
- Aug 28, 2026 Coalition ESS Score
- Aug 28, 2026 CVE Published
- Sep 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-80698
vulnetix vdb fixes CVE-2026-80698
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80698/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart