CVE-2026-80698
Last modified
CVE-2026-80698 is a vulnerability of currently unknown severity. 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..
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, < c93a9f652b7373ac8ee5bfcc18a9af76959b6c6c; >= 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, < ec2d428b2e32dd157de8f86a86dd85c5b2c8f45c; 394e179f51fce06d6bb8ca5af8fa53f33c718cf4; b09ad63775f58a8de3e228f59fb9543bfd964c9c; 26c219e7522c494f7865a928c81ced84cc7db3ae; 35ea8721d9e6e74c6847cf4d6c27e883b00b0331; e6f86fe368cdc14764833a6e8bb59f7a85a40e06; 1c28fd5f94d8996f7dd3805bd6a16ed46a5d0886; >= 5.11.22, < 5.12; >= 5.12.5, < 5.13 |
| Linux | Linux | 5.13 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-80698?
How severe is CVE-2026-80698?
How do I fix CVE-2026-80698?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-80692In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-80693In the Linux kernel, the following vulnerability has been re…9.3
- CVE-2026-80694In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-80695In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80696In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-80697In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80699In the Linux kernel, the following vulnerability has been re…
- CVE-2026-8070Incorrect permission assignment for a critical resource in A…7.3
- CVE-2026-80700In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-80701In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80702In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-80703In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-80698?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
