Skip to content
Race condition Advisory Advanced CVE-2023-32246

Linux Kernel ksmbd RCU Callback Race Condition Local Privilege Escalation Vulnerability

A race condition in the Linux kernel's ksmbd driver during unloading allows a local attacker with high privileges to escalate to kernel code execution. The flaw is due to missing locking when operating on an object.

Arnaud Gatignol Follow

Originally disclosed on Zero Day Initiative

Medium 5.0 View original

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

Quentin Minster (@thalium_team), 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

An attacker with high-privileged code execution could escalate to kernel-level code execution, but the text does not state whether any defence or configuration limits the exploit.

What the attacker needed

Local access; ability to execute high-privileged code

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.

This is a bug in a part of the Linux operating system called the kernel, which is the core that manages hardware and security. A race condition happens when two actions occur at the same time and the code does not handle that properly, like two people editing the same document without locking it. Here, an attacker who already has high-level access can exploit this timing mistake to run code with even higher (kernel) 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 Arnaud Gatignol

View all

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