Skip to content
Memory corruption Write-up Advanced

Oss-sec: Linux kernel futex local privilege escalation (CVE-2014-3153)

A flaw in the Linux kernel's futex subsystem allowed a local unprivileged user to gain ring 0 control via the futex syscall, enabling kernel crash or privilege escalation.

seclists.org

Published on seclists.org

This was handled via linux-distros, hence the mandatory oss-security posting. The issue was made public earlier today, and is included in this Debian advisory:

The author, on seclists.org

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An unprivileged local user could crash the kernel (denial of service) or escalate privileges to ring 0.

What the attacker needed

Local access to the system; unprivileged user account

The fix

The issue was fixed by patches from Thomas Gleixner, with back-ports by John Johansen.

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 write-up has not been written yet. The Original tab links to the source.

The futex is a low-level kernel feature used for locking between threads. A mistake in how it handled certain requests let an ordinary user on the machine take full control of the operating system's core (ring 0), which is the highest privilege level.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.