Re: [PATCH v3] Bluetooth: RFCOMM: validate skb length in MCC handlers
From: patchwork-bot+bluetooth
Date: Thu May 28 2026 - 10:20:22 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Mon, 25 May 2026 20:04:43 +0900 you wrote:
> The RFCOMM MCC handlers cast skb->data to protocol-specific structs
> without validating skb->len first. A malicious remote device can send
> truncated MCC frames and trigger out-of-bounds reads in these handlers.
>
> Fix this by using skb_pull_data() to validate and access the required
> data before dereferencing it.
>
> [...]
Here is the summary with links:
- [v3] Bluetooth: RFCOMM: validate skb length in MCC handlers
https://git.kernel.org/bluetooth/bluetooth-next/c/a82ccb946ae5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html