Re: [PATCH net] cipso: stop modifying live ip_options_rcu
From: patchwork-bot+netdevbpf
Date: Tue Nov 10 2026 - 19:50:54 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
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