Re: [PATCH net] net: hsr: fix potential OOB access in supervision frame handling
From: patchwork-bot+netdevbpf
Date: Mon May 25 2026 - 17:30:14 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 23 May 2026 15:03:30 +0200 you wrote:
> From: Luka Gejak <luka.gejak@xxxxxxxxx>
>
> Ensure the entire TLV header is linearized before access by adding
> sizeof(struct hsr_sup_tlv) to the pskb_may_pull() calls. Without this,
> a truncated frame could cause an out-of-bounds access.
>
> Assisted-by: Gemini:Gemini-3.1-flash
> Fixes: eafaa88b3eb7 ("net: hsr: Add support for redbox supervision frames")
> Signed-off-by: Luka Gejak <luka.gejak@xxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net] net: hsr: fix potential OOB access in supervision frame handling
https://git.kernel.org/netdev/net/c/f229426072fc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html