mbox

[net,0/4] Netfilter/IPVS fixes for net

Message ID 20240717215214.225394-1-pablo@netfilter.org (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-24-07-17

Message

Pablo Neira Ayuso July 17, 2024, 9:52 p.m. UTC
Hi,

The following patchset contains Netfilter/IPVS fixes for net:

1) Call nf_expect_get_id() to delete expectation by ID. By trial and
   error it is possible to leak the LSB of the expectation address on
   x86_64. This bug is a leftover when converting the existing code
   to use nf_expect_get_id().

2) Incorrect initialization in pipapo set backend leads to packet
   mismatches. From Florian Westphal.

3) Extend netfilter's selftests to cover for the pipapo set backend,
   also from Florian.

4) Fix sparse warning in IPVS when adding service, from Chen Hanxiao.

Please, pull these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-24-07-17

Thanks.

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

The following changes since commit 0e03c643dc9389e61fa484562dae58c8d6e96d63:

  eth: fbnic: fix s390 build. (2024-07-17 06:25:14 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-24-07-17

for you to fetch changes up to cbd070a4ae62f119058973f6d2c984e325bce6e7:

  ipvs: properly dereference pe in ip_vs_add_service (2024-07-17 23:38:17 +0200)

----------------------------------------------------------------
netfilter pull request 24-07-17

----------------------------------------------------------------
Chen Hanxiao (1):
      ipvs: properly dereference pe in ip_vs_add_service

Florian Westphal (2):
      netfilter: nf_set_pipapo: fix initial map fill
      selftests: netfilter: add test case for recent mismatch bug

Pablo Neira Ayuso (1):
      netfilter: ctnetlink: use helper function to calculate expect ID

 net/netfilter/ipvs/ip_vs_ctl.c                     | 10 +--
 net/netfilter/nf_conntrack_netlink.c               |  3 +-
 net/netfilter/nft_set_pipapo.c                     |  4 +-
 net/netfilter/nft_set_pipapo.h                     | 21 ++++++
 net/netfilter/nft_set_pipapo_avx2.c                | 10 +--
 .../selftests/net/netfilter/nft_concat_range.sh    | 76 +++++++++++++++++++++-
 6 files changed, 111 insertions(+), 13 deletions(-)