Re: [PATCH 0/2] Bluetooth: hci_qca: fix NULL pointer dereferences for non-serdev devices

From: patchwork-bot+bluetooth

Date: Mon Jun 01 2026 - 15:16:57 EST


Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Mon, 01 Jun 2026 04:30:54 -0700 you wrote:
> When a QCA controller is attached via a non-serdev path (e.g. hci_uart
> line discipline), hu->serdev is NULL. A couple of code paths dereference
> it unconditionally, leading to NULL pointer dereferences.
>
> This series fixes two such cases:
>
> - qca_setup() dereferences the result of
> serdev_device_get_drvdata(hu->serdev).
> - qca_dmp_hdr() dereferences hu->serdev->dev.driver->name.
>
> [...]

Here is the summary with links:
- [1/2] Bluetooth: hci_qca: fix NULL pointer dereference in qca_setup() for non-serdev device
https://git.kernel.org/bluetooth/bluetooth-next/c/7bfdd3d9129c
- [2/2] Bluetooth: hci_qca: fix NULL pointer dereference in qca_dmp_hdr() for non-serdev device
https://git.kernel.org/bluetooth/bluetooth-next/c/4fcae45539b9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html