CVE-2026-31440
Received Received - Intake
Memory Leak in Linux Kernel dmaengine idxd Driver on Device Removal

Publication date: 2026-04-22

Last updated on: 2026-04-22

Assigner: kernel.org

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-22
Last Modified
2026-04-22
Generated
2026-05-07
AI Q&A
2026-04-22
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

The vulnerability has been resolved in the Linux kernel by fixing the dmaengine idxd driver to avoid leaking event log memory during device removal.

To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.


Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's dmaengine idxd driver. During the device removal process, the device is reset, which causes its configuration registers to revert to their default zero state. The driver attempts to check if event log support was enabled before deallocating memory related to the event log. However, if a reset occurred before this check, the verification fails, leading to a memory leak of the event log.

The fix involves removing the check for whether event log support was enabled and instead only verifying if the event log pointer is valid, which is sufficient because it is only allocated if the hardware capability exists.


How can this vulnerability impact me? :

This vulnerability can lead to a memory leak in the Linux kernel's dmaengine idxd driver during device removal. Over time, this memory leak could cause increased memory usage, potentially leading to system instability or degraded performance.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart