lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 15 Aug 2007 15:13:55 -0700 (PDT)
From:	James Morris <jmorris@...ei.org>
To:	linux-kernel@...r.kernel.org
cc:	mm-commits@...r.kernel.org, Alan Cox <alan@...rguk.ukuu.org.uk>,
	alan@...hat.com, jmorris@...hat.com, ranma+kernel@...edrich.de,
	wfg@...l.ustc.edu.cn, Stephen Smalley <sds@...ho.nsa.gov>,
	Eric Paris <eparis@...hat.com>
Subject: Re: + fix-null-pointer-dereference-in-__vm_enough_memory.patch added
 to -mm tree

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

> ------------------------------------------------------
> Subject: fix NULL pointer dereference in __vm_enough_memory()
> From: Alan Cox <alan@...rguk.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@...hat.com>
> Cc: WU Fengguang <wfg@...l.ustc.edu.cn>
> Cc: James Morris <jmorris@...hat.com>
> Cc: Tobias Diedrich <ranma+kernel@...edrich.de>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>

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



-- 
James Morris
<jmorris@...ei.org>
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ