AMD ATI Radeon ATIDXX64.DLL shader functionality sincos denial-of-service vulnerability
A malformed pixel shader using an uninitialized input register causes an out-of-bounds read in the AMD ATIDXX64.DLL driver. An attacker can supply such a shader from a VMware guest to crash the vmware-vmx.exe process on the host.
Originally disclosed on Cisco Talos
An exploitable out-of-bounds read vulnerability exists in AMD ATIDXX64.DLL driver, version 26.20.13001.29010. A specially crafted pixel shader can cause out-of-bounds memory read.
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
Impact
The out-of-bounds read crashes the vmware-vmx.exe process on the host; the report states the rax register does not seem easily controllable, so the issue only leads to a crash.
What the attacker needed
Ability to run code in a VMware guest; guest uses the affected AMD driver on the host
The fix
The vendor patched the driver, as shown in the timeline.
How it was found
- Create a pixel shader that declares only input register v0.
- Use the SINCOS instruction with an undeclared input register such as v4 as its source.
- Supply the shader inside a VMware guest, for example through a graphics API call.
- The driver performs an out-of-bounds read and the vmware-vmx.exe process crashes.
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 pixel shader is a small program that runs on the graphics card to colour pixels. The driver that prepares these programs did not check that a shader only reads from inputs it declared, so a crafted shader made it read memory outside the intended area. This crashed the virtual machine's main process on the host, but the report says it is not easily exploitable beyond a crash.
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.