summaryrefslogtreecommitdiffstats
path: root/kernel/slow-work.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-12-10 01:53:17 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-12-10 23:04:11 +0100
commit14d8c9f3c09e7fd7b9af80904289fe204f5b93c6 (patch)
tree1c373436517c5853aab0e99cce83364a21134d0e /kernel/slow-work.c
parentlockdep: Avoid out of bounds array reference in save_trace() (diff)
downloadlinux-14d8c9f3c09e7fd7b9af80904289fe204f5b93c6.tar.xz
linux-14d8c9f3c09e7fd7b9af80904289fe204f5b93c6.zip
signal: Fix racy access to __task_cred in kill_pid_info_as_uid()
kill_pid_info_as_uid() accesses __task_cred() without being in a RCU read side critical section. tasklist_lock is not protecting that when CONFIG_TREE_PREEMPT_RCU=y. Convert the whole tasklist_lock section to rcu and use lock_task_sighand to prevent the exit race. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> LKML-Reference: <20091210004703.232302055@linutronix.de> Acked-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'kernel/slow-work.c')
0 files changed, 0 insertions, 0 deletions