From: Oleg Nesterov Date: Mon, 6 Apr 2009 14:16:02 +0000 (+0200) Subject: exit_notify: kill the wrong capable(CAP_KILL) check (CVE-2009-1337) X-Git-Tag: v2.6.27.22~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9460a617660c1d5f3d6fdf0f6163939a67ed7f9c;p=pandora-kernel.git exit_notify: kill the wrong capable(CAP_KILL) check (CVE-2009-1337) CVE-2009-1337 commit 432870dab85a2f69dc417022646cb9a70acf7f94 upstream. The CAP_KILL check in exit_notify() looks just wrong, kill it. Whatever logic we have to reset ->exit_signal, the malicious user can bypass it if it execs the setuid application before exiting. Signed-off-by: Oleg Nesterov Acked-by: Serge Hallyn Acked-by: Roland McGrath Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed