]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
[PATCH] USB: fix DoS in pwc USB video driver
authorOliver Neukum <oneukum@suse.de>
Wed, 22 Aug 2007 22:15:43 +0000 (15:15 -0700)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Oct 2007 19:30:27 +0000 (21:30 +0200)
commit678f8f7f7281c5be9f405c62307105ad853de997
tree76a44d55c419f1498d6fcdf566c24f3686b2073c
parent1a7180c285e99e88d77738a6b0429930a20d37a7
[PATCH] USB: fix DoS in pwc USB video driver

the pwc driver has a disconnect method that waits for user space to
close the device. This opens up an opportunity for a DoS attack,
blocking the USB subsystem and making khubd's task busy wait in
kernel space. This patch shifts freeing resources to close if an opened
device is disconnected.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/pwc/pwc-if.c
drivers/media/video/pwc/pwc.h