Re: [PATCH] Bluetooth: MGMT: validate LTK enc_size on load

From: patchwork-bot+bluetooth

Date: Mon Mar 30 2026 - 16:20:31 EST


Hello:

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

On Sat, 28 Mar 2026 16:46:47 +0800 you wrote:
> Load Long Term Keys stores the user-provided enc_size and later uses
> it to size fixed-size stack operations when replying to LE LTK
> requests. An enc_size larger than the 16-byte key buffer can therefore
> overflow the reply stack buffer.
>
> Reject oversized enc_size values while validating the management LTK
> record so invalid keys never reach the stored key state.
>
> [...]

Here is the summary with links:
- Bluetooth: MGMT: validate LTK enc_size on load
https://git.kernel.org/bluetooth/bluetooth-next/c/2ba40afb67d1

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