Skip to content

netfilter: ipset fixes

Jozsef Kadlecsik netfilter-devel syzbot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest10 patches 0 repliesNew
  2. v68 patches 3 repliesSuperseded
  3. v15 patches 0 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10netfilter: ipset: fix a potential dump-destroy racenet/netfilter/ipset/ip_set_core.c+1 -00 replies
2/10netfilter: ipset: Fix data race between add and list header in all hash typesnet/netfilter/ipset/ip_set_core.c+2 -20 replies
3/10netfilter: ipset: Fix data race between add and dump in all hash typesnet/netfilter/ipset/ip_set_hash_gen.h+5 -20 replies
4/10netfilter: ipset: annotate "pos" for concurrent readers/writersnet/netfilter/ipset/ip_set_hash_gen.h+38 -240 replies
5/10netfilter: ipset: Don't use test_bit() in lockless RCU readers in hash typesnet/netfilter/ipset/ip_set_hash_gen.h+6 -50 replies
6/10netfilter: ipset: Don't use test_bit() in lockless RCU readers in bitmap typesnet/netfilter/ipset/ip_set_bitmap_gen.h+5 -20 replies
7/10netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer()net/netfilter/ipset/ip_set_core.c+2 -20 replies
8/10netfilter: ipset: skip gc when resize is in progressnet/netfilter/ipset/ip_set_hash_gen.h+24 -160 replies
9/10netfilter: ipset: fix potential torn read in reuse/forceadd casesnet/netfilter/ipset/ip_set_hash_gen.h+6 -00 replies
10/10netfilter: ipset: add comment how cidr bookkeeping is workingnet/netfilter/ipset/ip_set_hash_gen.h+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 00/10] netfilter: ipset fixes

Hi Pablo,

Here follows the new revision of the fixes for the current list of ipset related issues. Let's see what else is lurking.

Best regards,
Jozsef

Jozsef Kadlecsik (10):
netfilter: ipset: fix a potential dump-destroy race
netfilter: ipset: Fix data race between add and list header in all
hash types
netfilter: ipset: Fix data race between add and dump in all hash types
netfilter: ipset: annotate "pos" for concurrent readers/writers
netfilter: ipset: Don't use test_bit() in lockless RCU readers in hash
types
netfilter: ipset: Don't use test_bit() in lockless RCU readers in
bitmap types
netfilter: ipset: fix order of kfree_rcu() and rcu_assign_pointer()
netfilter: ipset: skip gc when resize is in progress
netfilter: ipset: fix potential torn read in reuse/forceadd cases
netfilter: ipset: add comment how cidr bookkeeping is working

 net/netfilter/ipset/ip_set_bitmap_gen.h |   7 +-
 net/netfilter/ipset/ip_set_core.c       |   9 +-
 net/netfilter/ipset/ip_set_hash_gen.h   | 125 ++++++++++++++++--------
 3 files changed, 94 insertions(+), 47 deletions(-)
Signature · 1 line
2.39.5