From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net] net/ipv6: fix lock imbalance in ip6_route_del() Date: Wed, 9 May 2018 11:09:15 -0600 Message-ID: <61863fa3-6e54-8631-2d64-e0ab39900c2d@gmail.com> References: <20180509170546.247826-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev , Eric Dumazet To: Eric Dumazet , "David S . Miller" Return-path: Received: from mail-pg0-f68.google.com ([74.125.83.68]:34066 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935090AbeEIRJR (ORCPT ); Wed, 9 May 2018 13:09:17 -0400 Received: by mail-pg0-f68.google.com with SMTP id g20-v6so16275520pgv.1 for ; Wed, 09 May 2018 10:09:17 -0700 (PDT) In-Reply-To: <20180509170546.247826-1-edumazet@google.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 5/9/18 11:05 AM, Eric Dumazet wrote: > WARNING: lock held when returning to user space! > 4.17.0-rc3+ #37 Not tainted > > syz-executor1/27662 is leaving the kernel with locks still held! > 1 lock held by syz-executor1/27662: > #0: 00000000f661aee7 (rcu_read_lock){....}, at: ip6_route_del+0xea/0x13f0 net/ipv6/route.c:3206 > BUG: scheduling while atomic: syz-executor1/27662/0x00000002 > INFO: lockdep is turned off. > Modules linked in: > Kernel panic - not syncing: scheduling while atomic > > CPU: 1 PID: 27662 Comm: syz-executor1 Not tainted 4.17.0-rc3+ #37 ... > > Fixes: 23fb93a4d3f1 ("net/ipv6: Cleanup exception and cache route handling") > Signed-off-by: Eric Dumazet > Cc: David Ahern > Reported-by: syzbot > --- > net/ipv6/route.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Acked-by: David Ahern Thanks for the fix, Eric.