From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: davem@davemloft.net, netdev@vger.kernel.org, kuba@kernel.org,
pabeni@redhat.com, edumazet@kernel.org, horms@kernel.org,
fw@strlen.de, ja@ssi.bg
Subject: [PATCH net,v2 RESEND 00/10] Netfilter fixes for net
Date: Mon, 30 Nov 2026 22:51:31 +0100 [thread overview]
Message-ID: <20261130215141.1009148-1-pablo@netfilter.org> (raw)
v2: - add nft_synproxy to address SYN and ACK packets only patch.
- drop patches that need more work:
+ flowtable hardware offload cleanup (3 patches)
+ use ESTABLISHED state for TCP reject.
+ AH conntrack defrag issue needs another round too.
-o-
Hi,
The following patchset contains Netfilter fixes for net:
1) Allocate all ct extensions if ct helper extension is used, this is
needed because ct extension reallocation is possible while expectations
are already sitting in the expectation list. From Jaeyeong Lee.
2) Restrict xt_IDLETIMER to init_netns. This xtables extensions exposes
a global sysfs interface. Follow ups are possible to restore this
feature if someone proves to be using this extension from netns.
From Zhiling Zou.
3) Prevent an unbound recursion in the synproxy transmit path. This is
similar to a recent fix to address a similar recursion in the reject
transmit path. Patch from Fernando F. Mancera.
4) On conntrack module removal, wait for RCU quiescent state to address
possible use-after-free. From Chengfeng Ye.
5) Updates nft_synproxy to address SYN and ACK packets only, just
like ip{6}t_SYNPROXY does, otherwise hook re-entering is possible.
From Fernando F. Mancera
6) Restrict maximum number of chain of master conntracks to 8. This is
to address a recursion in the conntrack destroy path leading to
stack overflow. From Florian Westphal.
7) Skip recycled unconfirmed conntracks seen from /proc/net/nf_conntrack
due to TYPESAFE_RCU, otherwise access to ct extension of this new
unconfirmed conntrack results in a crash. from Yiran Qiu.
8) Detach ct template in conntrack bridge when packet is invalid,
otherwise ct template is exposed to follow up hooks in the pipeline.
From Luxiao Xu.
9) In synproxy, fix incorrect handshake ACK sent to the backend carries
a TSecr uncovered since commit 3ba075278c11 ("tcp: be less liberal in
TSEcr received while in SYN_RECV state"). This bug has been
reported in production. Patch from Florian Westphal.
10) Disable hook for dormant table only if transition to dormant state
took place in this transaction. From Ma Xinmen.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-11-30
Thanks.
----------------------------------------------------------------
The following changes since commit e1055cbfd6eb578417f3ce983cf44462e8465267:
Merge tag 'linux-can-fixes-for-7.4-20261124' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (2026-11-26 15:47:14 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-11-30
for you to fetch changes up to ee5c04c7d9d5cefd08ca7eb6e9bf434fecf44f92:
netfilter: nf_tables: only disable tables on a dormant transition (2026-11-30 21:59:26 +0100)
----------------------------------------------------------------
netfilter pull request 26-11-30
----------------------------------------------------------------
Chengfeng Ye (1):
netfilter: conntrack: wait for RCU readers before freeing the hash
Fernando Fernandez Mancera (1):
netfilter: synproxy: prevent unbounded recursion in transmit path
Florian Westphal (2):
netfilter: conntrack: limit master chain depth
netfilter: synproxy: fix double tsoff application in server ACK TSecr
Jaeyeong Lee (1):
netfilter: conntrack: prevent helper extension relocation
Luxiao Xu (1):
netfilter: bridge: detach conntrack template on invalid IP frames
Ma Xinmeng (1):
netfilter: nf_tables: only disable tables on a dormant transition
Nguyen Ngoc Thang (1):
netfilter: nft_synproxy: only handle pure SYN and ACK packets
Yiran Qiu (1):
netfilter: conntrack: skip unconfirmed entries in /proc/net/nf_conntrack
Zhiling Zou (1):
netfilter: xt_IDLETIMER: restrict to init_net
include/net/netfilter/nf_conntrack_helper.h | 15 +++++++++++
net/bridge/netfilter/nf_conntrack_bridge.c | 16 +++++++-----
net/netfilter/nf_conntrack_core.c | 1 +
net/netfilter/nf_conntrack_expect.c | 15 ++++++++---
net/netfilter/nf_conntrack_extend.c | 31 +++++++++++++++--------
net/netfilter/nf_conntrack_netlink.c | 36 ++++++++++++++++++--------
net/netfilter/nf_conntrack_standalone.c | 3 +++
net/netfilter/nf_synproxy_core.c | 39 ++++++++++++++++++++++++++---
net/netfilter/nf_tables_api.c | 2 +-
net/netfilter/nft_synproxy.c | 8 +++---
net/netfilter/xt_IDLETIMER.c | 7 ++++++
11 files changed, 135 insertions(+), 38 deletions(-)
next reply other threads:[~2026-11-30 21:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 21:51 Pablo Neira Ayuso [this message]
2026-11-30 21:51 ` [PATCH net 01/10] netfilter: conntrack: prevent helper extension relocation Pablo Neira Ayuso
2026-11-30 21:54 ` netdev-bot+sinfo
2026-11-30 21:56 ` Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 02/10] netfilter: xt_IDLETIMER: restrict to init_net Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 03/10] netfilter: synproxy: prevent unbounded recursion in transmit path Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 04/10] netfilter: conntrack: wait for RCU readers before freeing the hash Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 05/10] netfilter: nft_synproxy: only handle pure SYN and ACK packets Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 06/10] netfilter: conntrack: limit master chain depth Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 07/10] netfilter: conntrack: skip unconfirmed entries in /proc/net/nf_conntrack Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 08/10] netfilter: bridge: detach conntrack template on invalid IP frames Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 09/10] netfilter: synproxy: fix double tsoff application in server ACK TSecr Pablo Neira Ayuso
2026-11-30 21:51 ` [PATCH net 10/10] netfilter: nf_tables: only disable tables on a dormant transition 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=20261130215141.1009148-1-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=ja@ssi.bg \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pabeni@redhat.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