NVIDIA D3D10 driver nvwgf2umx_cfg.dll nvwg MOV_SAT code execution vulnerability
A malformed pixel shader can cause an out-of-bounds write in the NVIDIA D3D10 driver, allowing an attacker to partially control the write address. This could lead to code execution and, in a Hyper-V RemoteFX context, a guest-to-host escape.
Originally disclosed on Cisco Talos
An exploitable code execution vulnerability exists in the nvwg MOVSAT functionality of the NVIDIA D3D10 driver, version 442.50 - 26.21.14.4250. A specially crafted shader can cause remote 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 driver fails to validate the destination register index in the MOV_SAT shader instruction, leading to an out-of-bounds write.
Impact
An attacker could achieve code execution and, in a Hyper-V RemoteFX environment, potentially escape from a guest to the host.
What the attacker needed
Ability to supply a malformed pixel shader; Hyper-V with RemoteFX for guest-to-host escape
How it was found
- Craft a pixel shader that uses the mov_sat instruction with a large destination register index.
- Supply the malformed shader to the NVIDIA D3D10 driver.
- The driver calculates a write address based on the register index and writes to an invalid memory location, causing a crash or potential code execution.
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 NVIDIA driver that processes these shaders has a bug: if a shader uses a particular instruction with a very large register number, the driver writes data to the wrong place in memory. This can crash the program or, in the worst case, let an attacker 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.