diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-08-22 15:15:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-08-30 23:01:52 -0700 |
commit | 852ffe0acf89f959e8d35080bbd2bdc2d8f2e9e5 (patch) | |
tree | acaea277a4ba9e595bbda54f47d245f01822b642 /drivers/pci/hotplug/cpqphp_sysfs.c | |
parent | 8e62c5a411874691e8938fa439978de9fa7c58c8 (diff) | |
download | lwn-852ffe0acf89f959e8d35080bbd2bdc2d8f2e9e5.tar.gz lwn-852ffe0acf89f959e8d35080bbd2bdc2d8f2e9e5.zip |
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>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_sysfs.c')
0 files changed, 0 insertions, 0 deletions