Re: [PATCH] net, hsr: reject HSR frame if skb can't hold tag
From: patchwork-bot+netdevbpf
Date: Wed Aug 20 2025 - 22:40:16 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 19 Aug 2025 08:28:42 +0000 you wrote:
> Receiving HSR frame with insufficient space to hold HSR tag in the skb
> can result in a crash (kernel BUG):
>
> [ 45.390915] skbuff: skb_under_panic: text:ffffffff86f32cac len:26 put:14 head:ffff888042418000 data:ffff888042417ff4 tail:0xe end:0x180 dev:bridge_slave_1
> [ 45.392559] ------------[ cut here ]------------
> [ 45.392912] kernel BUG at net/core/skbuff.c:211!
> [ 45.393276] Oops: invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI
> [ 45.393809] CPU: 1 UID: 0 PID: 2496 Comm: reproducer Not tainted 6.15.0 #12 PREEMPT(undef)
> [ 45.394433] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
> [ 45.395273] RIP: 0010:skb_panic+0x15b/0x1d0
>
> [...]
Here is the summary with links:
- net, hsr: reject HSR frame if skb can't hold tag
https://git.kernel.org/netdev/net/c/7af76e9d18a9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html