From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (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 AB2E047ACC6; Thu, 27 Aug 2026 14:29:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.216.245.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787840984; cv=none; b=QFLBlTK7jJAvAIhSdKB8K/5Erf4C+kJmF/GgyBvaGn/XHjHXD981zRrEX0oBJQ3cAF8RwFLC6s4Nsg1xP7LTstV+zRGngylhYZ1mMgFQKJp+LaU287XzpTYKQE5mHzsrFpr7hJbUX1UAAz87a4R3BmdimomqhXlD1NdRSxD3iaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787840984; c=relaxed/simple; bh=nVlbatA/iH85BPi6NincgPUw3sFNqvX+MmZ1HYgQNmM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uIUUkbXFPQ1pSo1dlmZQ3UTF3E5ILGjQUImRMNghY8G7OYbWMrQBzt+Cw71DFAJS9oc4mFy1bjviwiNKUaMkKn4n+Z9PWJwiuFeuhwNDA92VhzCLazR63QGw6ASTtUHLvsXU/V3OaTSbpl7RrtElmctiaAGnrQZm+nz6ubpA0EY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.client-ip=91.216.245.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id A57F560260; Thu, 27 Aug 2026 16:29:36 +0200 (CEST) Date: Thu, 27 Aug 2026 16:29:28 +0200 From: Florian Westphal To: netfilter-devel@vger.kernel.org Cc: bridge@lists.linux.dev, netdev@vger.kernel.org, Pablo Neira Ayuso , Nikolay Aleksandrov , Ido Schimmel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sabrina Dubroca , Phil Sutter , Simon Horman , linux-kernel@vger.kernel.org Subject: Re: [BUG] net/bridge: out-of-bounds in br_forward() Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: co 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. 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.