diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-10-27 23:36:46 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-11-01 03:57:52 +0100 |
commit | 402a199dab7513f1f38fe3a0e0e8dd72a2de83f5 (patch) | |
tree | eaa7be117ac0a29a3b8810abfe5bff2e0c0ba382 /drivers/usb/misc | |
parent | 9c456953203c95a8a9f959aa8d650a9be32d3e48 (diff) |
USB: fix DoS in pwc USB video driver (CVE-2007-5093)
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.
Adrian Bunk:
Backported to 2.6.16.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions