VMware Workstation 14 Shader Functionality Denial Of Service
A malformed pixel shader supplied from inside a VMware guest causes an invalid pointer calculation in the host's vmware-vmx.exe process, leading to a read access violation. The result is a crash of the virtual machine process, at least a denial of service, with the author suggesting it could potentially become an information disclosure.
An exploitable denial-of-service vulnerability exists in the VMware Workstation 14. A specially crafted pixel shader can cause a read access violation resulting in, at least, denial of service.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the shader translator does not validate that required declarations are present, so a missing declaration yields a negative index that is multiplied into a pointer offset and then dereferenced.
Impact
The vmware-vmx.exe process crashes, terminating the virtual machine, which is a denial of service; the author notes it could potentially be turned into an information disclosure.
What the attacker needed
Ability to run code in a VMware guest; guest can submit shaders to the host
How it was found
- Create a pixel shader containing only a move instruction, without the usual input, output and temp declarations.
- Supply that shader from inside the guest operating system.
- Observe the debug build hit an assertion and the retail build crash with an access violation in vmware-vmx.exe.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A virtual machine program like VMware runs a small helper process on your real computer to draw the guest's graphics. If the guest sends a broken graphics program (a shader) to that helper, the helper can compute a bad memory address and crash. Here the crash kills the whole virtual machine, which is a denial of service.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.