Linux kernel drm/xe: flat CCS storage published as usable VRAM, corrupting allocations
Impact
get_flat_ccs_offset() rounded the flat CCS base address up to 128K before treating everything below it as usable VRAM, so when the hardware base is not 128K aligned the driver hands the tail of a CCS page to the VRAM allocator. The compression hardware then overwrites whatever landed there, with no page-table entry, buffer object or GPU submission involved - on a Battlemage G21 with 16 GiB it clobbered a page table and broke the display stack on every cold boot. The damaged assertion that should have caught it could not fail and was compiled out without CONFIG_DRM_XE_DEBUG. The record gives no attacker-controlled path; the demonstrated effect is silent memory corruption of whatever the allocator places on that page. Relevant only where Intel Xe-class GPUs are deployed, which is a minority of accelerator fleets.
Who can reach it
Local, on a host running the xe driver with an affected Intel GPU whose scaled CCS base is not 128K aligned. No authentication step is described - the corruption occurs from driver initialisation onward, before userspace exists.
What to do
Take the stable kernel with commits 348c3db4f152 / 818bebeb63dd / c96477e0cabf, which rounds the offset down to page size instead of up and replaces the dead assertion with one that can fire. Applying it requires draining and rebooting each affected node. No mitigation short of the patch is described.
References
Related entries
- 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
- Container Toolkit / GPU Operator: Container escape to host root (insufficient input validation)CVE-2024-0135 · Container Toolkit / GPU OperatorHigh
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.