Skip to content

Netfilter/IPVS fixes 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: nf_tables: fix NULL pointer dereference on nft_ct_helper_obj_dump()net/netfilter/nft_ct.c+12 -80 replies
2/9netfilter: ebtables: handle string from userspace with carenet/bridge/netfilter/ebtables.c+2 -10 replies
3/9netfilter: nft_meta: fix wrong value dereference in nft_meta_set_evalnet/netfilter/nft_meta.c+8 -60 replies
4/9netfilter: nft_limit: fix packet ratelimitingnet/netfilter/nft_limit.c+24 -140 replies
5/9ipvs: fix buffer overflow with sync daemon and servicenet/netfilter/ipvs/ip_vs_ctl.c+15 -60 replies
6/9netfilter: provide correct argument to nla_strlcpy()net/netfilter/nfnetlink_acct.c net/netfilter/nfnetlink_cthelper.c+3 -30 replies
7/9netfilter: nf_tables: disable preemption in nft_update_chain_stats()net/netfilter/nf_tables_core.c+2 -20 replies
8/9netfilter: nf_tables: fix NULL-ptr in nf_tables_dump_obj()net/netfilter/nf_tables_api.c+2 -20 replies
9/9netfilter: nf_tables: increase nft_counters_enabled in nft_chain_stats_replace()net/netfilter/nf_tables_api.c+3 -10 replies

Reviews trailers per patch

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

PatchFlorian Westphal[email protected][email protected]Simon Horman
1/9A-b
2/9Reported-and-tested-by
3/9
4/9
5/9Reported-and-tested-by A-b
6/9A-b
7/9
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/9] Netfilter/IPVS fixes for net

Hi David,

The following patchset contains Netfilter/IPVS fixes for your net tree:

1) Null pointer dereference when dumping conntrack helper configuration, from Taehee Yoo.

2) Missing sanitization in ebtables extension name through compat, from Paolo Abeni.

3) Broken fetch of tracing value, from Taehee Yoo.

4) Incorrect arithmetics in packet ratelimiting.

5) Buffer overflow in IPVS sync daemon, from Julian Anastasov.

6) Wrong argument to nla_strlcpy() in nfnetlink_{acct,cthelper}, from Eric Dumazet.

7) Fix splat in nft_update_chain_stats().

8) Null pointer dereference from object netlink dump path, from Taehee Yoo.

9) Missing static_branch_inc() when enabling counters in existing chain, from Taehee Yoo.

You can pull these changes from:

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

Thanks.

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

The following changes since commit 7063efd33bb15abc0160347f89eb5aba6b7d000e:

tuntap: fix use after free during release (2018-05-16 14:53:10 -0400)

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 bbb8c61f97e3a2dd91b30d3e57b7964a67569d11:

netfilter: nf_tables: increase nft_counters_enabled in nft_chain_stats_replace() (2018-05-29 00:15:12 +0200)

----------------------------------------------------------------
Eric Dumazet (1):
netfilter: provide correct argument to nla_strlcpy()

Julian Anastasov (1):
ipvs: fix buffer overflow with sync daemon and service

Pablo Neira Ayuso (2):
netfilter: nft_limit: fix packet ratelimiting
netfilter: nf_tables: disable preemption in nft_update_chain_stats()

Paolo Abeni (1):
netfilter: ebtables: handle string from userspace with care

Taehee Yoo (4):
netfilter: nf_tables: fix NULL pointer dereference on nft_ct_helper_obj_dump()
netfilter: nft_meta: fix wrong value dereference in nft_meta_set_eval
netfilter: nf_tables: fix NULL-ptr in nf_tables_dump_obj()
netfilter: nf_tables: increase nft_counters_enabled in nft_chain_stats_replace()

 net/bridge/netfilter/ebtables.c    |  3 ++-
 net/netfilter/ipvs/ip_vs_ctl.c     | 21 +++++++++++++++------
 net/netfilter/nf_tables_api.c      |  8 +++++---
 net/netfilter/nf_tables_core.c     |  4 ++--
 net/netfilter/nfnetlink_acct.c     |  2 +-
 net/netfilter/nfnetlink_cthelper.c |  4 ++--
 net/netfilter/nft_ct.c             | 20 ++++++++++++--------
 net/netfilter/nft_limit.c          | 38 ++++++++++++++++++++++++--------------
 net/netfilter/nft_meta.c           | 14 ++++++++------
 9 files changed, 71 insertions(+), 43 deletions(-)