CVE-2025-40086

Summary

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)

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxdd08ebf6c3525a7ea2186e636df064ea47281987 < 5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384affected
LinuxLinuxdd08ebf6c3525a7ea2186e636df064ea47281987 < 7ac74613e5f2ef3450f44fd2127198662c2563a9affected
LinuxLinux6.8affected
LinuxLinux0 < 6.8unaffected
LinuxLinux6.17.5 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References