From: Oleg Nesterov Date: Mon, 30 Oct 2006 06:46:43 +0000 (-0800) Subject: [PATCH] xacct_add_tsk: fix pure theoretical ->mm use-after-free X-Git-Tag: v2.6.19-rc4~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0ec1aaf54caddd21c259aea8b2ecfbde4ee4fb9;p=pandora-kernel.git [PATCH] xacct_add_tsk: fix pure theoretical ->mm use-after-free Paranoid fix. The task can free its ->mm after the 'if (p->mm)' check. Signed-off-by: Oleg Nesterov Cc: Shailabh Nagar Cc: Balbir Singh Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed