Netfilter updates for net-next
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 15 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | netfilter: disable br_netfilter in user namespacesDocumentation/ net/ | +26 | 2 replies | Applied |
| 2/15 | selftests: netfilter: nft_queue.sh: only queue icmp echo request/replytools/ | +1 | 2 replies | Applied |
| 3/15 | ipvs: fix buffer overflow when sending sync messagesnet/ | +14 | 0 replies | Applied |
| 4/15 | netfilter: nf_queue: limit the hook drop flush to the unregistered hook pointinclude/ net/ net/ +4 more | +47 | 2 replies | Applied |
| 5/15 | selftests: netfilter: nft_queue: check the scope of the hook drop flushtools/ tools/ | +129 | 1 reply | Applied |
| 6/15 | netfilter: conntrack: fix unlikely UaF in gc workernet/ | +5 | 0 replies | Applied |
| 7/15 | netfilter: nf_tables: switch chain_types array to rcunet/ net/ | +65 | 1 reply | Applied |
| 8/15 | netfilter: nft_exthdr: remove redundant op parsing in tcp_set_initnet/ | +2 | 0 replies | Applied |
| 9/15 | netfilter: nft_exthdr: avoid 60 bytes stack buffer in TCP option manglingnet/ | +20 | 1 reply | Applied |
| 10/15 | selftests: netfilter: fix return value in zone subtesttools/ | +22 | 0 replies | Applied |
| 11/15 | netfilter: nft_compat: restrict raw table targets/matchesnet/ | +15 | 1 reply | Applied |
| 12/15 | netfilter: flowtable: set inner protocol when popping tunnel headernet/ | +5 | 1 reply | Applied |
| 13/15 | netfilter: flowtable: populate tunnel tuple regardless of inner protocolnet/ | +10 | 0 replies | Applied |
| 14/15 | netfilter: flowtable: add encap_proto to flow_offload_tunnelinclude/ include/ net/ +3 more | +8 | 0 replies | Applied |
| 15/15 | netfilter: flowtable: unify tunnel push for IPv4 and IPv6net/ | +87 | 0 replies | Applied |
Reviews trailers per patch
3 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Aleksandrov | Florian Westphal | Fernando Fernandez Mancera |
|---|---|---|---|
| 1/15 | R-b | ||
| 2/15 | R-b | ||
| 3/15 | |||
| 4/15 | |||
| 5/15 | |||
| 6/15 | |||
| 7/15 | |||
| 8/15 | |||
| 9/15 | |||
| 10/15 | R-b | ||
| 11/15 | |||
| 12/15 | |||
| 13/15 | |||
| 14/15 | |||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next 00/15] Netfilter updates for net-next
Hi,
The following patchset contains Netfilter/IPVS updates for net-next:
1) Disable br_netfilter in userns and schedule it for removal in 2027, from Florian Westphal.
2) Update selftest nft_queue.sh to make it more stable on debug kernels, from Jakub Kicinski.
3) Fix a overflow in IPVS sync messages which can only happen in very old 2.6 kernels, from Julian Anastasov.
4) Finer grain packet drop in nfnetlink_queue when dependency objects are going away, from Antonio Ojea.
5) Add a selftest for the nfnetlink_queue packet drop case, also from Antonio Ojea.
6) Flush conntrack gc worker when existing netns to address a unlikely UaF, from Florian Westphal.
7) Switch nf_tables chain types to use rcu, otherwise module removal can trigger UaF, also from Florian.
8) Remove redundant parsing in nft_exthdr for the tcp options case, from Fernando F. Mancera.
9) Remove redundant skb_header_pointer() calls in nft_exthdr for tcp options, from Fernando F. Mancera.
10) Fix conntrack_vrf.sh selftest return value in zone subtest, from Florian Westphal.
11) Restrict raw table in nft_compat to specific family, hook and priority, from Florian Westphal.
Prepare the flowtable to support for IPv4 over IPv6 tunneling and vice-versa, this includes 4 patches from Lorenzo Bianconi.
12) Explicitly set inner protocol when popping header, this is not needed for the existing IPIP and IP6IP6 case because skb->protocol remains the same.
13) Simplify tuple tunnel information fill up when parsing outer tunnel IP headers.
14) Add a new encap_proto which determines the outer tunnel protocol family.
15) Prepare flowtable forwarding path to deal with mixed IPv4-IPv6 tunnels.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git nf-next-26-10-18
Thanks.
----------------------------------------------------------------
The following changes since commit a5e7d8e446af9803e37a3b6a4d416fb41178348f:
Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue (2026-10-05 17:51:32 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git nf-next-26-10-18
for you to fetch changes up to d0107f38162279d9cb0e012210731176265f835d:
netfilter: flowtable: unify tunnel push for IPv4 and IPv6 (2026-10-18 02:42:04 +0200)
----------------------------------------------------------------
netfilter pull request 26-10-18
----------------------------------------------------------------
Antonio Ojea (2):
netfilter: nf_queue: limit the hook drop flush to the unregistered hook point
selftests: netfilter: nft_queue: check the scope of the hook drop flush
Fernando Fernandez Mancera (2):
netfilter: nft_exthdr: remove redundant op parsing in tcp_set_init
netfilter: nft_exthdr: avoid 60 bytes stack buffer in TCP option mangling
Florian Westphal (5):
netfilter: disable br_netfilter in user namespaces
netfilter: conntrack: fix unlikely UaF in gc worker
netfilter: nf_tables: switch chain_types array to rcu
selftests: netfilter: fix return value in zone subtest
netfilter: nft_compat: restrict raw table targets/matches
Jakub Kicinski (1):
selftests: netfilter: nft_queue.sh: only queue icmp echo request/reply
Julian Anastasov (1):
ipvs: fix buffer overflow when sending sync messages
Lorenzo Bianconi (4):
netfilter: flowtable: set inner protocol when popping tunnel header
netfilter: flowtable: populate tunnel tuple regardless of inner protocol
netfilter: flowtable: add encap_proto to flow_offload_tunnel
netfilter: flowtable: unify tunnel push for IPv4 and IPv6
Documentation/networking/bridge.rst | 5 +- include/linux/netdevice.h | 1 + include/net/netfilter/nf_flow_table.h | 1 + include/net/netfilter/nf_queue.h | 3 +- net/bridge/br_netfilter_hooks.c | 33 ++-- net/ipv4/ipip.c | 1 + net/ipv6/ip6_tunnel.c | 1 + net/netfilter/core.c | 2 +- net/netfilter/ipvs/ip_vs_sync.c | 23 +-- net/netfilter/nf_conntrack_core.c | 7 +- net/netfilter/nf_flow_table_ip.c | 170 +++++++++++++-------- net/netfilter/nf_flow_table_path.c | 2 + net/netfilter/nf_internals.h | 2 +- net/netfilter/nf_queue.c | 4 +- net/netfilter/nf_tables_api.c | 94 ++++++++---- net/netfilter/nfnetlink_queue.c | 41 ++++- net/netfilter/nft_chain_nat.c | 1 + net/netfilter/nft_compat.c | 15 ++ net/netfilter/nft_ct.c | 2 +- net/netfilter/nft_exthdr.c | 34 +++-- .../selftests/net/netfilter/conntrack_vrf.sh | 25 ++- tools/testing/selftests/net/netfilter/nf_queue.c | 22 ++- tools/testing/selftests/net/netfilter/nft_queue.sh | 110 ++++++++++++- 23 files changed, 456 insertions(+), 143 deletions(-)