Netfilter/IPVS fixes for net
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 12 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | netfilter: nf_conntrack_helper: fix possible null deref during error lognet/ | +8 | 0 replies | Applied |
| 2/12 | ipvs: avoid possible loop in ip_vs_dst_event on resizinginclude/ net/ | +124 | 0 replies | Applied |
| 3/12 | netfilter: ipset: fix a potential dump-destroy racenet/ | +1 | 0 replies | Applied |
| 4/12 | netfilter: nft_inner: Fix IPv6 inner_thoff desyncnet/ | +0 | 0 replies | Applied |
| 5/12 | netfilter: ipset: stop hash:* range iteration at endnet/ net/ net/ +1 more | +17 | 0 replies | Applied |
| 6/12 | netfilter: nft_inner: release local_lock before re-enabling softirqsnet/ | +1 | 0 replies | Applied |
| 7/12 | netfilter: ip6t_hbh: reject oversized option listsnet/ | +4 | 0 replies | Applied |
| 8/12 | netfilter: ipset: Fix data race between add and list header in all hash typesnet/ | +2 | 0 replies | Applied |
| 9/12 | netfilter: ipset: Fix data race between add and dump in all hash typesnet/ | +5 | 0 replies | Applied |
| 10/12 | netfilter: ipset: annotate "pos" for concurrent readers/writersnet/ | +38 | 0 replies | Applied |
| 11/12 | netfilter: br_netfilter: Reallocate headroom if necessary in neigh_hh_bridge()include/ net/ | +11 | 0 replies | Applied |
| 12/12 | netfilter: nf_queue: hold bridge skb->dev while queuedinclude/ net/ net/ | +6 | 2 replies | Applied |
Reviews trailers per patch
3 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Fernando Fernandez Mancera | Ido Schimmel |
|---|---|---|
| 1/12 | ||
| 2/12 | ||
| 3/12 | ||
| 4/12 | R-b | |
| 5/12 | ||
| 6/12 | R-b | |
| 7/12 | ||
| 8/12 | ||
| 9/12 | ||
| 10/12 | ||
| 11/12 | R-b | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 00/12] Netfilter/IPVS fixes for net
Hi,
The following patchset contains Netfilter/IPVS fixes for net:
1) Fix small race windows in nf_ct_helper_log() when accessing helper, from Florian Westphal.
2) Fix potential infinite loop and race conditions in IPVS caused by frequent user-triggered service table changes, from Julia Anastasov.
3) Fix a race condition when dumping ipsets for restore, from Jozsef Kadlecsik.
4) Fix inner transport offset in IPv6 in nft_inner when extension headers come before the layer 4 transport header, from Yizhou Zhao.
5) Fix incorrect iteration over IPv4 ranges in several hash set types, from Nan Li.
6) Fix incorrect order when restoring BH in nft_inner_restore_tun_ctx(), from Florian Westphal.
7) Validate option array from ip6t_hbh checkpath() to fix an off-by-one access, from Zhengchuan Liang.
8) Fix race condition between ipset list -terse and concurrent updates, from Jozsef Kadlecisk.
9) Fix race condition when inserting elements into a hash bucket, also from Jozsef.
10) Annotate access to first free slot in hashtable, from Jozsef Kadlecsik.
11) Ensure sufficient headroom in br_netfilter neigh transmission, from Lorenzo Bianconi.
12) Hold reference on skb->dev in nfqueue exit path, bridge local input is speciall since skb->dev != state->indev, allowing for net_device to go away while packet is sitting in nfqueue. From Haoze Xie.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-05-16
Thanks.
----------------------------------------------------------------
The following changes since commit 93d809adc13001e9d3a3ceb8d1e60fae2fb740d6:
Merge branch 'vsock-virtio-fix-vsockmon-tap-skb-construction' (2026-05-12 12:52:18 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-26-05-16
for you to fetch changes up to e196115ec330a18de415bdb9f5071aa9f08e53ce:
netfilter: nf_queue: hold bridge skb->dev while queued (2026-05-16 13:23:01 +0200)
----------------------------------------------------------------
netfilter pull request 26-05-16
----------------------------------------------------------------
Florian Westphal (2):
netfilter: nf_conntrack_helper: fix possible null deref during error log
netfilter: nft_inner: release local_lock before re-enabling softirqs
Haoze Xie (1):
netfilter: nf_queue: hold bridge skb->dev while queued
Jozsef Kadlecsik (4):
netfilter: ipset: fix a potential dump-destroy race
netfilter: ipset: Fix data race between add and list header in all hash types
netfilter: ipset: Fix data race between add and dump in all hash types
netfilter: ipset: annotate "pos" for concurrent readers/writers
Julian Anastasov (1):
ipvs: avoid possible loop in ip_vs_dst_event on resizing
Lorenzo Bianconi (1):
netfilter: br_netfilter: Reallocate headroom if necessary in neigh_hh_bridge()
Nan Li (1):
netfilter: ipset: stop hash:* range iteration at end
Yizhou Zhao (1):
netfilter: nft_inner: Fix IPv6 inner_thoff desync
Zhengchuan Liang (1):
netfilter: ip6t_hbh: reject oversized option lists
include/net/ip_vs.h | 3 +- include/net/neighbour.h | 8 +- include/net/netfilter/nf_queue.h | 1 + net/bridge/br_netfilter_hooks.c | 6 +- net/ipv6/netfilter/ip6t_hbh.c | 4 + net/netfilter/ipset/ip_set_core.c | 5 +- net/netfilter/ipset/ip_set_hash_gen.h | 57 ++++++--- net/netfilter/ipset/ip_set_hash_ipmark.c | 6 +- net/netfilter/ipset/ip_set_hash_ipport.c | 5 +- net/netfilter/ipset/ip_set_hash_ipportip.c | 5 +- net/netfilter/ipset/ip_set_hash_ipportnet.c | 5 +- net/netfilter/ipvs/ip_vs_ctl.c | 187 ++++++++++++++++++---------- net/netfilter/nf_conntrack_helper.c | 13 +- net/netfilter/nf_queue.c | 4 +- net/netfilter/nfnetlink_queue.c | 2 + net/netfilter/nft_inner.c | 3 +- 16 files changed, 211 insertions(+), 103 deletions(-)