Skip to content

Netfilter/IPVS fixes for net

Pablo Neira Ayuso lkml netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 5 repliesApplied 10/10

Patches in v1 All 10 applied

#Subject and filesSizeRepliesApplied
1/10netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offsetnet/ipv6/netfilter/nf_conntrack_reasm.c+1 -10 repliesApplied
2/10netfilter: nft_payload: restrict checksum offsets to known valuesnet/netfilter/nft_payload.c+33 -70 repliesApplied
3/10ipvs: fix more races around the overload flaginclude/net/ip_vs.h net/netfilter/ipvs/ip_vs_conn.c net/netfilter/ipvs/ip_vs_ctl.c +14 more+76 -762 repliesApplied
4/10ipvs: skip committing sync_threshold when proc_dointvec failsnet/netfilter/ipvs/ip_vs_ctl.c+3 -00 repliesApplied
5/10netfilter: flowtable: use the vlan id, not the full tci, in the tuple keynet/netfilter/nf_flow_table_ip.c+2 -20 repliesApplied
6/10netfilter: nf_reject: initialize IPCB at inet ingressnet/ipv4/netfilter/nf_reject_ipv4.c net/ipv6/netfilter/nf_reject_ipv6.c+10 -01 replyApplied
7/10netfilter: nft_set_rbtree: narrow down range completion to anonymous setsnet/netfilter/nft_set_rbtree.c+2 -10 repliesApplied
8/10netfilter: xt_dccp: handle reserved options as single-bytenet/netfilter/xt_dccp.c+1 -12 repliesApplied
9/10netfilter: flowtable: reset transport header after nf_flow_encap_pop()net/netfilter/nf_flow_table_ip.c+2 -00 repliesApplied
10/10netfilter: nf_conntrack_netlink: fix inverted IPv6 tuple filternet/netfilter/nf_conntrack_netlink.c+4 -40 repliesApplied

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchJulian AnastasovWeibin LiuFlorian Westphal
1/10
2/10
3/10
4/10A-b
5/10
6/10
7/10
8/10
9/10
10/10R-b R-b

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.

Read the v1 thread

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

Hi,

The following patchset contains Netfilter/IPVS for net:

1) Fix IPv6 nexthdr offset truncation in fragment reassembly, this has been uncovered by LLM, from Jeremy Jean.

2) Restrict checksums in nfqueue to known protocols and offset, after this patch the plan is to re-enable nfqueue in userns, this came via LLM report. from Florian Westhphal.

3) Fix races when handling overload flag in IPVS, this patch is not perfect but Julian considers this improves the situation. This was uncovered by LLM. From Julian Anastasov.

4) Error handling for IPVS sync_threshold sysctl, from Joel Granados.

5) Use skb_vlan_tag_get_id() to retrieve the VLAN id, discard tci bits, when handling VLAN in the flowtable, from Shuangfeng He.

6) Initialize IPCB for inet/ingress reject, uncovered by LLM.

7) Restrict completion of binary search array to anonymous set.

8) Restrict DCCP option matching to avoid out-of-bound read, from Sung Byeongchan.

9) Reset transport header offset in flowtable after tunnel decapsulation to fix issue with qdisc xmit path, from Lorenzo Bianconi.

10) Fix inverted matching in ctnetlink dump filtering, from Liu Chao.

Please, pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-10-19

Thanks.

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

The following changes since commit ab699d296e066eb64f51d2a8a1d42237a3b186c8:

Merge branch 'net-always-dissect-gso-packets-in-__virtio_net_hdr_to_skb' (2026-10-06 15:35:42 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-10-19

for you to fetch changes up to cd37ab22a74e05aae5c16c67295cbf5188b16268:

netfilter: nf_conntrack_netlink: fix inverted IPv6 tuple filter (2026-10-19 14:14:03 +0200)

----------------------------------------------------------------
netfilter pull request 26-10-19

----------------------------------------------------------------
Florian Westphal (1):
netfilter: nft_payload: restrict checksum offsets to known values

Joel Granados (1):
ipvs: skip committing sync_threshold when proc_dointvec fails

Julian Anastasov (1):
ipvs: fix more races around the overload flag

Jérémy Jean (1):
netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset

Kyle Zeng (1):
netfilter: nf_reject: initialize IPCB at inet ingress

Liu Chao (1):
netfilter: nf_conntrack_netlink: fix inverted IPv6 tuple filter

Lorenzo Bianconi (1):
netfilter: flowtable: reset transport header after nf_flow_encap_pop()

Pablo Neira Ayuso (1):
netfilter: nft_set_rbtree: narrow down range completion to anonymous sets

Shuangfeng He (1):
netfilter: flowtable: use the vlan id, not the full tci, in the tuple key

Sung Byeongchan (1):
netfilter: xt_dccp: handle reserved options as single-byte

 include/net/ip_vs.h                     | 50 +++++++++++++++++++++------------
 net/ipv4/netfilter/nf_reject_ipv4.c     |  5 ++++
 net/ipv6/netfilter/nf_conntrack_reasm.c |  2 +-
 net/ipv6/netfilter/nf_reject_ipv6.c     |  5 ++++
 net/netfilter/ipvs/ip_vs_conn.c         |  8 +++---
 net/netfilter/ipvs/ip_vs_ctl.c          | 41 ++++++++++++++-------------
 net/netfilter/ipvs/ip_vs_dh.c           | 16 ++---------
 net/netfilter/ipvs/ip_vs_fo.c           |  2 +-
 net/netfilter/ipvs/ip_vs_lblc.c         |  4 +--
 net/netfilter/ipvs/ip_vs_lblcr.c        |  8 +++---
 net/netfilter/ipvs/ip_vs_lc.c           |  2 +-
 net/netfilter/ipvs/ip_vs_mh.c           |  2 +-
 net/netfilter/ipvs/ip_vs_nq.c           |  2 +-
 net/netfilter/ipvs/ip_vs_ovf.c          |  2 +-
 net/netfilter/ipvs/ip_vs_rr.c           |  2 +-
 net/netfilter/ipvs/ip_vs_sed.c          |  4 +--
 net/netfilter/ipvs/ip_vs_sh.c           |  2 +-
 net/netfilter/ipvs/ip_vs_twos.c         |  4 +--
 net/netfilter/ipvs/ip_vs_wlc.c          |  4 +--
 net/netfilter/ipvs/ip_vs_wrr.c          |  2 +-
 net/netfilter/nf_conntrack_netlink.c    |  8 +++---
 net/netfilter/nf_flow_table_ip.c        |  6 ++--
 net/netfilter/nft_payload.c             | 40 +++++++++++++++++++++-----
 net/netfilter/nft_set_rbtree.c          |  3 +-
 net/netfilter/xt_dccp.c                 |  2 +-
 25 files changed, 134 insertions(+), 92 deletions(-)