CVE-2026-80698

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

No CVSS score yet EPSS 0.21%

Published 28 Aug 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-80698

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80698 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, before 899aa2424a75b1812a1f4766e41e82315a521e7e
affected from 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, before 84cf00b1376c717e55d704dc259483e822ae1b34
affected from 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, before 38208445c41a6164e26748c600f954296991364d
affected from 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, before 63844dc03960b09b36746eda636c08f1479407ce
affected from 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, before c93a9f652b7373ac8ee5bfcc18a9af76959b6c6c
affected from 7c5dd23e57c14cf7177b8a5e0fd08916e0c60005, before ec2d428b2e32dd157de8f86a86dd85c5b2c8f45c
affected 394e179f51fce06d6bb8ca5af8fa53f33c718cf4
affected b09ad63775f58a8de3e228f59fb9543bfd964c9c
affected 26c219e7522c494f7865a928c81ced84cc7db3ae
affected 35ea8721d9e6e74c6847cf4d6c27e883b00b0331
affected e6f86fe368cdc14764833a6e8bb59f7a85a40e06
affected 1c28fd5f94d8996f7dd3805bd6a16ed46a5d0886
affected from 5.11.22, before 5.12
affected from 5.12.5, before 5.13
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.114 up to and including 6.12.*
unaffected from 6.18.57 up to and including 6.18.*
unaffected from 7.1.8 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80698 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80698

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-80698
trivy image --scanners vuln IMAGE | grep CVE-2026-80698

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-80698 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.