Skip to content
Memory corruption Advisory Advanced CVE-2020-6101

AMD Radeon DirectX 11 Driver atidxx64.dll Shader Functionality DCL_OUTPUT Code Execution Vulnerability

A malformed pixel shader with an out-of-range output register number causes an out-of-bounds write in the AMD DirectX 11 driver. An attacker could supply a crafted shader to trigger memory corruption and potentially execute code, including from a Hyper-V guest to the host.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 8.5 View original

An exploitable code execution vulnerability exists in the Shader functionality of AMD Radeon DirectX 11 Driver atidxx64.dll 26.20.15019.19000. An attacker can provide a a specially crafted shader file to trigger this vulnerability, resulting in code execution.

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

An attacker could achieve code execution in the context of the driver, potentially escaping from a Hyper-V guest to the host, and theoretically from a web browser using WebGL and WebAssembly.

What the attacker needed

Ability to supply a crafted shader; AMD Radeon DirectX 11 driver version 26.20.15019.19000

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 graphics driver processes instructions called shaders that tell the GPU what to draw. This driver failed to check that a shader's output register number was within the allowed range, so a specially crafted shader caused it to write past the end of a memory buffer. That memory corruption could let an attacker run their own code on the machine.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.