LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Riku Voipio <riku.voipio@movial.fi>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Adrian Bunk <adrian.bunk@movial.fi>, Ingo Molnar <mingo@elte.hu>,
	linux-kernel@vger.kernel.org, Mikael Pettersson <mikpe@it.uu.se>,
	Lennert Buytenhek <buytenh@wantstofly.org>,
	Rusty Russell <rusty@rustcorp.com.au>
Subject: Re: futex local DoS on most architectures
Date: Tue, 12 Feb 2008 14:50:48 +0200	[thread overview]
Message-ID: <47B19628.8090003@movial.fi> (raw)
In-Reply-To: <alpine.LFD.1.00.0802111442130.12988@apollo.tec.linutronix.de>

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@linutronix.de>
> Acked-by: Ingo Molnar <mingo@elte.hu>
Looks good for me and kernel no longer deadlocks with this patch!

  parent reply	other threads:[~2008-02-12 12:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11 13:07 Adrian Bunk
2008-02-11 13:56 ` Mikael Pettersson
2008-02-11 13:59 ` Thomas Gleixner
2008-02-11 14:16   ` Lennert Buytenhek
2008-02-12 12:50   ` Riku Voipio [this message]
2008-02-14 21:46   ` Andrew Morton
2008-02-15  1:19     ` Thomas Gleixner
2008-02-15  1:23       ` [PATCH 1/2] futex: fix init order Thomas Gleixner
2008-02-15  1:36       ` [PATCH 2/2] futex: runtime enable pi and robust functionality Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B19628.8090003@movial.fi \
    --to=riku.voipio@movial.fi \
    --cc=adrian.bunk@movial.fi \
    --cc=buytenh@wantstofly.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    --cc=mingo@elte.hu \
    --cc=rusty@rustcorp.com.au \
    --cc=tglx@linutronix.de \
    --subject='Re: futex local DoS on most architectures' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).