Skip to content
Race condition Write-up Advanced

Bochspwn: Exploiting Kernel Race Conditions Found via Memory Access Patterns

The post describes a research project that found around 50 double-fetch vulnerabilities in the Windows kernel and drivers by analysing memory access patterns. An attacker could exploit these to gain elevated privileges or cause a denial of service.

j00ru.vexillium.org

Published on j00ru.vexillium.org

{{media:0}}

The author, on j00ru.vexillium.org

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 the kernel reads a value from user-controlled memory more than once without locking or copying it first, so the value can change between reads.

Impact

An attacker could exploit these double-fetch bugs to elevate privileges or cause a denial of service, as demonstrated on three Windows vulnerabilities.

What the attacker needed

Local access to a Windows system

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.

A double-fetch bug happens when a program reads the same piece of memory twice, and an attacker can change the data between the two reads. In the Windows kernel, this can let a low-privilege user trick the system into giving them higher privileges or crashing it. The researchers found many such bugs by watching how the kernel accesses memory.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.