From: Ido Schimmel <idosch@nvidia.com>
To: Julian Anastasov <ja@ssi.bg>
Cc: Axel Mierczuk <axel.mierczuk@1password.com>,
Simon Horman <horms@verge.net.au>,
Pablo Neira Ayuso <pablo@netfilter.org>,
Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>,
David Ahern <dsahern@kernel.org>,
Eric Dumazet <edumazet@google.com>,
netfilter-devel@vger.kernel.org, lvs-devel@vger.kernel.org,
coreteam@netfilter.org, netdev@vger.kernel.org,
Willy Tarreau <w@1wt.eu>,
Keith Hoodlet <keith.hoodlet@1password.com>
Subject: Re: [PATCH nf 0/2] ipvs: fix OOB write when NATing ICMPv6 errors quoting non-first fragments
Date: Mon, 28 Sep 2026 14:15:38 +0300 [thread overview]
Message-ID: <20260928111538.GA389451@shredder> (raw)
In-Reply-To: <0458880e-5e0f-1f11-7ce2-e0490796c832@ssi.bg>
On Fri, Sep 25, 2026 at 08:50:58PM +0300, Julian Anastasov wrote:
>
> Hello,
>
> On Fri, 25 Sep 2026, Axel Mierczuk wrote:
>
> > This series fixes a 16-byte OOB write past the verified skb area,
> > reachable through ICMPv6 errors that quote non-first fragments.
> > Following Julian's suggestion, it preserves ESP ICMPv6 handling.
> >
> > Patch 1 includes the embedded IP header in ciph.len at both ICMPv6
> > call sites when parsing stops at a non-first fragment. The change
> > follows the ip_vs_fill_iph_skb_icmp() calls and does not depend on
> > patch 2.
> >
> > Patch 2 makes ipv6_find_hdr() set *offset to the fragment payload
> > for non-first fragments when target < 0, so every successful return
> > updates it. It carries no Fixes tag because it defines an offset
> > that was previously unspecified.
> >
> > Axel Mierczuk (2):
> > ipvs: avoid out-of-bounds write in ip_vs_nat_icmp_v6
> > ipv6: update *offset for non-first fragments in ipv6_find_hdr()
> >
> > net/ipv6/exthdrs_core.c | 6 +++++-
> > net/netfilter/ipvs/ip_vs_core.c | 14 ++++++++++++++
> > 2 files changed, 19 insertions(+), 1 deletion(-)
>
> Both patches look good to me, thanks!
>
> Acked-by: Julian Anastasov <ja@ssi.bg>
>
> The ipv6 patch needs review from the net team and
> may need some Fixes line:
>
> Fixes: b777e0ce7437 ("[NETFILTER]: make ipv6_find_hdr() find transport protocol header")
Doesn't patch 2 make patch 1 redundant? It seems that the comments added
by patch 1 become stale with patch 2, no?
If so, why do we need both? Why not send only patch 2 and blame
63dca2c0b0e7a?
next prev parent reply other threads:[~2026-09-28 11:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 14:11 [PATCH nf 0/2] ipvs: fix OOB write when NATing ICMPv6 errors quoting non-first fragments Axel Mierczuk
2026-09-25 14:11 ` [PATCH nf 1/2] ipvs: avoid out-of-bounds write in ip_vs_nat_icmp_v6 Axel Mierczuk
2026-09-29 15:57 ` netdev-bot+sashiko
2026-09-25 14:11 ` [PATCH nf 2/2] ipv6: update *offset for non-first fragments in ipv6_find_hdr() Axel Mierczuk
2026-09-29 15:57 ` netdev-bot+sashiko
2026-09-25 17:50 ` [PATCH nf 0/2] ipvs: fix OOB write when NATing ICMPv6 errors quoting non-first fragments Julian Anastasov
2026-09-28 11:15 ` Ido Schimmel [this message]
2026-09-30 17:34 ` Julian Anastasov
2026-10-01 16:10 ` Ido Schimmel
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=20260928111538.GA389451@shredder \
--to=idosch@nvidia.com \
--cc=axel.mierczuk@1password.com \
--cc=coreteam@netfilter.org \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=horms@verge.net.au \
--cc=ja@ssi.bg \
--cc=keith.hoodlet@1password.com \
--cc=lvs-devel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=phil@nwl.cc \
--cc=w@1wt.eu \
/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