Re: [PATCH v2] Bluetooth: MGMT: validate mesh send advertising payload length

From: patchwork-bot+bluetooth

Date: Wed Apr 01 2026 - 14:38:38 EST


Hello:

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

On Wed, 1 Apr 2026 22:25:26 +0800 you wrote:
> mesh_send() currently bounds MGMT_OP_MESH_SEND by total command
> length, but it never verifies that the bytes supplied for the
> flexible adv_data[] array actually match the embedded adv_data_len
> field. MGMT_MESH_SEND_SIZE only covers the fixed header, so a
> truncated command can still pass the existing 20..50 byte range
> check and later drive the async mesh send path past the end of the
> queued command buffer.
>
> [...]

Here is the summary with links:
- [v2] Bluetooth: MGMT: validate mesh send advertising payload length
https://git.kernel.org/bluetooth/bluetooth-next/c/2c12536623ca

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