Skip to content
Memory corruption Advisory Advanced CVE-2022-21912

DirectX Graphics Kernel Remote Code Execution Vulnerability (CVE-2022-21912)

A vulnerability in the Windows DirectX graphics kernel driver allowed an authenticated attacker to cause an arbitrary pointer dereference in kernel mode, potentially leading to remote code execution. The attacker needed only low privileges, not administrator rights.

HongZhenhao Follow

Originally disclosed on Microsoft

Critical 7.8 View original

FAQ

How could an attacker exploit this vulnerability? An authenticated attacker could take advantage of a vulnerability in dxgkrnl.sys to execute an arbitrary pointer dereference in kernel mode.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated user could trigger this vulnerability. It does not require admin or other elevated privileges.

Windows DirectX

Windows DirectX

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by HongZhenhao of Ant Group Light-Year Security Lab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 missing or incorrect validation of a pointer supplied by user mode before the kernel driver dereferences it.

Impact

An authenticated attacker with low privileges could potentially execute arbitrary code in kernel mode, though the text does not confirm a working exploit.

What the attacker needed

Authenticated Windows user; low privileges (no admin needed)

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.

This is a flaw in a core Windows driver that handles graphics. A logged-in user with no special rights could trigger it, and because the driver runs at the highest level of the operating system, a mistake there can let an attacker run their own code or crash 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 HongZhenhao

View all

3 more disclosed reports, best first.

More from Microsoft

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.