From: no-reply@sashiko.virtuozzo.com
To: Eva Kurchatova <eva.kurchatova@virtuozzo.com>,
khorenko@virtuozzo.com, vladimir.riabchun@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v2 14/15] ms/cipso: fix optlen corruption in cipso_v4_delopt()
Date: Tue, 1 Dec 2026 15:45:27 +0000 [thread overview]
Message-ID: <010701a232484769-a8f7060d-6860-4539-a088-14f1059082c4-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261201153749.2872789-15-eva.kurchatova@virtuozzo.com>
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [High] cipso: author Signed-off-by uses single-word name 'Qihang'
- [High] cipso: maintainer Signed-off-by has non-routable email address
- [Low] cipso: commit message cites two different upstream SHAs
--
commit 4341b16c3e5e02ec9bf9137ae56977c316d8fba1
Author: Qihang <q.h.hack.winter@gmail.com>
ms/cipso: fix optlen corruption in cipso_v4_delopt()
This backport computes the new option length in cipso_v4_delopt() from the intact options before the CIPSO option is moved out. Previously the length was recomputed from stale tail bytes after the move. It then subtracts the CIPSO length and fills the padding with IPOPT_END.
> ms/cipso: fix optlen corruption in cipso_v4_delopt()
>
> [ Upstream commit 1f1f8e8c5176234fa31858cd25f2e9b88aac0a45 ]
>
> cipso_v4_delopt() recomputes the option length by walking the option
> buffer after the CIPSO option has been moved out. The walk then reads
> the stale bytes at the tail of the buffer as option data, and a crafted
> setsockopt(IP_OPTIONS) buffer can make it treat one of them as an option
> length, increasing opt->opt.optlen beyond the valid option data.
>
> [ ... ]
>
> Assisted-by: LLM
> Fixes: 014ab19a69c32 ("selinux: Set socket NetLabel based on connection endpoint")
> Cc: stable@vger.kernel.org
> Signed-off-by: Qihang <q.h.hack.winter@gmail.com>
[Severity: High]
Is "Qihang" the author's full real name? The sign-off is a single word and the address looks like a handle. The DCO needs a real, identifiable name, so please confirm it or use the full name from the upstream commit.
> Acked-by: Paul Moore <paul@paul-moore.com>
> Signed-off-by: Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>
[Severity: High]
Can this address be correct? The .csb domain is not routable, and the identity differs from the upstream "David S. Miller <davem@davemloft.net>". It looks like a local git identity picked up during the cherry-pick. Could the trailer be restored to the upstream identity?
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> (cherry picked from commit 699141380f7f249b7ee594198d9bea6bcd4862ea)
[Severity: Low]
Which SHA is the mainline commit? The header says "Upstream commit 1f1f8e8c5176..." but the trailer says "cherry picked from commit 699141380f7f...". Both cannot name the same change, so one of them should be corrected or the difference explained.
The Fixes: SHA is also 13 characters. The usual form is the 12-character abbreviation:
Fixes: 014ab19a69c3 ("selinux: Set socket NetLabel based on connection endpoint")
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261201153749.2872789-1-eva.kurchatova@virtuozzo.com?part=14
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-12-01 15:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 12:10 [Devel] [PATCH hci-8.2 v2 00/15] ms: backport additional TFO and CALIPSO fixes Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 01/15] ms/tcp: clear sock_ops cb flags before force-closing a child socket Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 02/15] ms/tcp: Skip cond_resched() in inet_csk_listen_stop() under BPF context Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 03/15] ms/net/ipv6: Introduce payload_len helpers Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 04/15] ms/calipso: keep BIG TCP payload_len in calipso_skbuff_setattr() Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 05/15] ms/calipso: hash the cache key, not the option start, in calipso_cache_add() Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 06/15] ms/calipso: update payload_len when removing the CALIPSO option Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 07/15] ms/tcp: fix NULL pointer dereference when restarting a Fast Open listener Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 08/15] ms/tcp: purge Fast Open RST queue when listen() fails Eva Kurchatova
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 09/15] ms/netlabel: fix IPv6 unlabeled address add error handling Eva Kurchatova
2026-12-01 15:42 ` no-reply
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 10/15] ms/netlabel: validate unlabeled address and mask attribute lengths Eva Kurchatova
2026-12-01 15:42 ` no-reply
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 11/15] ms/bpf: Fix out-of-bounds read of sk_protocol in bpf_sock_destroy() Eva Kurchatova
2026-12-01 15:43 ` no-reply
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 12/15] ms/selftests/bpf: Test bpf_sock_destroy() on TIME_WAIT and listener socks Eva Kurchatova
2026-12-01 15:43 ` no-reply
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 13/15] ms/tcp: initialize send sequence numbers before deferring TFO Eva Kurchatova
2026-12-01 15:44 ` no-reply
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 14/15] ms/cipso: fix optlen corruption in cipso_v4_delopt() Eva Kurchatova
2026-12-01 15:45 ` no-reply [this message]
2026-12-01 12:10 ` [Devel] [PATCH hci-8.2 v2 15/15] ms/cipso: stop modifying live ip_options_rcu Eva Kurchatova
2026-12-01 15:45 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=010701a232484769-a8f7060d-6860-4539-a088-14f1059082c4-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=devel@openvz.org \
--cc=eva.kurchatova@virtuozzo.com \
--cc=khorenko@virtuozzo.com \
--cc=vladimir.riabchun@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox