drm/xe: exec queue destroy after GuC stop leaks GuC IDs and warns on VRAM manager teardown
Impact
In the xe driver for Intel datacenter GPUs, an exec queue is normally disabled and deregistered through the GuC firmware and freed only once the GuC acknowledges. If the driver is unbound while a queue is still running, a later exec_destroy() has no working CT channel to the GuC, the acknowledgement never arrives, and the queue's resources are never released - the dmesg in the record shows the GuC ID manager left unclean and a WARNING in ttm_vram_mgr_fini(). Practical effect is leaked GuC IDs and VRAM manager state on driver teardown, so a node that has had its GPU driver reloaded can be left in a state where GPU memory accounting is wrong until reboot. Exposure is narrow: reaching it requires a driver unbind, which is a root operation, not something a tenant can drive.
Who can reach it
Local and privileged: requires the ability to unbind or unload the xe driver while GPU work is in flight, then a userspace exec-queue destroy. A tenant with only a GPU workload cannot reach this; it is a reliability bug for operators who hot-unbind GPUs for maintenance or VF migration.
What to do
Pick up the stable kernel that checks xe_uc_fw_is_running() and releases exec queue resources directly when the GuC is down (three commits in the record), and reboot nodes running Intel datacenter GPUs on the xe driver. Until then, avoid unbinding the xe driver while workloads hold exec queues - drain the GPU first.
References
Related entries
- accel/qaic: zero-length DMA transfer request from userspace causes a general protection faultCVE-2025-40172 · Linux kernel accel/qaic (find_and_map_user_pages zero-length DMA transfer)High
- Linux kernel amdgpu display core (DC/DM) (drm/amd/display): A NULL pointer dereference in the amdgpu display coreCVE-2025-40354 · Linux kernel amdgpu display core (DC/DM) (drm/amd/display)High
- Altair Grid Engine (shared library loading): Grid Engine does not sanitise the environment variables that controlCVE-2025-40763 · Altair Grid Engine (shared library loading)High
- Linux kernel amdgpu display core (DC/DM) (drm/amd/display): Missing or insufficient validation of user-suppliedCVE-2025-68286 · Linux kernel amdgpu display core (DC/DM) (drm/amd/display)High
- Linux kernel amdgpu RAS / GPU reset and recovery path (drm/amdgpu): A use-after-free in the amdgpu RAS / GPU reset andCVE-2025-68793 · Linux kernel amdgpu RAS / GPU reset and recovery path (drm/amdgpu)High
- Linux kernel drm/xe: GGTT MMIO access after the MMIO region is gone on failed load or teardownCVE-2026-23466 · Linux kernel drm/xe (GGTT MMIO access during teardown)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.