Database/Kernel, userspace & hypervisor
Linux kernel vmwgfx: failed handle lookup returns success, leading to uninitialized and out-of-bounds access
Impact
The vmw_translate_ptr helpers were converted to return an error code with the resource pointer as an out parameter, but the failure path still returned PTR_ERR of an uninitialized pointer. A lookup that should fail can therefore report success, and the caller proceeds to use an uninitialized pointer, giving uninitialized and out-of-bounds kernel memory access on the command-submission path. On a fleet where tenant workloads run as VMware guests with the paravirtual vmwgfx device exposed, this is a guest-kernel privilege escalation primitive reachable from an ordinary unprivileged process. It does not apply to bare-metal GPU nodes, which do not load vmwgfx.
Who can reach it
A local, unprivileged process inside a VMware guest that can open /dev/dri/renderD* or /dev/dri/card* and submit commands. No special capability needed beyond access to the render node; not reachable remotely and not present on hosts without the vmwgfx device.
What to do
Update guest kernels to a build carrying the stable fix commits below and reboot the guest; there is no runtime mitigation inside the driver. Until then, remove /dev/dri device nodes from untrusted guest containers, or configure the VM without the vmwgfx 3D device so no render node exists. Bare-metal nodes need no action.
References
Related entries
- Linux kernel (drivers/iommu): Unbinding shared virtual addressing touches the mm's IOMMU state after the domain-freeCVE-2026-23429 · Linux kernel (drivers/iommu)High
- Linux kernel NFSD: reads on an open /proc/fs/nfs/exports fd walk a freed export cache after netns teardownCVE-2026-31403 · Linux kernel NFSD (/proc/fs/nfs/exports namespace reference)High
- Linux kernel (net/xfrm): Flushing xfrm states during namespace cleanup re-arms the NAT-keepalive delayed work after itCVE-2026-31406 · Linux kernel (net/xfrm)High
- Linux kernel (crypto algif_aead): Incorrect resource transfer between spheres in algif_aead (reverted to out-of-placeCVE-2026-31431 · Linux kernel (crypto algif_aead)High
- Linux kernel idxd: stale saved-config pointer after a failed second FLR allows invalid memory accessCVE-2026-31442 · Linux kernel dmaengine idxd (saved-config scratch area after FLR)High
- Linux kernel (drivers/vfio/pci): The error path of the vfio-pci dma-buf export falls through the whole unwind chainCVE-2026-31468 · Linux kernel (drivers/vfio/pci)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.