dmaengine: idxd: Fix leaking event log memory
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: Fix leaking event log memory
During the device remove process, the device is reset, causing the configuration registers to go back to their default state, which is zero. As the driver is checking if the event log support was enabled before deallocating, it will fail if a reset happened before.
Do not check if the support was enabled, the check for 'idxd->evl' being valid (only allocated if the HW capability is available) is enough.
From the CVE record · Linux
The Linux kernel's idxd driver can leak event log memory when a device is removed after a reset clears its configuration registers. The input does not specify whether an attacker can trigger this condition or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with the idxd driver should check whether their kernel is affected; affected versions are not specified.