From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F227C433EF for ; Thu, 31 Mar 2022 20:43:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241501AbiCaUpD (ORCPT ); Thu, 31 Mar 2022 16:45:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235256AbiCaUpA (ORCPT ); Thu, 31 Mar 2022 16:45:00 -0400 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F35211DF855; Thu, 31 Mar 2022 13:43:12 -0700 (PDT) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1na1dP-001IbT-Nb; Thu, 31 Mar 2022 20:43:11 +0000 Date: Thu, 31 Mar 2022 20:43:11 +0000 From: Al Viro To: syzbot Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Ming Lei Subject: Re: [syzbot] BUG: scheduling while atomic in simple_recursive_removal Message-ID: References: <0000000000007564ac05db72ff58@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0000000000007564ac05db72ff58@google.com> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 30, 2022 at 10:37:22AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: d888c83fcec7 fs: fix fd table size alignment properly > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=103e7b53700000 > kernel config: https://syzkaller.appspot.com/x/.config?x=cadd7063134e07bc > dashboard link: https://syzkaller.appspot.com/bug?extid=2778a29e60b4982065a0 > compiler: aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > userspace arch: arm64 > > Unfortunately, I don't have any reproducer for this issue yet. > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+2778a29e60b4982065a0@syzkaller.appspotmail.com Very likely to have been caused by commit 0a9a25ca7843 "block: let blkcg_gq grab request queue's refcnt". It had added dropping a queue refcount (which is blocking) into blkg_free(), which is called from __blkg_release(). And that is called via call_rcu() and thus is not allowed to block at all.