[PATCH 00/21] USB: fixes for 3.9-final

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's an updated series of fixes for 3.9-final.

The first four patches and the mos7840 broken-TIOCMIWAIT-patch are
unchanged from previous postings, and the remaining patches fix two
use-after-free in all usb-serial TIOCMIWAIT implementations: the private
wait-queue along with any other data may be gone when waking up after a
disconnect.

I decided to fix the use-after-free separately from the issue of
processes not waking up at disconnect, which I'm holding back until
3.10.

Thanks,
Johan

Johan Hovold (21):
  USB: cdc-acm: fix device unregistration
  USB: garmin_gps: fix memory leak on disconnect
  USB: io_ti: fix get_icount for two port adapters
  USB: serial: fix interface refcounting
  USB: serial: add modem-status-change wait queue
  USB: ark3116: fix use-after-free in TIOCMIWAIT
  USB: ch341: fix use-after-free in TIOCMIWAIT
  USB: cypress_m8: fix use-after-free in TIOCMIWAIT
  USB: f81232: fix use-after-free in TIOCMIWAIT
  USB: ftdi_sio: fix use-after-free in TIOCMIWAIT
  USB: io_edgeport: fix use-after-free in TIOCMIWAIT
  USB: io_ti: fix use-after-free in TIOCMIWAIT
  USB: mct_u232: fix use-after-free in TIOCMIWAIT
  USB: mos7840: fix broken TIOCMIWAIT
  USB: mos7840: fix use-after-free in TIOCMIWAIT
  USB: oti6858: fix use-after-free in TIOCMIWAIT
  USB: pl2303: fix use-after-free in TIOCMIWAIT
  USB: quatech2: fix use-after-free in TIOCMIWAIT
  USB: spcp8x5: fix use-after-free in TIOCMIWAIT
  USB: ssu100: fix use-after-free in TIOCMIWAIT
  USB: ti_usb_3410_5052: fix use-after-free in TIOCMIWAIT

 drivers/usb/class/cdc-acm.c           |  3 ++-
 drivers/usb/serial/ark3116.c          | 10 ++++++----
 drivers/usb/serial/ch341.c            | 11 ++++++-----
 drivers/usb/serial/cypress_m8.c       | 14 ++++++++------
 drivers/usb/serial/f81232.c           |  9 +++++----
 drivers/usb/serial/ftdi_sio.c         | 19 ++++++++-----------
 drivers/usb/serial/garmin_gps.c       |  7 +------
 drivers/usb/serial/io_edgeport.c      | 12 +++++++-----
 drivers/usb/serial/io_ti.c            | 13 +++++++------
 drivers/usb/serial/mct_u232.c         | 13 +++++++------
 drivers/usb/serial/mos7840.c          | 16 ++++++++++------
 drivers/usb/serial/oti6858.c          | 10 ++++++----
 drivers/usb/serial/pl2303.c           | 11 ++++++-----
 drivers/usb/serial/quatech2.c         | 12 +++++++-----
 drivers/usb/serial/spcp8x5.c          |  9 +++++----
 drivers/usb/serial/ssu100.c           | 12 +++++++-----
 drivers/usb/serial/ti_usb_3410_5052.c | 10 ++++++----
 drivers/usb/serial/usb-serial.c       |  3 ++-
 include/linux/usb/serial.h            |  2 ++
 19 files changed, 108 insertions(+), 88 deletions(-)

-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux