Reset current->pdeath_signal on SUID binary execution
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 17 Aug 2007 19:47:58 +0000 (21:47 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 18 Aug 2007 16:29:07 +0000 (09:29 -0700)
commitd2d56c5f51028cb9f3d800882eb6f4cbd3f9099f
tree877b9aea4d369c083abd5741f2ab90c52ac863ad
parent28e8351ac22de25034e048c680014ad824323c65
Reset current->pdeath_signal on SUID binary execution

This fixes a vulnerability in the "parent process death signal"
implementation discoverd by Wojciech Purczynski of COSEINC PTE Ltd.
and iSEC Security Research.

http://marc.info/?l=bugtraq&m=118711306802632&w=2

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c