drm/xe: Don't allow evicting of BOs in same VM in array of VM binds
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.1146.17.56.18In 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)
From the CVE record · Linux
The Linux kernel's drm/xe driver can allow an array of VM binds to evict buffer objects in the same VM under certain conditions, leading to a NULL pointer dereference later in the bind pipeline. The input does not specify an attacker's required access or whether user interaction is needed.
Engineers running the Linux kernel with drm/xe should check their installations; affected versions are not specified.