[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47B19628.8090003@movial.fi>
Date: Tue, 12 Feb 2008 14:50:48 +0200
From: Riku Voipio <riku.voipio@...ial.fi>
To: Thomas Gleixner <tglx@...utronix.de>
CC: Adrian Bunk <adrian.bunk@...ial.fi>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org, Mikael Pettersson <mikpe@...uu.se>,
Lennert Buytenhek <buytenh@...tstofly.org>,
Rusty Russell <rusty@...tcorp.com.au>
Subject: Re: futex local DoS on most architectures
Thomas Gleixner wrote:
> We have to disable the complete PI/robust functionality for those
> archs, which do not implement futex_atomic_cmpxchg_inatomic(). The
> code in question relies on a valid implementation and does not expect
> -ENOSYS, which is returned by the stub implementation in
> asm-generic/futex.h
>
> Pointed out by: Mikael Pettersson, Riku Voipio and Adrian Bunk
>
Original credits for finding this issue belong to Lennert Buytenhek.
> This patch is intended for easy backporting and needs to be cleaned up
> further for current mainline.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Acked-by: Ingo Molnar <mingo@...e.hu>
Looks good for me and kernel no longer deadlocks with this patch!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists