linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Bluetooth: fix hci-uart crashes
@ 2017-03-29 16:15 Johan Hovold
  2017-03-29 16:15 ` [PATCH 1/2] Bluetooth: hci_bcm: add missing tty-device sanity check Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johan Hovold @ 2017-03-29 16:15 UTC (permalink / raw)
  To: Marcel Holtmann, Gustavo Padovan, Johan Hedberg
  Cc: linux-bluetooth, linux-kernel, Johan Hovold

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

-- 
2.12.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-29 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-29 16:15 [PATCH 0/2] Bluetooth: fix hci-uart crashes Johan Hovold
2017-03-29 16:15 ` [PATCH 1/2] Bluetooth: hci_bcm: add missing tty-device sanity check Johan Hovold
2017-03-29 16:15 ` [PATCH 2/2] Bluetooth: hci_intel: " Johan Hovold
2017-03-29 18:57 ` [PATCH 0/2] Bluetooth: fix hci-uart crashes Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).