Re: [PATCH v3] Bluetooth: MGMT: validate advertising TLV before type checks
From: patchwork-bot+bluetooth
Date: Thu May 28 2026 - 10:20:41 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Thu, 28 May 2026 17:45:06 +0800 you wrote:
> tlv_data_is_valid() reads each advertising data field length from
> data[i], then inspects data[i + 1] for managed EIR types before
> checking that the current field still fits inside the supplied buffer.
>
> A malformed field whose length byte is the last byte of the buffer can
> therefore make the parser read one byte past the advertising data.
>
> [...]
Here is the summary with links:
- [v3] Bluetooth: MGMT: validate advertising TLV before type checks
https://git.kernel.org/bluetooth/bluetooth-next/c/899a200a7648
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html