Re:Oss-sec: Linux kernel futex local privilege escalation (C...
by scott_s on Thursday June 05, 2014 @03:57PM
(#7853981)
A follow-up comment describes how it works: http://seclists.org/oss-sec/2014/q2/469
[ Parent
| on HN ]
Re:Oss-sec: Linux kernel futex local privilege escalation (C...
by haberman on Thursday June 05, 2014 @05:23PM
(#7854629)
Nice. I didn't quite understand though:
> Specifically, the futex syscall can leave a queued kernel waiter hanging on the stack. By manipulating the stack with further syscalls, the waiter structure can be altered.
Is the bug that the waiter is left on the stack, or that other syscalls can alter the stack?
Allowing syscalls to alter the stack seems like a vulnerability regardless of what happens to be on the stack when it's altered.