From: Nikolay Aleksandrov <razor@blackwall.org>
To: Florian Westphal <fw@strlen.de>, netfilter-devel@vger.kernel.org
Cc: bridge@lists.linux.dev, netdev@vger.kernel.org,
Pablo Neira Ayuso <pablo@netfilter.org>,
Ido Schimmel <idosch@nvidia.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Sabrina Dubroca <sd@queasysnail.net>, Phil Sutter <phil@nwl.cc>,
Simon Horman <horms@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [BUG] net/bridge: out-of-bounds in br_forward()
Date: Thu, 27 Aug 2026 17:35:50 +0300 [thread overview]
Message-ID: <ddf53430-f3ce-4ca8-aacd-3fd8ffc81091@blackwall.org> (raw)
In-Reply-To: <apBJyKJ7zs4kUmpd@strlen.de>
On 27/08/2026 17:29, Florian Westphal wrote:
> co <co+63bad23bb3b4cd85@bugs.sh> wrote:
>> We found a bug reachable in:
>>
>> path net/bridge/netfilter
>> crash out-of-bounds in br_forward()
>> commit 7b5344954050 ("Merge tag 'nf-26-08-10' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf")
>
> I'm looking into these reports, I think this is the same
> underlying bug as the other report; a variant of
>
> ccb9fd4b8753 ("netfilter: revalidate bridge ports")
>
> That bug uses nfnetlink_queue for RCU escape, the other two reports
> use defrag engine.
>
> And sure, its br_netfilter again -- I think we will have to consider
> removing it even though it will break existing setups.
>
+10
> As a compromise, I suggest to reject br_netfilter in user namespaces,
> i.e. call_iptables cannot be enabled anymore unless you have
> CAP_NET_ADMIN in init net.
+1000 :)
I absolutely agree on both counts.
next prev parent reply other threads:[~2026-08-27 14:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 12:43 co
2026-08-27 14:29 ` Florian Westphal
2026-08-27 14:35 ` Nikolay Aleksandrov [this message]
2026-08-27 14:54 ` Pablo Neira Ayuso
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=ddf53430-f3ce-4ca8-aacd-3fd8ffc81091@blackwall.org \
--to=razor@blackwall.org \
--cc=bridge@lists.linux.dev \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pablo@netfilter.org \
--cc=phil@nwl.cc \
--cc=sd@queasysnail.net \
/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
all inboxes | Powered by JetHome®