drm/ttm: stale restore state after a successful restore leaves shmem handles in the page array
Impact
ttm_pool_restore_and_alloc() can finish a restore successfully but never drops tt->restore. Later backup/restore flows then see a restore that looks already complete while shmem handles are still installed in tt->pages, and the pages get handed to the scatter-gather builder as if they were real pages - the reported trace crashes in sg_alloc_append_table_from_pages() by way of xe_tt_map_sg() during a Xe exec ioctl. TTM backup/restore is what backs GPU memory eviction and suspend on Xe and other TTM drivers, so on a busy node this is reached by ordinary memory pressure rather than by a crafted request. The immediate consequence in the record is a kernel oops on the submit path, which takes down every workload on that GPU.
Who can reach it
Local. Any tenant submitting GPU work through a TTM-backed driver (the trace is Xe's exec ioctl) on a node under enough memory pressure to evict and restore buffer objects. No elevated privilege.
What to do
Take the stable-kernel update that frees and clears tt->restore once ttm_pool_restore_commit() succeeds. TTM is in the kernel tree, so this is a kernel upgrade: drain GPU jobs and reboot the node. No userspace or daemon-level workaround; reducing memory pressure only makes the path rarer.
References
Related entries
- Linux kernel drm/xe: flat CCS storage published as usable VRAM, corrupting allocationsCVE-2026-90047 · Linux kernel drm/xe (flat CCS offset rounding)High
- NVIDIA GPU Display Driver - kernel mode layer (Windows nvlddmkm.sys and Linux nvidia.ko): An out-of-bounds readCVE-2022-28183 · NVIDIA GPU Display Driver - kernel mode layer (Windows nvlddmkm.sys and Linux nvidia.ko)High
- DGX servers BMC: Improper access control on BMCCVE-2022-42275 · DGX servers BMCHigh
- KAI Scheduler: Missing authentication on API endpointsCVE-2026-24177 · KAI SchedulerHigh
- DGX H100 BMC (IPMI): Credential exposureCVE-2023-25531 · DGX H100 BMC (IPMI)High
- NVIDIA License System - Delegated Licensing Service (DLS): An unauthorised action against the DLS reaches partialCVE-2024-0122 · NVIDIA License System - Delegated Licensing Service (DLS)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.