All of lore.kernel.org
 help / color / mirror / Atom feed
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM64: check stack pointer in get_wchan
Date: Tue, 17 Dec 2013 18:12:29 +0000	[thread overview]
Message-ID: <20131217181228.GT32118@arm.com> (raw)
In-Reply-To: <20131205133010.16410.96824.stgit@buzz>

On Thu, Dec 05, 2013 at 01:30:10PM +0000, Konstantin Khlebnikov wrote:
> get_wchan() is lockless. Task may wakeup at any time and change its own stack,
> thus each next stack frame may be overwritten and filled with random stuff.
> 
> Signed-off-by: Konstantin Khlebnikov <k.khlebnikov@samsung.com>

Thanks. Applied (both patches).

-- 
Catalin

WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Konstantin Khlebnikov <k.khlebnikov@samsung.com>
Cc: Will Deacon <Will.Deacon@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 1/2] ARM64: check stack pointer in get_wchan
Date: Tue, 17 Dec 2013 18:12:29 +0000	[thread overview]
Message-ID: <20131217181228.GT32118@arm.com> (raw)
In-Reply-To: <20131205133010.16410.96824.stgit@buzz>

On Thu, Dec 05, 2013 at 01:30:10PM +0000, Konstantin Khlebnikov wrote:
> get_wchan() is lockless. Task may wakeup at any time and change its own stack,
> thus each next stack frame may be overwritten and filled with random stuff.
> 
> Signed-off-by: Konstantin Khlebnikov <k.khlebnikov@samsung.com>

Thanks. Applied (both patches).

-- 
Catalin

  parent reply	other threads:[~2013-12-17 18:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 13:30 [PATCH 1/2] ARM64: check stack pointer in get_wchan Konstantin Khlebnikov
2013-12-05 13:30 ` Konstantin Khlebnikov
2013-12-05 13:30 ` [PATCH 2/2] ARM64: fix framepointer check in unwind_frame Konstantin Khlebnikov
2013-12-05 13:30   ` Konstantin Khlebnikov
2013-12-17 18:12 ` Catalin Marinas [this message]
2013-12-17 18:12   ` [PATCH 1/2] ARM64: check stack pointer in get_wchan Catalin Marinas

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=20131217181228.GT32118@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.