Skip to content
Race condition Advisory Advanced CVE-2024-39463

Linux Kernel Plan 9 File System Race Condition Local Privilege Escalation Vulnerability

A race condition in the Linux kernel's Plan 9 file system (p9_fid object) due to missing locking allows a local attacker with low-privileged code execution to escalate to kernel privileges. The vendor has released an update to fix it.

Meysam Firouzi Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Meysam Firouzi @R00tkitSMM and Amirmohammad Eftekhar @zer0legday, 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

Root cause

Likely a missing lock around operations on the p9_fid object, allowing a race condition.

Impact

An attacker could escalate privileges and execute arbitrary code in the context of the kernel.

What the attacker needed

Local low-privileged code execution

The fix

Linux has 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 actions try to use the same thing at the same time without proper coordination, like two people editing the same document simultaneously. Here, the kernel's Plan 9 file system doesn't lock properly, so an attacker who can already run some code on the machine can exploit this timing issue to gain full control of the system.

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