CVE-2026-31440

dmaengine: idxd: Fix leaking event log memory

Published Apr 22, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel idxd driver contains a flaw that causes a memory leak during device removal. When a device is removed, the driver performs a reset that clears all configuration registers to zero. Because the driver checks whether the event‑log support was enabled before freeing the corresponding memory, the reset can occur early, leaving idxd->evl uninitialized. As a result, the driver skips deallocation and leaks memory allocated for the event log. The leak manifests in kernel space and can gradually consume kernel memory over repeated removal cycles. The vulnerability is classified with a CVSS score of 5.5, indicating a medium severity impact on confidentiality, integrity, and availability.

Affected Systems

This flaw impacts all Linux kernel builds that ship with the idxd driver prior to the fix commit, regardless of distribution. Systems running unpatched kernels with the idxd driver are vulnerable. No specific version ranges are provided, so assume all kernels lacking the patch are affected.

Risk and Exploitability

The EPSS score of less than 1% suggests that publicly known exploitation attempts are extremely rare, and the vulnerability is not listed in the CISA KEV catalog. It is inferred that exploitation would require local privileged execution or a compromised kernel to influence device removal timing. An attacker who can repeatedly trigger device removal could drain kernel memory, potentially causing a denial‑of‑service scenario. Despite the low exploitation probability, the medium CVSS score and the internal nature of the attack vector warrant monitoring and prompt patching.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel that includes the commit fixing the idxd driver event‑log memory leak, or apply the patch locally to the idxd driver source and rebuild the kernel.
  • If a kernel upgrade is not immediately possible, uninstall or disable the idxd driver on systems that do not require it, to eliminate the memory leak risk.
  • For environments where the driver is essential, install a local patch that modifies the deallocation logic to skip the early evl check, ensuring memory is freed even if a reset occurs during device removal.
  • Continuously monitor kernel memory usage and logs for signs of heightened allocation patterns that might indicate a lingering leak; consider applying a memory pressure test to confirm the patch effectiveness.

Generated by OpenCVE AI on May 7, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6238-1 linux security update
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8665-1 Linux kernel (Raspberry Pi) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-459
CWE-755
Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-459
CWE-755
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
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.
Title dmaengine: idxd: Fix leaking event log memory
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 5, 2026, 9:33 PM
Reserved
Mar 9, 2026, 3:48 PM
Status
Modified
Published
Apr 22, 2026, 2:16 PM
Modified
Nov 11, 2026, 11:10 PM
Severity
Moderate
Public date
Apr 22, 2026, 12:00 AM