Skip to content
Race condition Advisory Advanced CVE-2026-31583

Linux Kernel eMPIA USB Device Driver Race Condition Code Execution Vulnerability

The Linux kernel's eMPIA USB device driver lacks proper locking when handling em28xx_v4l2 structures, creating a race condition. A physically present attacker could exploit this to execute arbitrary 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 execute arbitrary code on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability.

Lucas Leong (@_wmliang_) of TrendAI 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 execute arbitrary code in the context of the kernel.

What the attacker needed

Physical access to the device; affected Linux kernel with eMPIA driver

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 data at the same time without coordinating, which can corrupt memory. Here, the Linux kernel driver for certain USB video devices does not lock properly, so an attacker with physical access could trigger the flaw and run their own code with the highest 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

5 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.