Linux Kernel usbnet Driver Race Condition Privilege Escalation Vulnerability
The Linux kernel's usbnet driver has a race condition in the usbnet_deferred_kevent work queue due to missing locking. A physically present attacker could exploit this to escalate privileges and execute arbitrary code in the kernel context.
Originally disclosed on Zero Day Initiative
This vulnerability allows physically present attackers to escalate privileges on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability.
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 context of the kernel.
What the attacker needed
Physical access to the device
The fix
Linux issued an update to correct this 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 happens when two parts of a program try to use the same thing at the same time without proper coordination, leading to unexpected behaviour. Here, the Linux kernel's USB network driver has this flaw, and someone with physical access to the machine could use it to gain higher privileges and run their own code inside the kernel.
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.