What’s Vulnerable › Vulnerabilities
CVE-2026-31390: drm/xe: Fix memory leak in xe_vm_madvise_ioctl
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-03 · updated 2026-07-24
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix memory leak in xe_vm_madvise_ioctl When check_bo_args_are_sane() validation fails, jump to the new free_vmas cleanup label to properly free the allocated resources. This ensures proper cleanup in this error path. (cherry picked from commit 29bd06faf727a4b76663e4be0f7d770e2d2a7965)
Affected products
- Linux kernel: from 6.18 before 6.18.20; from 6.19 before 6.19.10; 7.0-rc1, 7.0-rc2 — fixed in 6.18.20, 6.19.10
How to fix
Upgrade to a fixed version: Linux kernel 6.18.20, 6.19.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0cfe9c4838f1147713f6b5c02094cd4dc0c598fa
- https://git.kernel.org/stable/c/1c87b48a0ff040723f84a67b32892af7e6a3634f
- https://git.kernel.org/stable/c/c3aa7b837920c844d5ae0dd3dbaeb465a461de40
Get alerted when CVE-2026-31390 or the next vulnerability affects your stack