Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp977785pxb; Fri, 1 Apr 2022 00:56:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm7dXnIUE4aiI8oCbhDZvG2nmE+ynmD2m7LPlUTIMUvsj1E43HRezuk4Ztanec2/ROmOxZ X-Received: by 2002:a17:903:110c:b0:153:1293:5624 with SMTP id n12-20020a170903110c00b0015312935624mr8916032plh.149.1648799804887; Fri, 01 Apr 2022 00:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648799804; cv=none; d=google.com; s=arc-20160816; b=MYp7OTfmr2stepvLUo3nYJYl9XJdl/8BnOZZyprKd3y0TbuscUk0m87IEK1gDEYoc9 MAO0z3VMKo7aWvq8gfyQC+g+kU/oYL7c/MtTrWOu5CWAGxdiESLwPSvQn7g0W1LpNftp 91zCdDbJWcSmDQrZd90c862nPt4FiUzKncUhAtQ37xZIPDajQ8T9FW2276MeTMB0plBL L/hCDL+bCj599Gkf4eb/qxboXcSiqfmndv+4iHkDor/8L76S+5x5HMFBi1Wjm9JOz9Y+ JTvfqMAaijxzUUjRiLEbMQTkJwuvc/Q7qHwF61rKxaOYXNalSy2svhn6psqPVTTZRYSv TRIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1NKOQQ1MQlWdmQl7Minms8w4HIn2tXJRtMFIuL0l8Rk=; b=VkXm5WLtDoHhKEnR/SoMPZLDRSr5Vq8LO3jKhoI8PaLeaM1otBDi23slXfSVTE+5LV BkLBH4lwoFKUSbXuIpWpb2XpyWMZKQTo9iWPR/bFw4HP/7yj8EuqG0hBq+5zk5tMzZir WwyDTwSsdnvFDZ+XXkYy+/nSZtMzL+e+fE4wQXy19chfzRmw4CT9GODdbFz0sxy4BOsF nKCKqghbowAENy2wBcjyUCqyVci4y8RNaCNx3yhHd9T0McdA1UnL19rq4f/lCQ65RsgZ W2jL+b/+noMRdLYc2rVhJb/xPPnLtir5B2PFy4g8EumgA/2kH5wLBrh1rBwavceEyTZx +n1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a056a00149100b004fa6cbcbbf0si1856419pfu.235.2022.04.01.00.56.30; Fri, 01 Apr 2022 00:56:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241448AbiCaUpB (ORCPT + 99 others); Thu, 31 Mar 2022 16:45:01 -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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.