Serge Hallyn aec01c5895 USB: pid_ns: ensure pid is not freed during kill_pid_info_as_uid
Alan Stern points out that after spin_unlock(&ps->lock) there is no
guarantee that ps->pid won't be freed.  Since kill_pid_info_as_uid() is
called after the spin_unlock(), the pid passed to it must be pinned.

Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-26 16:12:26 -07:00
..
2011-09-26 15:51:08 -07:00
2011-09-26 15:51:10 -07:00
2011-09-18 01:39:36 -07:00
2011-09-26 15:54:11 -07:00
2011-09-26 15:51:10 -07:00
2010-10-22 10:22:07 -07:00
2011-09-26 15:51:08 -07:00
2011-09-26 15:51:10 -07:00