Re: [PATCH v3] Bluetooth: btnxpuart: Validate the FW dump header length
From: patchwork-bot+bluetooth
Date: Mon Aug 17 2026 - 15:53:42 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Fri, 14 Aug 2026 18:28:48 +0000 you wrote:
> nxp_process_fw_dump() pulls the ACL header off the frame and then reads
> seq_num and buf_len from a struct nxp_fw_dump_hdr placed at skb->data,
> without checking that the ACL payload is long enough to contain it.
>
> h4_recv_buf() collects HCI_ACL_HDR_SIZE bytes of header followed by the
> number of payload bytes named in that header, so skb->len is 4 + dlen
> with dlen supplied by the controller and possibly smaller than the 8
> byte dump header, or zero. A short frame with connection handle 0xfff
> therefore reads both fields from beyond the received data.
>
> [...]
Here is the summary with links:
- [v3] Bluetooth: btnxpuart: Validate the FW dump header length
https://git.kernel.org/bluetooth/bluetooth-next/c/1fcf216462ec
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html