[PATCH v2 0/6] USB: fix hub-descriptor handling

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

 



This series fixes some issues with how we handle hub descriptors,
including a couple of small slab info leaks that could be triggered by a
malicious hub.

Note that the usbip fix has been compile tested only.

Johan


Changes in v2
 - mark the single dummy_hcd port as removable (patch 1)
 - add Alan's ACKs (patches 3 and 5)


Johan Hovold (6):
  USB: gadget: dummy_hcd: fix hub-descriptor removable fields
  USB: usbip: fix nonconforming hub descriptor
  USB: hub: fix SS hub-descriptor handling
  USB: hub: fix non-SS hub-descriptor handling
  USB: hub: fix SS max number of ports
  USB: host: xhci: use max-port define

 drivers/usb/core/hub.c             | 27 +++++++++++++++++++++------
 drivers/usb/gadget/udc/dummy_hcd.c |  6 +++---
 drivers/usb/host/xhci-mem.c        |  7 ++++---
 drivers/usb/usbip/vhci_hcd.c       | 11 ++++++++---
 include/uapi/linux/usb/ch11.h      |  3 +++
 5 files changed, 39 insertions(+), 15 deletions(-)

-- 
2.13.0

--
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