Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Wed, 11 Nov 2026 00:50
Re: [PATCH net] cipso: stop modifying live ip_options_rcu
Author: patchwork-bot+netdevbpf
Date: Wed, 11 Nov 2026 00:50
Date: Wed, 11 Nov 2026 00:50
25 lines
8892 bytes
8892 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 06 Nov 2026 22:40:31 +0100 you wrote:
> cipso_v4_delopt() operates on the ip_options_rcu of a socket or a request
> socket, and tries to remove CIPSO options from the middle by moving all
> subsequent options.
> That's not allowed - ip_options_rcu can be read locklessly and must always
> be consistent. For example, ip_options_undo() reads trusted offsets and
> length values from the options buffer.
> Fix it by doing the modification in a copy.
>
> [...]
Here is the summary with links:
- [net] cipso: stop modifying live ip_options_rcu
https://git.kernel.org/netdev/net/c/1f2c5183fc09
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