Files
twx-linux/kernel
Oleg Nesterov e17f8851e1 [PATCH] fill_tgid: fix task_struct leak and possible oops
1. fill_tgid() forgets to do put_task_struct(first).

2. release_task(first) can happen after fill_tgid() drops tasklist_lock,
   it is unsafe to dereference first->signal.

This is a temporary fix, imho the locking should be reworked.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Jay Lan <jlan@sgi.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
2006-11-03 17:33:50 -08:00
..
2006-09-06 11:00:02 -07:00
2006-09-11 13:32:17 -04:00
2006-09-11 13:32:30 -04:00
2006-09-11 13:32:30 -04:00
2006-08-27 11:01:32 -07:00
2006-09-01 11:39:08 -07:00
2006-09-16 12:54:32 -07:00
2006-09-06 11:00:01 -07:00
2006-10-13 13:23:22 -07:00