Database/Kernel, userspace & hypervisor
Linux kernel (drivers/gpu/drm/i915/gt): The GPU migration copy path used plain ints for sizes that a tenant controls
Impact
The GPU migration copy path used plain ints for sizes that a tenant controls and fed the whole object size into a fixed-size mapping window, so any buffer object larger than the 8MB chunk size is copied incorrectly and objects past 64MB blow through the compression-block limit. Migration is how buffers move between VRAM and system memory, so the consequence is corrupted or partially-copied tenant data and out-of-range block counts on discrete Intel GPUs.
Who can reach it
A tenant container holding /dev/dri/renderD* on a discrete Intel GPU (DG2 class) only has to allocate large buffer objects and let them be evicted or swapped - the upstream reproducers are the stock GPU memory-swapping IGT tests with slightly larger object sizes. No privilege beyond the render node.
What to do
Boot a kernel carrying the i915 migration/CCS fix below. Interim: cap per-tenant buffer-object and VRAM sizes to keep large-object migration out of play, and avoid overcommitting VRAM so eviction is rare.
References
Related entries
- Linux kernel (drivers/gpu/drm/i915/gt): Compression (CCS) metadata attached to local memory was not cleared when theCVE-2022-50037 · Linux kernel (drivers/gpu/drm/i915/gt)Medium
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A double free in the amdkfd (KFD compute driverCVE-2022-50303 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A NULL pointer dereference in the amdkfd (KFD computeCVE-2022-50354 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux kernel iomap: memory corruption when recording I/O errors during writebackCVE-2022-50406 · Linux kernel iomap writeback (error recording via errseq_set on an already-freed mapping)High
- Linux kernel (drivers/gpu/drm/vmwgfx): The dimensions of a DMA surface-copy box submitted in the command stream wereCVE-2022-50440 · Linux kernel (drivers/gpu/drm/vmwgfx)High
- Linux kernel (drivers/gpu/drm/nouveau): Importing a dma-buf whose backing buffer object fails to initialize leaves theCVE-2022-50454 · Linux kernel (drivers/gpu/drm/nouveau)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.