AMD ATI Radeon ATIDXX64.DLL MAD shader functionality denial-of-service vulnerability
A malformed pixel shader can cause an out-of-bounds read in the AMD ATIDXX64.DLL driver, leading to a denial of service. An attacker can supply a specially crafted shader file to trigger this vulnerability, potentially from a VMware guest affecting the host or theoretically through WebGL.
Originally disclosed on Cisco Talos
An exploitable out-of-bounds read vulnerability exists in AMD ATIDXX64.DLL driver, version 26.20.13025.10004. A specially crafted pixel shader can cause a 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 driver fails to validate the index register used in a MAD instruction, leading to an out-of-bounds read when the index is initialised to -1.
Impact
The out-of-bounds read causes an access violation that crashes the process, leading to a denial of service; the report notes it can be triggered from a VMware guest affecting the host, or theoretically through WebGL.
What the attacker needed
Ability to supply a shader to the driver; VMware guest access or WebGL support
How it was found
- Create a pixel shader with a MAD instruction whose last operand is a vertex input register.
- Supply the shader to the AMD driver, for example via a Direct3D application or a WebGL page.
- The driver processes the shader and attempts to read memory using an index of -1, causing an access violation.
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 your graphics card to decide the colour of each pixel. The AMD graphics driver has a bug where it reads memory outside the allowed area when it processes a shader with a particular instruction. This can crash the program using the shader, which in this case could crash the VMware host process or a web browser.
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.