Article View: linux.kernel.netdev
Article #430Re: [PATCH net v2] cipso: adjust cached option offsets when removing CIPSO
From: 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
Technical Details
Message-ID:
<179142660756.3776717.7354784609355599036.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342661-linux-kernel-netdev=dewy.ruReferences:
<20261006035108.3101440-1-4ncienth@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342661-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] cipso: adjust cached option offsets when removing CIPSO Date: Thu, 08 Oct 2026 02:30:07 +0000 Organization: Usenet Network Message-ID: <179142660756.3776717.7354784609355599036.git-patchwork-notify@kernel.org> References: <20261006035108.3101440-1-4ncienth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="785336"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:CrGuJqYrARNUJKqIGZQtDyD6ZFM= sha256:cpgLhXqbOqCuoHG5GKK3ZWGV0bC9VIQoMKoqAPrGI5Y= sha1:xrpXyu0yPxY2veZbQWhPTYVeD7o= sha256:Tx8EK7yTrHtGK2ymI+lB3v87MdhPM4pJOakO5PwDodk= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id AA8B010F2BA; Thu, 8 Oct 2026 05:30:20 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.741 X-Spam-Status: No, score=-3.741 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id moENlSE-I8tJ; Thu, 8 Oct 2026 05:30:17 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-342661-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 3A75E10F24F; Thu, 8 Oct 2026 05:30:14 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sto.lore.kernel.org (Postfix) with ESMTP id 7702D6017D0; Thu, 8 Oct 2026 02:30:13 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C74EC3A6EEE; Thu, 8 Oct 2026 02:30:11 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z/wQv5Uf" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8084F3A5452; Thu, 8 Oct 2026 02:30:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791426611; cv=none; b=FqlUM7cTOoldGfmQT34oEN1TDG4ACrlK44C9mGVe+1Q0HP36h2V/dWwOtt2Ai4OjqKOfmRpix4VgDF13bpaczTUuwzwQe+61j6AS8zyPVA3fHgp13MJ49tN9C02HoNlbViDVKjCD5Yi90oES5sIboJXynjAX5FIdXkuj9zsBf14= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791426611; c=relaxed/simple; bh=I27rRhn58fI39cqw79T1wFeJaXzTECV2dnSjLIcGZIc=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=hGYILX9WQ9ypvUj2YyZ5IqTbS8roIDzWAQ5FVuTfjE7MeoY1nj0h3+FLqDaGRg2Yni32g3C0OuqgGQBysTUS8eoKisaIxmaC2iEfs9X1fIBKsycYDxZ/7/SfPZv4bsH4BoyrEAMqlzDe1Z7pXU1MPvIArKnPaNv8tl5lf9Wj4vA= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z/wQv5Uf; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE3FC1F000FF; Thu, 8 Oct 2026 02:30:08 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791426608; bh=9k4ZBxh+JBZUg2t0YivBqanLOHiRzWKja7+psTdWYPU=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Z/wQv5Ufg4mYaKZShUpC82KKERMtj3z2cfgdba/MV/vepqZFFCmWVxBSCaV+rZNu3 Sl9RIgftwTRWXcoqYstPHL10srJNLrCzN7a2JlS5p0Q8x83sYZDsPuTZflc3pwJisO T9bRY1GC9R6Yi4i0FCSESfgptP+VRVAnHFDBLIhIYR8m59wyHGnQQnKZOSw/U7FyO+ L/MYZ4js5IDj0djvxZSXKo+SgHh/mBesOZtQyMe06DQyEufwyWletSZhzCL3mN9AU8 JeqwJtlS6akkzlyhtDmAiztwXOGqjkB63cR9+X/rQnzFbW+osu0sve0Gzx7IGIHuRO CVmminJVCPqIg== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B46C53809A09; Thu, 8 Oct 2026 02:30:08 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261006035108.3101440-1-4ncienth@gmail.com> X-Cc: paul@paul-moore.com, omosnacek@gmail.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org