Thread (3 messages) 3 messages, 3 authors, 5d ago

Re: [PATCH net] net: hsr: fix potential OOB access in supervision frame handling

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-05-25 21:29:59
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Sat, 23 May 2026 15:03:30 +0200 you wrote:
From: Luka Gejak <redacted>

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 <redacted>

[...]
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help