dmaengine: idxd: Fix memory leak when a wq is reset
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ da32b28c95a79e399e18c03f8178f41aec9c66e4 · < d9cfb5193a047a92a4d3c0e91ea4cc87c8f7c478| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's idxd driver can leak memory when a workqueue is reset because it marks the workqueue empty before releasing its resources. The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the idxd driver should check their vendor's advisory for affected versions; none are listed here.