Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Thu, 08 Oct 2026 02:30
Re: [PATCH net v2] cipso: adjust cached option offsets when removing CIPSO
Author: patchwork-bot+netdevbpf
Date: Thu, 08 Oct 2026 02:30
Date: Thu, 08 Oct 2026 02:30
27 lines
6536 bytes
6536 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 6 Oct 2026 12:51:08 +0900 you wrote:
> cipso_v4_skbuff_delattr() removes the CIPSO bytes but does not adjust
> cached offsets for options that follow them.
>
> For example, with a valid 10-byte CIPSO option followed by a seven-byte
> RR option, parsing records rr at offset 30. Removing CIPSO moves RR to
> offset 20, while the cached offset remains 30. Consumers such as
> ip_forward_options() and __ip_options_echo() then access the wrong bytes;
> the latter may interpret packet data as the option length and copy it into
> fixed-size option storage.
>
> [...]
Here is the summary with links:
- [net,v2] cipso: adjust cached option offsets when removing CIPSO
https://git.kernel.org/netdev/net/c/6d25ffca055a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads