lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 08 Mar 2020 21:48:37 -0700 (PDT)
From:   David Miller <>
Subject: Re: [PATCH net-next] net/sched: act_ct: fix lockdep splat in

From: Eric Dumazet <>
Date: Sun,  8 Mar 2020 14:27:48 -0700

> Convert zones_lock spinlock to zones_mutex mutex,
> and struct (tcf_ct_flow_table)->ref to a refcount,
> so that control path can use regular GFP_KERNEL allocations
> from standard process context. This is more robust
> in case of memory pressure.
> The refcount is needed because tcf_ct_flow_table_put() can
> be called from RCU callback, thus in BH context.
> The issue was spotted by syzbot, as rhashtable_init()
> was called with a spinlock held, which is bad since GFP_KERNEL
> allocations can sleep.
> Note to developers : Please make sure your patches are tested
> Fixes: c34b961a2492 ("net/sched: act_ct: Create nf flow table per zone")
> Signed-off-by: Eric Dumazet <>
> Cc: Paul Blakey <>
> Cc: Jiri Pirko <>
> Reported-by: syzbot <>

Applied, thanks.

Powered by blists - more mailing lists