[PATCH v3 RESEND 0/5] Bluetooth: btusb: fix wakeup irq devres lifetime

From: Johan Hovold

Date: Wed Jun 03 2026 - 11:14:27 EST


[ This one was posted two months ago and appears to have been archived
in patchwork so resending (with Paul's RB added to patch 1/5). ]

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 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 | 61 +++++++++++++++++++++++++++------------
1 file changed, 43 insertions(+), 18 deletions(-)

--
2.53.0