Skip to content
Race condition Advisory Advanced

Linux Kernel XFRM Race Condition Local Privilege Escalation Vulnerability

A race condition in the Linux kernel's handling of skb objects, caused by missing locking, lets a local attacker who can already run high-privileged code escalate to kernel-level code execution. The vendor has released an update to fix it.

GangMin Kim Follow

Originally disclosed on Zero Day Initiative

High 7.5 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 high-privileged code on the target system in order to exploit this vulnerability.

GangMin Kim, 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 skb (network packet buffer) objects, allowing concurrent access to corrupt shared state.

Impact

An attacker with high-privileged local code execution could escalate privileges and run code in the context of the kernel.

What the attacker needed

Ability to run high-privileged local code

The fix

The Linux kernel was updated 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.

The kernel is the core part of the operating system that controls memory and hardware. A race condition happens when two parts of the program touch the same data at the same time without proper coordination, so the data can end up in an unexpected state. Here that mistake could let someone who already has strong local access go further and run code with the kernel's full power.

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 GangMin Kim

View all

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