CVE-2026-31390
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management