Re: [PATCH] Bluetooth: hci_sock: reject out-of-range OCF values
From: patchwork-bot+bluetooth
Date: Wed Sep 16 2026 - 14:10:04 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Tue, 15 Sep 2026 13:03:58 -0300 you wrote:
> The raw HCI socket security filter has 128 OCF bits per supported OGF,
> but masks the 10-bit OCF with 127 before looking up the command. An
> unprivileged socket can therefore submit a reserved OCF that aliases an
> allowlisted command modulo 128.
>
> A conforming controller should reject reserved opcodes. Nevertheless,
> the security decision must apply to the opcode that will actually be
> sent, especially since controller-specific behavior is outside the host
> stack's control.
>
> [...]
Here is the summary with links:
- Bluetooth: hci_sock: reject out-of-range OCF values
https://git.kernel.org/bluetooth/bluetooth-next/c/e93fad891c72
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html