Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2482248pxb; Tue, 21 Sep 2021 00:15:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz99tigdp7DCnCuUYUsYi8wcnDfXURYyqk+Hv0zDzErCOS+Yb1NTJ7onCV6eOidlsP1vOiO X-Received: by 2002:aa7:d619:: with SMTP id c25mr33656361edr.365.1632208557653; Tue, 21 Sep 2021 00:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632208557; cv=none; d=google.com; s=arc-20160816; b=un4QMc0xQTbnhlYQLtuxrOwRfF415SK/RryV1DYT3opHRYAjW9CfFeH7IFuNJOtfQd Wl3wHeHT6GJOXsIQmRgOM9xpagg+J5cQmY/uUXi2oOzapY+BGPAbdIHtoMy8+WBAVd8U vfzZfxlSHYyN9hwxCjGMu7MD/FiyJjkMmR0kQrpU5YXwFjava3E97lv3oWqcMr1FOWNt mfUHmrs8eeb9Eq0AyUdpEKAmccRwhFfFL1U/tTdEgOfjebXqDDuVtWc/V1mWkM7YFPkp 7RXnVTvSyrDp6VFaXTCUNdLxmo90jeec7dvknRyJfcajJEFoWTCOJ5Jw2B3qBL4rYLQa uVog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UM8apK1AMhOhazdy0HBfxa+/Uonxl6SHf+LLiZVVEXs=; b=zwAy8KuHfZ1GwHLrVo3dTBqEL+RKHvE7c3B91ADEF2atGWS0/E0nskHErjOfblLkAU NOnPxsuwUn/YF84GK3La190whK2ZpMQGWWNx7eC4gjEHKGsKRpzdVs74+e863VIquE3+ WXYcvGx6r+R1h8pi1aTTEaklZRY6s0tRfvSgBfpxLIuo9cDXRGLE6HQQbyujrsyEriX8 eieEDNcgztzWLWhD7Movl3Ob5eXd/stHols9ZcMtG8NkXlsWiDDcjVXqV0GTXG5Q0ymr fsVq/3WxVKxc4T8X2ocmlfredUYqBeR2PdQSETVeOTAhi4yvlA8nVMaN4GbL8M5AGwV5 E52g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=OuJkjcvq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ji18si1955712ejc.56.2021.09.21.00.15.33; Tue, 21 Sep 2021 00:15:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=OuJkjcvq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230099AbhIUHPR (ORCPT + 99 others); Tue, 21 Sep 2021 03:15:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230026AbhIUHPP (ORCPT ); Tue, 21 Sep 2021 03:15:15 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60321C061574; Tue, 21 Sep 2021 00:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=UM8apK1AMhOhazdy0HBfxa+/Uonxl6SHf+LLiZVVEXs=; b=OuJkjcvq+GqgEBM2UDS36I+w0K t8xJ2RwxvKNyjK+NhQS2GLwIT1lVYdNWNA4FchhBvu1XrGWOdRL+ZWXIkIpQM04heXKG8ZeJwep1S Zsh+wnSLp8vD7A6WiTrDZaGbZ6WodqRb9ilwJhylDO7q1yszAybTDJDG7F0Jz9zmpVGNpMM2Tcw/n ng/UEfBed7D3fNvSInTbEHYK6Se7GIXZUgLGLheI3/Pnej8G2KgRUqR1mBJhEymgRFzrwDmEupuGn ht8pvAQRMLeqwpMZ3G4arJIN/6YnBQmwDGBWEYiDX1dtwkZhDSywayqj4XFIVVgcYf8vN2ge7Pb72 wspJ0XJQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSZxr-003adz-QA; Tue, 21 Sep 2021 07:13:22 +0000 Date: Tue, 21 Sep 2021 08:13:15 +0100 From: Christoph Hellwig To: Eric Dumazet Cc: Tetsuo Handa , syzbot , axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Song Liu Subject: Re: [syzbot] possible deadlock in bd_register_pending_holders Message-ID: References: <000000000000e272fb05cba51fe4@google.com> <8431ea39-7ace-a601-419a-dca74e1db287@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8431ea39-7ace-a601-419a-dca74e1db287@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 20, 2021 at 10:10:55AM -0700, Eric Dumazet wrote: > Note that current kernels (which include dfbb3409b27fa42b) > still hit this : > > [ 3.197383] ====================================================== > [ 3.204253] WARNING: possible circular locking dependency detected > [ 3.211116] 5.15.0-dbx-DEV #16 Not tainted > [ 3.215907] ------------------------------------------------------ > [ 3.222770] kinit/1 is trying to acquire lock: > [ 3.227900] ffffa09bc8971230 (&mddev->open_mutex){+.+.}-{3:3}, at: md_open+0xf3/0x150 > [ 3.237803] > but task is already holding lock: > [ 3.245020] ffffa09bcf003f18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xa2/0x580 This should be fixed by: https://marc.info/?l=linux-raid&m=163049641806992&w=2 Song, what is the plan to get that into Linus' tree?