
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-31390 is a memory leak vulnerability in the Linux kernel's drm/xe driver, specifically within the xe_vm_madvise_ioctl function. When the check_bo_args_are_sane() validation fails, the error path does not properly free allocated virtual memory area (VMA) resources, resulting in a memory leak. The vulnerability affects Linux kernel versions 6.18.x before 6.18.20, 6.19.x before 6.19.10, and release candidates 7.0-rc1 and 7.0-rc2. It was published on April 3, 2026, and carries a CVSS v3.1 base score of 5.5 (Medium) (Github Advisory, Feedly).
The root cause is classified as CWE-401 (Missing Release of Memory after Effective Lifetime): when check_bo_args_are_sane() returns a failure in xe_vm_madvise_ioctl, the code previously jumped to an error label that did not include cleanup of already-allocated VMA resources. The fix introduces a new free_vmas cleanup label to ensure proper deallocation in this error path, cherry-picked from upstream commit 29bd06faf727a4b76663e4be0f7d770e2d2a7965. Exploitation requires a local attacker with low privileges and access to the xe driver device node, who can trigger the vulnerable code path by issuing ioctl calls with invalid arguments (Github Advisory, Feedly).
Successful exploitation causes kernel memory to be leaked each time the vulnerable ioctl path is triggered, with no impact on confidentiality or data integrity. A local user with access to the drm/xe device node can repeatedly invoke the faulty ioctl to progressively exhaust system memory, potentially leading to a denial of service condition. There is no evidence of lateral movement potential or data exposure risk associated with this vulnerability (Github Advisory, Feedly).
The fix has been committed to the Linux kernel stable tree and is available in versions 6.18.20, 6.19.10, and 7.0-rc3 or later. Administrators should update to a patched kernel version as the primary remediation. As a secondary measure, restricting access to drm/xe device nodes (e.g., via udev rules or file permissions) to only trusted users can reduce the attack surface until patching is feasible (Github Advisory, Feedly).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."