Home page logo

oss-sec logo oss-sec mailing list archives

Re: CVE Request -- kernel: futex: clear robust_list on execve
From: Petr Matousek <pmatouse () redhat com>
Date: Thu, 5 Jan 2012 16:53:36 +0100

On Wed, Jan 04, 2012 at 02:23:03PM -0800, Greg KH wrote:
On Wed, Jan 04, 2012 at 11:10:59PM +0100, Petr Matousek wrote:
Move "exit_robust_list" into mm_release() and clear them

We don't want to get rid of the futexes just at exit() time, we want to
drop them when doing an execve() too, since that gets rid of the
previous VM image too.

Doing it at mm_release() time means that we automatically always do it
when we disassociate a VM map from the task.

Upstream patches:

In the future, could you reference which kernel contained these patches
so I don't have to go look it up?  :)

I will try to include the kernel version next time.


For the record, the first one showed up in 2.6.28-rc5 and the second in


greg k-h

Petr Matousek / Red Hat Security Response Team

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]