Re: [PATCH v2] Bluetooth: RFCOMM: pull credit byte with skb_pull_data()

From: patchwork-bot+bluetooth

Date: Fri Apr 24 2026 - 14:52:17 EST


Hello:

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

On Thu, 23 Apr 2026 23:31:00 +0800 you wrote:
> rfcomm_recv_data() treats the first payload byte as a credit field when
> the UIH frame carries PF and credit-based flow control is enabled.
>
> After the header has been stripped, the PF/CFC path consumes that byte
> with a direct skb->data dereference followed by skb_pull(). A malformed
> short frame can reach this path without a byte available.
>
> [...]

Here is the summary with links:
- [v2] Bluetooth: RFCOMM: pull credit byte with skb_pull_data()
https://git.kernel.org/bluetooth/bluetooth-next/c/2940edce391d

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