Skip to content
Race condition Advisory Advanced

Linux Kernel USB/IP VHCI Driver Race Condition Privilege Escalation Vulnerability

The USB/IP VHCI driver in the Linux kernel mishandles locking while processing a reset event, creating a race condition. A physically present attacker could exploit this to escalate privileges and run code in the kernel context.

Lucas Leong Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

This vulnerability allows physically present attackers to escalate privileges on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability.

Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative, on the Zero Day Initiative

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

Impact

A physically present attacker could escalate privileges and execute arbitrary code in the kernel context; the text does not describe any defence that limited the exploit.

What the attacker needed

Physical access to the machine

The fix

Linux issued an update to correct the vulnerability.

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 race condition is when two parts of a program touch the same data at the same time without coordinating, so the result depends on timing. Here the kernel's USB-over-IP driver does not lock properly during a reset, letting an attacker with physical access to the machine interfere and gain higher privileges.

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.

More by Lucas Leong

View all

93 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

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.