From: Johan Hovold <johan@kernel.org>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org,
Johan Hovold <johan@kernel.org>
Subject: [PATCH v4 0/5] Bluetooth: btusb: fix wakeup irq devres lifetime
Date: Thu, 4 Jun 2026 08:37:35 +0200 [thread overview]
Message-ID: <20260604063740.2595260-1-johan@kernel.org> (raw)
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
next reply other threads:[~2026-06-04 6:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-04 6:37 Johan Hovold [this message]
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
2026-06-04 15:52 ` [PATCH v4 0/5] Bluetooth: btusb: fix wakeup irq devres lifetime patchwork-bot+bluetooth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260604063740.2595260-1-johan@kernel.org \
--to=johan@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.