CVE-2025-40086
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)
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A Linux kernel drm/xe vulnerability allows evicting BOs in the same VM during array VM binds, leading to NULL pointer dereferences.
Vulnerability
In the Linux kernel's drm/xe driver, an array of VM binds can potentially evict other buffer objects (BOs) within the same VM under the same VM under certain conditions. This eviction may lead to NULL pointer dereferences later in the bind pipeline [1].
Exploitation
The issue occurs when processing an array of VM binds, where the driver may attempt to evict BOs that are part of the same VM. This can happen without proper validation, leading to a use-after-free or NULL pointer scenario. No special privileges are required beyond local access to trigger the bind operation [1].
Impact
An attacker with local access could exploit this to cause a NULL pointer dereference, resulting in a system crash (denial of service). The vulnerability does not appear to allow privilege escalation or code execution based on the available information [1].
Mitigation
The fix clears the allow_res_evict flag in the xe_bo_validate call to prevent eviction of BOs within the same VM. The patch has been applied to the stable kernel tree and is included in commit 8b9ba8d6d95fe [1]. Users should update to the latest kernel version.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
25aa0ab0ba7d97ac74613e5f2Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
2News mentions
0No linked articles in our index yet.