Microsoft High Definition Audio Bus Driver HDAudBus_DMA multiple irp complete requests vulnerability
The HDAudBus.sys driver completes an IRP twice when a user opens the HDAudBus_DMA WMI block with the notification flag set, because an error path calls IofCompleteRequest after WmiSystemControl already handled the request. A local attacker running a crafted application can trigger a bugcheck and crash the machine, causing a denial of service.
Originally disclosed on Cisco Talos
A mishandling of IRP requests vulnerability exists in the HDAudBusDMA interface of Microsoft High Definition Audio Bus Driver 10.0.19041.3636 (WinBuild.160101.0800). A specially crafted application can issue multiple IRP Complete requests which leads to a local denial-of-service.
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 calls IofCompleteRequest on an IRP that WmiSystemControl already completed, because it misreads the returned disposition and error status on the failure path.
Impact
A local user can crash the machine, causing a denial of service; the vendor rated it moderate and declined to treat it as meeting their bug bar.
What the attacker needed
Local access to the machine; ability to run a crafted application
How it was found
- Open a handle to the HDAudBus_DMA WMI block using WmiOpenBlock with the notification flag set.
- The request reaches HDAudBusWmiSystemControl with the enable-events minor function.
- WmiSystemControl calls HDAudBusWmiFunctionControl, which returns a not-found status for the GUID index.
- The driver calls IofCompleteRequest on the already-completed IRP.
- The kernel later frees the IRP and detects the double completion, causing a bugcheck.
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.
Windows drivers pass small work orders called IRPs between components, and each IRP must be marked finished exactly once. Here the audio bus driver marks the same work order finished twice, which Windows treats as a fatal error and crashes the whole computer. A normal user on the machine can cause this crash by running a small program, so it is a denial-of-service bug rather than a way to steal 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.