Intel IGC64.DLL Shader Functionality DCL_OUTPUT code execution vulnerability
A malformed vertex shader with an oversized output register number causes an out-of-bounds write in Intel's IGC64 shader compiler, because the register number is used directly as an index into a destination address. An attacker could use this to write to arbitrary memory and potentially achieve code execution, including guest-to-host escape in virtualised environments.
Originally disclosed on Cisco Talos
An exploitable memory corruption vulnerability exists in Intel’s IGC64.DLL graphics driver, version 26.20.100.7584. A specially crafted vertex shader can cause an out-of-bounds write, which could lead to arbitrary code execution.
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 shader compiler uses the attacker-supplied output register number as an unchecked index when calculating the destination address for a write.
Impact
An attacker could write to arbitrary memory and potentially execute code, and this could potentially be triggered from guest machines to perform guest-to-host escape; triggering it from a web browser is theoretical and was not confirmed.
What the attacker needed
Ability to supply a shader to the driver; affected Intel graphics driver version
How it was found
- Craft a vertex shader that declares an output register with an oversized register number.
- Supply the shader to the affected driver through the normal shader creation path.
- The driver uses the register number as an index and writes out of bounds, 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 graphics driver translates small programs called shaders into machine code for the graphics chip. This driver trusted a number written inside the shader when working out where to store a result, so a huge number made it write outside the intended memory area. Writing outside memory can let an attacker change other data or run their own code.
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.