Re: [PATCH v3] Bluetooth: RFCOMM: validate skb length in MCC handlers

[email protected]
Newsgroups dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel
Message-ID <177997800664.948024.5743539938103755383.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <[email protected]>:

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.