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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-10-30T09:47:56.005Z
- Modified: 2026-10-21T13:18:18.787Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987 before d21087d083e6f324d69ee87c872a4cbb5bc4a48c; from dd08ebf6c3525a7ea2186e636df064ea47281987 before 5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384; from dd08ebf6c3525a7ea2186e636df064ea47281987 before 7ac74613e5f2ef3450f44fd2127198662c2563a9; 6.8 (not affected: before 6.8; from 6.12.114 up to 6.12.*; from 6.17.5 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/d21087d083e6f324d69ee87c872a4cbb5bc4a48c>
- <https://git.kernel.org/stable/c/5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384>
- <https://git.kernel.org/stable/c/7ac74613e5f2ef3450f44fd2127198662c2563a9>

## Sources

- CVE List: [CVE-2025-40086](https://www.cve.org/CVERecord?id=CVE-2025-40086), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2025-40086](https://nvd.nist.gov/vuln/detail/CVE-2025-40086), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2025-40086 · Whole record: https://cve.day/CVE-2025-40086.json · Rebuilt by cve.day 2026-11-25T22:59:07.028Z
