Linux kernel drm/vmwgfx: unvalidated offsets and strides overrun imported dma-buf maps in BO copy
Impact
vmw_external_bo_copy() trusted caller-supplied offsets, strides and heights when copying into vmap'd imported dma-bufs. An offset larger than the buffer wrapped the unsigned size subtraction into a huge bound, dst_stride * height overflowed as a u32, and the unequal-stride row loop had no bound at all beyond a WARN_ON. The values come from STDU/SOU plane state, so a client holding the DRM device on a VMware guest with a configured CRTC can drive a memcpy off the end of a kernel mapping and corrupt kernel memory. This only matters where Linux runs as a VMware guest - vmwgfx is not present on bare-metal GPU nodes, and headless compute guests with no configured CRTC cannot reach the path at all, so for most fleets this is a hygiene patch rather than an urgent one.
Who can reach it
Local user able to open /dev/dri as DRM master on a VMware virtual machine that has a configured CRTC and an imported (dma-buf) framebuffer, submitting a crafted atomic commit. No remote path; no exposure on hosts where vmwgfx is not loaded.
What to do
Take a stable kernel containing the linked commits and reboot the affected guests. On headless VMware guests that never drive a display, blacklisting the vmwgfx module removes the exposure without a kernel update. The record gives no fixed version string beyond the stable commits.
References
Related entries
- Linux kernel drm/vmwgfx: boolean written to guest_memory_size drives out-of-bounds MOB dirty walksCVE-2026-80702 · Linux kernel drm/vmwgfx (vmw_resource guest_memory_size clobbered by boolean assignment)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.