Skip to content

Netfilter/IPVS fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11netfilter: ipset: do not update comments from kernel-side addsnet/netfilter/ipset/ip_set_bitmap_gen.h+1 -10 replies
2/11ipvs: fix buffer overflow when sending sync messagesnet/netfilter/ipvs/ip_vs_sync.c+14 -95 replies
3/11netfilter: nft_flow_offload: drop flowtable reference on init error pathnet/netfilter/nft_flow_offload.c+6 -10 replies
4/11ipvs: fix missing counter decrement in lblcnet/netfilter/ipvs/ip_vs_lblc.c+1 -00 replies
5/11ipvs: bound LBLCR and LBLC cache growthnet/netfilter/ipvs/ip_vs_lblc.c net/netfilter/ipvs/ip_vs_lblcr.c+6 -00 replies
6/11ipvs: do not create invisible templatesnet/netfilter/ipvs/ip_vs_conn.c+3 -00 replies
7/11ipvs: filter some flags received in the backup servernet/netfilter/ipvs/ip_vs_sync.c+30 -31 reply
8/11netfilter: nft_set_rbtree: skip transaction elements during GCnet/netfilter/nft_set_rbtree.c+2 -00 replies
9/11netfilter: bpf: reject invalid NAT manipulation typesnet/netfilter/nf_nat_bpf.c net/netfilter/nf_nat_core.c+6 -20 replies
10/11netfilter: flowtable: generalize pending status bitinclude/net/netfilter/nf_flow_table.h net/netfilter/nf_flow_table_core.c net/netfilter/nf_flow_table_offload.c +1 more+13 -120 replies
11/11netfilter: flowtable: restore ieee80211 forward pathinclude/linux/netdevice.h net/mac80211/iface.c net/netfilter/nf_flow_table_path.c+13 -00 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchJulian Anastasov
1/11
2/11
3/11
4/11
5/11A-b
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 00/11] Netfilter/IPVS fixes for net

Hi,

The following batch contains Netfilter fixes for net:

1) Expand existing ipset fix for bitmap sets to disallow comments updates from kernel-side adds, from Florian Westphal.

2) Drop flowtable reference if nf_ct_netns_get() fails, otherwise flowtable cannot ever be removed, from Aohan Mei.

3) nft_rbtree GC should collect end elements that contained in this transaction batch, new or deleted elements are never expired. From Weiming Shi.

4) Restrict nf_nat_bpf so it does not set unknown NF_NAT_MANIP_* values, from Fernando F. Mancera.

5) Flowtable GC must skip flows that are pending hardware updates, generalize the PENDING flag and use it to inhibit GC.

6) Restore flowtable with ieee80211 which broke due to a relatively recent commit, which was pulled in by -stable, causing a regression in 6.18 kernels.

And the following IPVS fixes:

1) Prevent buffer overflow in IPVS sync reported by sashiko, it should only be reproducible on very old 2.6.x kernels, from Julian Anastasov.

2) Fix accounting of cache entries in IPVS LBLC for destinations, from Julian Anastasov.

3) Limit IPVS cache growth for LBLCR and LBLC schedulers, from Zhiling Zou.

4) Restrict IP_VS_CONN_F_ONE_PACKET for normal connections, do not allow to use it with templates. Also from Julian.

5) Sanitize flags in IPVS sync messages received in the backup. From Julian Anastasov.

Please, pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-09-27

Thanks.

----------------------------------------------------------------

The following changes since commit 9c572a83037a7dcd653ba3a9cc468c16b857d0c9:

net/sched: fix potential stack infoleak in em_text_dump() (2026-09-22 19:14:25 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-09-27

for you to fetch changes up to 5957f55e476000330f59193b607abcfc0e89d18a:

netfilter: flowtable: restore ieee80211 forward path (2026-09-27 22:46:56 +0200)

----------------------------------------------------------------
netfilter pull request 26-09-27

----------------------------------------------------------------
Aohan Mei (1):
netfilter: nft_flow_offload: drop flowtable reference on init error path

Fernando Fernandez Mancera (1):
netfilter: bpf: reject invalid NAT manipulation types

Florian Westphal (1):
netfilter: ipset: do not update comments from kernel-side adds

Julian Anastasov (4):
ipvs: fix buffer overflow when sending sync messages
ipvs: fix missing counter decrement in lblc
ipvs: do not create invisible templates
ipvs: filter some flags received in the backup server

Pablo Neira Ayuso (2):
netfilter: flowtable: generalize pending status bit
netfilter: flowtable: restore ieee80211 forward path

Weiming Shi (1):
netfilter: nft_set_rbtree: skip transaction elements during GC

Zhiling Zou (1):
ipvs: bound LBLCR and LBLC cache growth

 include/linux/netdevice.h               |  3 ++
 include/net/netfilter/nf_flow_table.h   |  2 +-
 net/mac80211/iface.c                    |  7 +++++
 net/netfilter/ipset/ip_set_bitmap_gen.h |  2 +-
 net/netfilter/ipvs/ip_vs_conn.c         |  3 ++
 net/netfilter/ipvs/ip_vs_lblc.c         |  4 +++
 net/netfilter/ipvs/ip_vs_lblcr.c        |  3 ++
 net/netfilter/ipvs/ip_vs_sync.c         | 56 ++++++++++++++++++++++++++-------
 net/netfilter/nf_flow_table_core.c      |  7 ++++-
 net/netfilter/nf_flow_table_offload.c   | 14 +++------
 net/netfilter/nf_flow_table_path.c      |  3 ++
 net/netfilter/nf_nat_bpf.c              |  3 ++
 net/netfilter/nf_nat_core.c             |  5 +--
 net/netfilter/nft_flow_offload.c        |  7 ++++-
 net/netfilter/nft_set_rbtree.c          |  2 ++
 net/sched/act_ct.c                      |  2 +-
 16 files changed, 95 insertions(+), 28 deletions(-)