Skip to content

Netfilter updates 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 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9netfilter: fix a use-after-free in mtype_destroy()net/netfilter/ipset/ip_set_bitmap_gen.h+1 -10 replies
2/9netfilter: arp_tables: init netns pointer in xt_tgdtor_param structnet/ipv4/netfilter/arp_tables.c+10 -90 replies
3/9netfilter: nf_tables: store transaction list locally while requesting modulenet/netfilter/nf_tables_api.c+10 -90 replies
4/9netfilter: nft_tunnel: fix null-attribute checknet/netfilter/nft_tunnel.c+1 -10 replies
5/9netfilter: nft_tunnel: ERSPAN_VERSION must not be nullnet/netfilter/nft_tunnel.c+3 -00 replies
6/9netfilter: nf_tables: remove WARN and add NLA_STRING upper limitsnet/netfilter/nf_tables_api.c+9 -40 replies
7/9netfilter: nf_tables: fix memory leak in nf_tables_parse_netdev_hooks()net/netfilter/nf_tables_api.c+1 -00 replies
8/9netfilter: nf_tables: fix flowtable list del corruptionnet/netfilter/nf_tables_api.c+6 -00 replies
9/9netfilter: nat: fix ICMP header corruption on ICMP errorsnet/netfilter/nf_nat_proto.c+13 -00 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchJozsef KadlecsikFlorian Westphal
1/9A-b
2/9
3/9
4/9
5/9
6/9
7/9R-b
8/9
9/9A-b

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 0/9] Netfilter updates for net

Hello,

The following patchset contains Netfilter fixes for net:

1) Fix use-after-free in ipset bitmap destroy path, from Cong Wang.

2) Missing init netns in entry cleanup path of arp_tables, from Florian Westphal.

3) Fix WARN_ON in set destroy path due to missing cleanup on transaction error.

4) Incorrect netlink sanity check in tunnel, from Florian Westphal.

5) Missing sanity check for erspan version netlink attribute, also from Florian.

6) Remove WARN in nft_request_module() that can be triggered from userspace, from Florian Westphal.

7) Memleak in NFTA_HOOK_DEVS netlink parser, from Dan Carpenter.

8) List poison from commit path for flowtables that are added and deleted in the same batch, from Florian Westphal.

9) Fix NAT ICMP packet corruption, from Eyal Birger.

You can pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git

Thank you.

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

The following changes since commit c9f53049d4a842db6bcd76f597759a0ef5f65c86:

MAINTAINERS: update my email address (2020-01-11 14:33:39 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git HEAD

for you to fetch changes up to 61177e911dad660df86a4553eb01c95ece2f6a82:

netfilter: nat: fix ICMP header corruption on ICMP errors (2020-01-16 15:08:25 +0100)

----------------------------------------------------------------
Cong Wang (1):
netfilter: fix a use-after-free in mtype_destroy()

Dan Carpenter (1):
netfilter: nf_tables: fix memory leak in nf_tables_parse_netdev_hooks()

Eyal Birger (1):
netfilter: nat: fix ICMP header corruption on ICMP errors

Florian Westphal (5):
netfilter: arp_tables: init netns pointer in xt_tgdtor_param struct
netfilter: nft_tunnel: fix null-attribute check
netfilter: nft_tunnel: ERSPAN_VERSION must not be null
netfilter: nf_tables: remove WARN and add NLA_STRING upper limits
netfilter: nf_tables: fix flowtable list del corruption

Pablo Neira Ayuso (1):
netfilter: nf_tables: store transaction list locally while requesting module

 net/ipv4/netfilter/arp_tables.c         | 19 ++++++++--------
 net/netfilter/ipset/ip_set_bitmap_gen.h |  2 +-
 net/netfilter/nf_nat_proto.c            | 13 +++++++++++
 net/netfilter/nf_tables_api.c           | 39 ++++++++++++++++++++++-----------
 net/netfilter/nft_tunnel.c              |  5 ++++-
 5 files changed, 54 insertions(+), 24 deletions(-)