CVE-2026-31440
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.
Weakness
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.
Affected products
- linux linux_kernel
References
- https://git.kernel.org/stable/c/695b491dc3f20365fd5821f22e25dbe3c1c20cbc
- https://git.kernel.org/stable/c/9dfa00967e6ef43a9dd0887fe5c3a721a39da92e
- https://git.kernel.org/stable/c/d94f9b0ba28a205caf95902ee88b42bdb8af83d0
- https://git.kernel.org/stable/c/ee66bc29578391c9b48523dc9119af67bd5c7c0f
- https://git.kernel.org/stable/c/facd0012708e942fc12890708738aebde497564e
Find the bug before an attacker does.
Sign in with GitHub and run your first audit in under a minute. The free plan needs no credit card.