Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759545AbYBLMwx (ORCPT ); Tue, 12 Feb 2008 07:52:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753988AbYBLMwn (ORCPT ); Tue, 12 Feb 2008 07:52:43 -0500 Received: from smtp.nokia.com ([192.100.105.134]:42542 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753270AbYBLMwm (ORCPT ); Tue, 12 Feb 2008 07:52:42 -0500 Message-ID: <47B19628.8090003@movial.fi> Date: Tue, 12 Feb 2008 14:50:48 +0200 From: Riku Voipio User-Agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009) MIME-Version: 1.0 To: Thomas Gleixner CC: Adrian Bunk , Ingo Molnar , linux-kernel@vger.kernel.org, Mikael Pettersson , Lennert Buytenhek , Rusty Russell Subject: Re: futex local DoS on most architectures References: <20080211130700.GF27537@movial.fi> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Feb 2008 12:51:38.0108 (UTC) FILETIME=[01A2E3C0:01C86D76] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 966 Lines: 21 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 > Acked-by: Ingo Molnar 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/