[PATCH] USB serial ftdi_sio: Prevent userspace DoS (CVE-2006-2936)
commitb6c9e34e0aca7f2ba1c106d6805f1c18a99dffc8
authorIan Abbott <abbotti@mev.co.uk>
Mon, 26 Jun 2006 11:59:17 +0000 (26 12:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Jul 2006 13:54:20 +0000 (17 06:54 -0700)
tree5a85be3270a7e8e56db24b13df7fbea0c63b6e9d
parent8ac7545d688e3f83a02549b5281620cfeed0e281
[PATCH] USB serial ftdi_sio: Prevent userspace DoS (CVE-2006-2936)

This patch limits the amount of outstanding 'write' data that can be
queued up for the ftdi_sio driver, to prevent userspace DoS attacks (or
simple accidents) that use up all the system memory by writing lots of
data to the serial port.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c