summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/cpqphp_sysfs.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2007-08-22 15:15:43 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-08-30 23:01:52 -0700
commit852ffe0acf89f959e8d35080bbd2bdc2d8f2e9e5 (patch)
treeacaea277a4ba9e595bbda54f47d245f01822b642 /drivers/pci/hotplug/cpqphp_sysfs.c
parent8e62c5a411874691e8938fa439978de9fa7c58c8 (diff)
downloadlwn-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