summaryrefslogtreecommitdiffstats
path: root/drivers/eisa
diff options
context:
space:
mode:
authorOleg Nesterov2009-06-17 00:27:10 +0200
committerLinus Torvalds2009-06-17 00:36:17 +0200
commit8eeee4e2f04fc551f50c9d9847da2d73d7d33728 (patch)
treec5b7a2c9b912369c82506f8363b8eb10538f5d8e /drivers/eisa
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/iee... (diff)
downloadkernel-qcow2-linux-8eeee4e2f04fc551f50c9d9847da2d73d7d33728.tar.gz
kernel-qcow2-linux-8eeee4e2f04fc551f50c9d9847da2d73d7d33728.tar.xz
kernel-qcow2-linux-8eeee4e2f04fc551f50c9d9847da2d73d7d33728.zip
send_sigio_to_task: sanitize the usage of fown->signum
send_sigio_to_task() reads fown->signum several times, we can race with F_SETSIG which changes ->signum lockless. In theory, this can fool security checks or we can call group_send_sig_info() with the wrong ->si_signo which does not match "int sig". Change the code to cache ->signum. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions