Re: [PATCH net v2] ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()
From: patchwork-bot+netdevbpf
Date: Wed May 27 2026 - 22:20:09 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 25 May 2026 21:10:31 +0530 you wrote:
> ipv6_rpl_srh_decompress() computes:
>
> outhdr->hdrlen = (((n + 1) * sizeof(struct in6_addr)) >> 3);
>
> hdrlen is __u8. For n >= 127 the result exceeds 255 and silently
> truncates. With n=127 (cmpri=15, cmpre=15, pad=0, hdrlen=16):
>
> [...]
Here is the summary with links:
- [net,v2] ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()
https://git.kernel.org/netdev/net/c/9d5e7a46a9f6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html