mailing list archives
Re: CVE Request -- kernel: futex: clear robust_list on execve
From: Greg KH <greg () kroah com>
Date: Wed, 4 Jan 2012 14:23:03 -0800
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.
In the future, could you reference which kernel contained these patches
so I don't have to go look it up? :)
For the record, the first one showed up in 2.6.28-rc5 and the second in