Skip to content
DoS Advisory Advanced CVE-2019-5147

AMD ATI Radeon ATIDXX64.DLL MOVC shader functionality denial-of-service vulnerability

A malformed pixel shader with a modified MOVC instruction operand causes 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.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 8.6 View original

An exploitable out-of-bounds read vulnerability exists in AMD ATIDXX64.DLL driver, version 26.20.13003.1007. A specially crafted pixel shader can cause a denial of service.

Piotr Bania, on Cisco Talos

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 vulnerability can cause a denial of service by crashing the vmware-vmx.exe process on the host, and theoretically could be triggered remotely through WebGL.

What the attacker needed

Ability to supply a shader to the driver; VMware guest access or WebGL

The fix

The vendor confirmed a fix and no issues were found on versions 15.5.1 with 20.1.1 AMD drivers.

How it was found

  1. Create a pixel shader with a MOVC instruction whose second operand is a sampler instead of a register.
  2. Supply the malformed shader to the AMD driver, for example from a VMware guest.
  3. The driver processes the shader and triggers an out-of-bounds read, 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 the graphics card to decide the colour of each pixel. The driver that translates these programs for the AMD graphics card did not check one instruction properly, so a specially crafted shader could make it read memory outside its allowed area, crashing the program. This crash can happen inside a virtual machine and affect the host computer.

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.

More by Piotr Bania

View all

94 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.