Linux kernel drm/vmwgfx: boolean written to guest_memory_size drives out-of-bounds MOB dirty walks
Impact
Two sites in vmwgfx_resource.c assigned boolean literals to res->guest_memory_size, an unsigned long allocation-size field, when the intended target was the adjacent guest_memory_dirty bitfield. The size then reads as 0 or 1, and later revalidation paths use it to compute the dirty page range and the buffer allocation size, producing zero-length walks or wrap-around ranges that read or write past the MOB bitmap. Dirty tracking is also silently lost, so the driver stops knowing which pages changed. As with the other vmwgfx defects this is reachable only inside VMware guests running the vmwgfx driver, from a process that can drive the DRM device - bare-metal GPU nodes and headless guests without vmwgfx loaded are unaffected.
Who can reach it
Local user with access to the vmwgfx DRM device inside a VMware virtual machine, exercising resource release and unbind paths. No remote or cross-VM vector is described in the record.
What to do
Update to a stable kernel carrying the linked commits and reboot the affected guests. Blacklisting vmwgfx on headless guests removes exposure in the meantime. No fixed release number is given beyond the stable commits.
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.