Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40086

drm/xe: Don't allow evicting of BOs in same VM in array of VM binds

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)

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • dd08ebf6c3525a7ea2186e636df064ea47281987 to < d21087d083e6f324d69ee87c872a4cbb5bc4a48caffected
  • dd08ebf6c3525a7ea2186e636df064ea47281987 to < 5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384affected
  • dd08ebf6c3525a7ea2186e636df064ea47281987 to < 7ac74613e5f2ef3450f44fd2127198662c2563a9affected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.12.114 to ≤ 6.12.*unaffected
  • 6.17.5 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References