Merge tag 'nf-26-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Pablo Neira Ayuso says:
====================
Netfilter fixes for net
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.
netfilter pull request 26-11-30
* tag 'nf-26-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
netfilter: nf_tables: only disable tables on a dormant transition
netfilter: synproxy: fix double tsoff application in server ACK TSecr
netfilter: bridge: detach conntrack template on invalid IP frames
netfilter: conntrack: skip unconfirmed entries in /proc/net/nf_conntrack
netfilter: conntrack: limit master chain depth
netfilter: nft_synproxy: only handle pure SYN and ACK packets
netfilter: conntrack: wait for RCU readers before freeing the hash
netfilter: synproxy: prevent unbounded recursion in transmit path
netfilter: xt_IDLETIMER: restrict to init_net
netfilter: conntrack: prevent helper extension relocation
====================
Link: https://patch.msgid.link/20261130215141.1009148-1-pablo@netfilter.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>