mbox series

[0/2] USB: serial: whiteheat: fix slab corruption and endianness bug

Message ID 20191029102354.2733-1-johan@kernel.org (mailing list archive)
Headers show
Series USB: serial: whiteheat: fix slab corruption and endianness bug | expand

Message

Johan Hovold Oct. 29, 2019, 10:23 a.m. UTC
These patches fix a user-controlled slab buffer corruption, and adds a
missing endianess conversion when setting the line speed.

Greg, feel free to pick up the first one directly if you want.

Johan


Johan Hovold (2):
  USB: serial: whiteheat: fix potential slab corruption
  USB: serial: whiteheat: fix line-speed endianness

 drivers/usb/serial/whiteheat.c | 13 ++++++++++---
 drivers/usb/serial/whiteheat.h |  2 +-
 2 files changed, 11 insertions(+), 4 deletions(-)