Skip to content

Bluetooth: qca: fix NULL-deref on non-serdev setup

Johan Hovold linux-bluetooth lkml stable 2 versions – Applied

Status from this message: This series was applied to bluetooth/bluetooth-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/22 patches 1 replyApplied 2/2
  2. v1 posting 1/22 patches 14 repliesSuperseded

Patches in v1 posting 2/2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2Bluetooth: qca: fix NULL-deref on non-serdev suspenddrivers/bluetooth/hci_qca.c+3 -01 replyApplied
2/2Bluetooth: qca: fix NULL-deref on non-serdev setupdrivers/bluetooth/hci_qca.c+4 -20 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RESEND 0/2] Bluetooth: qca: fix NULL-deref on non-serdev setup

Qualcomm Bluetooth controllers can be registered either from a serdev driver or from the Bluetooth line discipline. In the latter case, the HCI UART serdev pointer is NULL, something which the driver needs to handle without crashing.

This series fixes one such issue at setup() time which incidentally masked a similar crash at suspend. Fix this in two separate patches so that the latter issue is addressed in pre-6.2 stable kernels.

Johan

Johan Hovold (2):
Bluetooth: qca: fix NULL-deref on non-serdev suspend
Bluetooth: qca: fix NULL-deref on non-serdev setup

 drivers/bluetooth/hci_qca.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.2