Skip to content

Netfilter 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 jumpstack depth validationinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c net/netfilter/nft_immediate.c +1 more+20 -110 replies
2/9netfilter: nft_set_hash: add rcu_barrier() in the nft_rhash_destroy()net/netfilter/nft_set_hash.c+1 -00 replies
3/9netfilter: nft_set_rbtree: fix panic when destroying set by GCnet/netfilter/nft_set_rbtree.c+5 -20 replies
4/9netfilter: nf_tables: use dev->name directlyinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+5 -100 replies
5/9netfilter: nf_tables: free flow table struct toonet/netfilter/nf_tables_api.c+1 -00 replies
6/9netfilter: nf_tables: fix memory leaks on chain renamenet/netfilter/nf_tables_api.c+11 -60 replies
7/9netfilter: nf_tables: don't allow to rename to already-pending namenet/netfilter/nf_tables_api.c+29 -130 replies
8/9netfilter: conntrack: dccp: treat SYNC/SYNCACK as invalid if no prior statenet/netfilter/nf_conntrack_proto_dccp.c+4 -40 replies
9/9netfilter: nf_tables: move dumper state allocation into ->startnet/netfilter/nf_tables_api.c+115 -1040 replies

Reviews trailers per patch

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

PatchDavid S. Miller
1/9
2/9
3/9
4/9
5/9
6/9
7/9
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 fixes for net

Hi David,

The following patchset contains Netfilter fixes for net:

1) Make sure we don't go over the maximum jump stack boundary, from Taehee Yoo.

2) Missing rcu_barrier() in hash and rbtree sets, also from Taehee.

3) Missing check to nul-node in rbtree timeout routine, from Taehee.

4) Use dev->name from flowtable to fix a memleak, from Florian.

5) Oneliner to free flowtable object on removal, from Florian.

6) Memleak in chain rename transaction, again from Florian.

7) Don't allow two chains to use the same name in the same transaction, from Florian.

8) handle DCCP SYNC/SYNCACK as invalid, this triggers an uninitialized timer in conntrack reported by syzbot, from Florian.

9) Fix leak in case netlink_dump_start() fails, from Florian.

You can pull these changes from:

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

Thanks.

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

The following changes since commit 1992d99882afda6dc17f9d49c06150856a91282f:

net/smc: take sock lock in smc_ioctl() (2018-07-16 14:45:13 -0700)

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 90fd131afc565159c9e0ea742f082b337e10f8c6:

netfilter: nf_tables: move dumper state allocation into ->start (2018-07-24 00:36:33 +0200)

----------------------------------------------------------------
Florian Westphal (6):
netfilter: nf_tables: use dev->name directly
netfilter: nf_tables: free flow table struct too
netfilter: nf_tables: fix memory leaks on chain rename
netfilter: nf_tables: don't allow to rename to already-pending name
netfilter: conntrack: dccp: treat SYNC/SYNCACK as invalid if no prior state
netfilter: nf_tables: move dumper state allocation into ->start

Taehee Yoo (3):
netfilter: nf_tables: fix jumpstack depth validation
netfilter: nft_set_hash: add rcu_barrier() in the nft_rhash_destroy()
netfilter: nft_set_rbtree: fix panic when destroying set by GC

 include/net/netfilter/nf_tables.h       |   5 +-
 net/netfilter/nf_conntrack_proto_dccp.c |   8 +-
 net/netfilter/nf_tables_api.c           | 304 +++++++++++++++++---------------
 net/netfilter/nft_immediate.c           |   3 +
 net/netfilter/nft_lookup.c              |  13 +-
 net/netfilter/nft_set_hash.c            |   1 +
 net/netfilter/nft_set_rbtree.c          |   7 +-
 7 files changed, 191 insertions(+), 150 deletions(-)