A Story Behind CVE-2025-59194
A Windows IoRing read operation that does not complete immediately can be left running when the process exits, and the I/O request packet is not cleaned up, causing a crash in IoCancelIrp. Microsoft rated the report as an elevation of privilege rather than the denial of service the reporter expected.
medium.com
Published on medium.com
Discovering a bug in the kernel is hard, especially if Escalation of Privilege. But what if I told you I report it to MSRC as a Denial of Service vulnerability and they confirm it as an escalation of privilege instead?
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, pending IoRing I/O request packets are not cleaned up when the owning process exits while an operation is still in flight, leaving a stale request that is later cancelled.
Impact
The flaw causes a system crash, and Microsoft assessed it as an elevation of privilege, though the text does not show a working privilege escalation.
What the attacker needed
Ability to run a local program; no user input needed
The fix
Microsoft released a patch for the issue, tracked as CVE-2025-59194.
How it was found
- Create an IoRing and queue a read from standard input, which does not return immediately.
- Submit the operation and let the process exit without waiting for it to complete.
- Observe the crash in IoCancelIrp with an IRQL_NOT_LESS_OR_EQUAL bug check.
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 write-up has not been written yet. The Original tab links to the source.
Windows lets programs queue file and console operations through a feature called IoRing, so they run in the background. If the program exits while one of those operations is still waiting, Windows does not tidy up the pending request properly and the machine crashes. The reporter thought this was only a crash, but Microsoft decided it could also let an attacker gain higher privileges.
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.