Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Bluetooth: btusb: fix wakeup irq devres lifetime
@ 2026-06-04  6:37 Johan Hovold
  2026-06-04  6:37 ` [PATCH v4 1/5] Bluetooth: btusb: fix use-after-free on registration failure Johan Hovold
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Johan Hovold @ 2026-06-04  6:37 UTC (permalink / raw)
  To: Luiz Augusto von Dentz, Marcel Holtmann
  Cc: linux-bluetooth, linux-kernel, Johan Hovold

This series fixes a couple of use-after-free issues and a wakeup source
leak on probe failure and a (currently benign) OOB wakeup interrupt
devres lifetime issue.

Included is also a related cleanup.

Johan


Changes in v4:
 - fix unused label warning with !CONFIG_PM

Changes in v3:
 - fix use-after-free on registration failure (new patch)
 - fix use-after-free on marvell probe failure (new patch)

Changes in v2:
 - fix wakeup source leak (new patch)
 - fix disconnect-while-suspended issue by making interrupt non-managed
 - amend devres lifetime fix commit message with a reference to changed
   devres behaviour
 - clean up error handling (new patch)


Johan Hovold (5):
  Bluetooth: btusb: fix use-after-free on registration failure
  Bluetooth: btusb: fix use-after-free on marvell probe failure
  Bluetooth: btusb: fix wakeup source leak on probe failure
  Bluetooth: btusb: fix wakeup irq devres lifetime
  Bluetooth: btusb: clean up probe error handling

 drivers/bluetooth/btusb.c | 74 ++++++++++++++++++++++++++++-----------
 1 file changed, 54 insertions(+), 20 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-06-04  9:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-04  6:37 [PATCH v4 0/5] Bluetooth: btusb: fix wakeup irq devres lifetime Johan Hovold
2026-06-04  6:37 ` [PATCH v4 1/5] Bluetooth: btusb: fix use-after-free on registration failure Johan Hovold
2026-06-04  9:28   ` Bluetooth: btusb: fix wakeup irq devres lifetime bluez.test.bot
2026-06-04  6:37 ` [PATCH v4 2/5] Bluetooth: btusb: fix use-after-free on marvell probe failure Johan Hovold
2026-06-04  6:37 ` [PATCH v4 3/5] Bluetooth: btusb: fix wakeup source leak on " Johan Hovold
2026-06-04  6:37 ` [PATCH v4 4/5] Bluetooth: btusb: fix wakeup irq devres lifetime Johan Hovold
2026-06-04  6:37 ` [PATCH v4 5/5] Bluetooth: btusb: clean up probe error handling Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox