aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorSerge Hallyn <serge.hallyn@canonical.com>2011-09-26 10:18:29 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:35:37 -0800
commit62a5ac8b5fa6381fca135325166fb71b5e413be6 (patch)
tree7bad402eda7b4a1bbbef38029c92625a096d8403 /drivers/block
parent1faec480bbcf3917205feef90ae1e1b38edceaf6 (diff)
downloadkernel_samsung_crespo-62a5ac8b5fa6381fca135325166fb71b5e413be6.zip
kernel_samsung_crespo-62a5ac8b5fa6381fca135325166fb71b5e413be6.tar.gz
kernel_samsung_crespo-62a5ac8b5fa6381fca135325166fb71b5e413be6.tar.bz2
USB: pid_ns: ensure pid is not freed during kill_pid_info_as_uid
commit aec01c5895051849ed842dc5b8794017a7751f28 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions