Skip to content

Netfilter fixes for net (v2)

Pablo Neira Ayuso netdev netfilter-devel regressions stable 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 Latest2 patches 4 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2netfilter: bpf: must hold reference on net namespacenet/netfilter/nf_bpf_link.c+4 -00 repliesApplied
2/2netfilter: xtables: fix typo causing some targets not to load on IPv6net/netfilter/xt_NFLOG.c net/netfilter/xt_TRACE.c net/netfilter/xt_mark.c+3 -23 repliesApplied

Reviews trailers per patch

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

PatchEric Dumazet
1/2Diagnosed-by R-b
2/2

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 0/2] Netfilter fixes for net (v2)

This is a v2 including a extended PR with one more fix.

-o-

Hi,

This patchset contains Netfilter fixes for net:

1) syzkaller managed to triger UaF due to missing reference on netns in bpf infrastructure, from Florian Westphal.

2) Fix incorrect conversion from NFPROTO_UNSPEC to NFPROTO_{IPV4,IPV6} in the following xtables targets: MARK and NFLOG. Moreover, add missing

I have my half share in this mistake, I did not take the necessary time to review this: For several years I have been struggling to keep working on Netfilter, juggling a myriad of side consulting projects to stop burning my own savings.

I have extended the iptables-tests.py test infrastructure to improve the coverage of ip6tables and detect similar problems in the future.

Please, pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-24-10-21

Thanks.

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

The following changes since commit cb560795c8c2ceca1d36a95f0d1b2eafc4074e37:

Merge branch 'mlx5-misc-fixes-2024-10-15' (2024-10-17 12:14:11 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git tags/nf-24-10-21

for you to fetch changes up to 306ed1728e8438caed30332e1ab46b28c25fe3d8:

netfilter: xtables: fix typo causing some targets not to load on IPv6 (2024-10-21 11:31:26 +0200)

----------------------------------------------------------------
netfilter pull request 24-10-21

----------------------------------------------------------------
Florian Westphal (1):
netfilter: bpf: must hold reference on net namespace

Pablo Neira Ayuso (1):
netfilter: xtables: fix typo causing some targets not to load on IPv6

 net/netfilter/nf_bpf_link.c | 4 ++++
 net/netfilter/xt_NFLOG.c    | 2 +-
 net/netfilter/xt_TRACE.c    | 1 +
 net/netfilter/xt_mark.c     | 2 +-
 4 files changed, 7 insertions(+), 2 deletions(-)