netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] netfilter: fixes for net-next
@ 2025-09-24 14:06 Florian Westphal
  2025-09-24 14:06 ` [PATCH net-next 1/6] ipvs: Defer ip_vs_ftp unregister during netns cleanup Florian Westphal
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Florian Westphal @ 2025-09-24 14:06 UTC (permalink / raw)
  To: netdev
  Cc: Paolo Abeni, David S. Miller, Eric Dumazet, Jakub Kicinski,
	netfilter-devel, pablo

Hi,

The following patchset contains Netfilter fixes for *net-next*:

These fixes target next because the bug is either not severe or has
existed for so long that there is no reason to cram them in at the last
minute.

1) Fix IPVS ftp unregistering during netns cleanup, broken since netns
   support was introduced in 2011 in the 2.6.39 kernel.
   From Slavin Liu.
2) nfnetlink must reset the 'nlh' pointer back to the original
   address when a batch is replayed, else we emit bogus ACK messages
   and conceal real errno from userspace.  From Fernando Fernandez Mancera.
   This was broken since 6.10.

3) Recent fix for nftables 'pipapo' set type was incomplete, it only
   made things work for the AVX2 version of the algorithm.

4) Testing revealed another problem with avx2 version that results in
   out-of-bounds read access, this bug always existed since feature was
   added in 5.7 kernel.  This also comes with a selftest update.

Last fix resolves a long-standing bug (since 4.9) in conntrack /proc
interface:
Decrease skip count when we reap an expired entry during dump.
As-is we erronously elide one conntrack entry from dump for every expired
entry seen.  From Eric Dumazet.

Please, pull these changes from:
The following changes since commit dc1dea796b197aba2c3cae25bfef45f4b3ad46fe:

  tcp: Remove stale locking comment for TFO. (2025-09-23 18:21:36 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git tags/nf-next-25-09-24

for you to fetch changes up to c5ba345b2d358b07cc4f07253ba1ada73e77d586:

  netfilter: nf_conntrack: do not skip entries in /proc/net/nf_conntrack (2025-09-24 11:50:28 +0200)

----------------------------------------------------------------
netfilter pull request nf-next-25-09-24

----------------------------------------------------------------
Eric Dumazet (1):
      netfilter: nf_conntrack: do not skip entries in /proc/net/nf_conntrack

Fernando Fernandez Mancera (1):
      netfilter: nfnetlink: reset nlh pointer during batch replay

Florian Westphal (3):
      netfilter: nft_set_pipapo: use 0 genmask for packetpath lookups
      netfilter: nft_set_pipapo_avx2: fix skip of expired entries
      selftests: netfilter: nft_concat_range.sh: add check for double-create bug

Slavin Liu (1):
      ipvs: Defer ip_vs_ftp unregister during netns cleanup

 net/netfilter/ipvs/ip_vs_ftp.c                     |  4 +-
 net/netfilter/nf_conntrack_standalone.c            |  3 ++
 net/netfilter/nfnetlink.c                          |  2 +
 net/netfilter/nft_set_pipapo.c                     |  9 ++--
 net/netfilter/nft_set_pipapo_avx2.c                |  9 ++--
 .../selftests/net/netfilter/nft_concat_range.sh    | 56 +++++++++++++++++++++-
 6 files changed, 73 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-10-06 17:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-24 14:06 [PATCH net-next 0/6] netfilter: fixes for net-next Florian Westphal
2025-09-24 14:06 ` [PATCH net-next 1/6] ipvs: Defer ip_vs_ftp unregister during netns cleanup Florian Westphal
2025-09-25  0:50   ` patchwork-bot+netdevbpf
2025-09-24 14:06 ` [PATCH net-next 2/6] netfilter: nfnetlink: reset nlh pointer during batch replay Florian Westphal
2025-09-24 14:06 ` [PATCH net-next 3/6] netfilter: nft_set_pipapo: use 0 genmask for packetpath lookups Florian Westphal
2025-09-24 14:06 ` [PATCH net-next 4/6] netfilter: nft_set_pipapo_avx2: fix skip of expired entries Florian Westphal
2025-09-24 14:06 ` [PATCH net-next 5/6] selftests: netfilter: nft_concat_range.sh: add check for double-create bug Florian Westphal
2025-09-24 14:06 ` [PATCH net-next 6/6] netfilter: nf_conntrack: do not skip entries in /proc/net/nf_conntrack Florian Westphal
2025-09-24 22:29 ` [PATCH net-next 0/6] netfilter: fixes for net-next Pablo Neira Ayuso
2025-09-24 22:57   ` Fernando Fernandez Mancera
2025-10-06 14:58     ` Nikolaos Gkarlis
2025-10-06 17:02       ` Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).