Skip to content
DoS Advisory Advanced CVE-2018-12153

Intel Unified Shader Compiler for Intel Graphics Accelerator Remote Denial Of Service

A malformed pixel shader supplied to Intel's Unified Shader Compiler driver causes a size calculation to wrap to zero for an allocation while the copy length stays large, so a checked memory copy fails and the process is terminated. An attacker could crash the host process (for example the VMware host process when triggered from a guest), causing a denial of service.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 7.7 View original

An exploitable denial-of-service vulnerability exists in the Intel’s Unified Shader Compiler for Intel(R) Graphics Accelerator (10.18.14.4889). A specially crafted pixel shader can cause denial-of-service issues.

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 a 32-bit truncation of a size calculation for the allocation combined with a 64-bit widened copy length, plus no validation of the value returned by an internal function used as a loop bound.

Impact

The affected process is terminated, so a crash in a VMware guest can crash the VMware host process; the text notes WebGL delivery is only theoretical and depends on the browser not using ANGLE.

What the attacker needed

Ability to submit a shader to the driver; vulnerable Intel driver version; browser must not use ANGLE for WebGL

How it was found

  1. Craft a malformed pixel shader, in text or binary form.
  2. Supply it to the Intel igdusc64.dll driver, for example through a Direct3D pixel shader creation call.
  3. The driver uses an unchecked value as a loop bound and iterates many times.
  4. On one iteration the allocation size wraps to zero while the copy count stays large.
  5. The checked copy function detects the bad argument and raises an exception that terminates the process.

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 takes a shader file and uses numbers inside it to decide how much memory to reserve and how much data to copy in. Because of a maths slip, the reserved amount can become zero while the copy amount stays huge, and the safe copy function notices the mismatch and aborts the program. The result is a crash, not stolen data.

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.