Skip to content

Bluetooth: fix hci-uart crashes

Johan Hovold linux-bluetooth lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Bluetooth: hci_bcm: add missing tty-device sanity checkdrivers/bluetooth/hci_bcm.c+4 -10 replies
2/2Bluetooth: hci_intel: add missing tty-device sanity checkdrivers/bluetooth/hci_intel.c+12 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Bluetooth: fix hci-uart crashes

Not every tty has a class device and this could be used to trigger NULL-pointer dereferences in two hci-uart drivers that lacked the required sanity checks.

Johan

Johan Hovold (2):
Bluetooth: hci_bcm: add missing tty-device sanity check
Bluetooth: hci_intel: add missing tty-device sanity check

 drivers/bluetooth/hci_bcm.c   |  5 ++++-
 drivers/bluetooth/hci_intel.c | 13 ++++++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)
Signature · 1 line
2.12.2