mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Morris <jmorris@namei.org>
To: linux-kernel@vger.kernel.org
Cc: mm-commits@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
	alan@redhat.com, jmorris@redhat.com, ranma+kernel@tdiedrich.de,
	wfg@mail.ustc.edu.cn, Stephen Smalley <sds@tycho.nsa.gov>,
	Eric Paris <eparis@redhat.com>
Subject: Re: + fix-null-pointer-dereference-in-__vm_enough_memory.patch added to -mm tree
Date: Wed, 15 Aug 2007 15:13:55 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0708151513160.20119@us.intercode.com.au> (raw)
In-Reply-To: <200708152048.l7FKm0V5014219@imap1.linux-foundation.org>

On Wed, 15 Aug 2007, akpm@linux-foundation.org wrote:

> ------------------------------------------------------
> Subject: fix NULL pointer dereference in __vm_enough_memory()
> From: Alan Cox <alan@lxorguk.ukuu.org.uk>
> 
> The new exec code inserts an accounted vma into an mm struct which is not
> current->mm.  The existing memory check code has a hard coded assumption
> that this does not happen as does the security code.
> 
> As the correct mm is known we pass the mm to the security method and the
> helper function.  A new security test is added for the case where we need
> to pass the mm and the existing one is modified to pass current->mm to
> avoid the need to change large amounts of code.
> 
> (Thanks to Tobias for fixing rejects and testing)
> 
> Signed-off-by: Alan Cox <alan@redhat.com>
> Cc: WU Fengguang <wfg@mail.ustc.edu.cn>
> Cc: James Morris <jmorris@redhat.com>
> Cc: Tobias Diedrich <ranma+kernel@tdiedrich.de>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Acked-by: James Morris <jmorris@namei.org>



-- 
James Morris
<jmorris@namei.org>

           reply	other threads:[~2007-08-15 22:15 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200708152048.l7FKm0V5014219@imap1.linux-foundation.org>]

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=Pine.LNX.4.64.0708151513160.20119@us.intercode.com.au \
    --to=jmorris@namei.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=alan@redhat.com \
    --cc=eparis@redhat.com \
    --cc=jmorris@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=ranma+kernel@tdiedrich.de \
    --cc=sds@tycho.nsa.gov \
    --cc=wfg@mail.ustc.edu.cn \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome