Skip to content
DoS Advisory Advanced CVE-2019-5124

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

A malformed pixel shader can cause a NULL pointer dereference 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.13001.50005. 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

Root cause

Likely the driver fails to validate that a constant buffer index in a shader instruction is within the declared buffer size, leading to an out-of-bounds read and NULL pointer dereference.

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 malformed shader; 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 that declares a constant buffer with a small size.
  2. Modify a DIV instruction to reference an element far outside the declared buffer.
  3. Supply the malformed shader to the AMD driver (e.g., via a VMware guest).
  4. The driver performs an out-of-bounds read and crashes with a NULL pointer dereference.

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. This report shows that a malformed shader can make the graphics driver crash, which stops the program using it. The crash happens because the driver tries to read from an invalid memory address (a NULL pointer).

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.