netfilter: xt_hashlimit: fix lock imbalance
commit de526f40 upstream. syszkaller found that rcu was not held in hashlimit_mt_common() We only need to enable BH at this point. Fixes: bea74641 ("netfilter: xt_hashlimit: add rate match mode") Signed-off-by:Eric Dumazet <edumazet@google.com> Reported-by:
syzkaller <syzkaller@googlegroups.com> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment