Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3484532pxb; Mon, 4 Apr 2022 18:27:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNwvFCMhV0H9Un/dFkIULKP5Q3l6cF5OadPOQjIypnPCd1Enn1eUe9klSeZV67U88Fk3a9 X-Received: by 2002:a17:902:82c8:b0:156:8918:8db5 with SMTP id u8-20020a17090282c800b0015689188db5mr1026449plz.124.1649122072283; Mon, 04 Apr 2022 18:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649122072; cv=none; d=google.com; s=arc-20160816; b=IYrqkaHynG1kjjmXvOHmmQxSeaDCoQbZBzOfnrbeWmnRudOvvvx6OMTgIx6yiqK3Xc 1Bdtop+uobp0wOQPuy/aQFA0vfB43ZfsUO0DCBcOggO6Mp91uKmTx8qCOS21RXo6FRKA d3Bo7Xti0SLLf/1QI+PtN/KEiSFbMgKsjdgmSxU9SW1av/So1TEYhBtcOaUc5JJqTodF LzvNijhP1ITamuboBRu4nkICNEnpaBjh6vYYWhhFMsjy4QOG4BUOuCoknAS88cq1fwj6 xYmadt5O9fWNbZFkxUQNk7JsfODA4jwsGkq2oSnRfaFcx1Ptu2Llf5MR25aURX56ILWH xgnw== 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=/kQQ0Ce7ItIErUl8b3zHGRYCU91340rT8tmKbUdZKfw=; b=ELPqyM1ZX0v2mwCUy9IUFpFhpvFMZx5X7mQp94F1D8RM+eJhnUzP48mp2f1014KtG+ DLlS6geFYMF6mP+mfHwaN+jNaPFvx1PSGdIcsAEj1uDYxGtmqtLL6ZGKJFNJjhYdlyNE Rc3TYIvZXQh/hSJC9/iKZ79emgbm/RcbNCrqUgIe+QDvYCW/K5D0DXdjJerrpVCf2udG +UIcPBRIqM551OYtzpXp5Ym0bxqtTbz1EBZRtLmiI/Q2tvCnT/vD1ZBn2Lr9s5W5FEvh s+hJG4DXVoG10fDQHTIhz1lHmE98kBSG3KGW1DgYcXYa3J/SlaU8xLnVW2airE3xB/iK hT6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=o6W5oX62; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w19-20020a170902d11300b00156b7650443si2456708plw.238.2022.04.04.18.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:27:52 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=o6W5oX62; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 245D645521; Mon, 4 Apr 2022 17:17:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377254AbiDDFAH (ORCPT + 99 others); Mon, 4 Apr 2022 01:00:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355325AbiDDFAE (ORCPT ); Mon, 4 Apr 2022 01:00:04 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A88553467E; Sun, 3 Apr 2022 21:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=/kQQ0Ce7ItIErUl8b3zHGRYCU91340rT8tmKbUdZKfw=; b=o6W5oX625kH8ElQ1YX6J8UrwOu iE3+LtgmO9Fa0TeNxVHxjvArv8vDqmcueVgsD8lIEofbMaJUm0RU4e7qlK479ce91yqTZBAiToYAh YCALe9Fle+/VIlLATcZozKq+8xgG8qSUKhUdkPEj+NdCy96pnCejiXwuwRIwnInY8VPudEltFRzrr 2+3MGuhe/cJ2mCoKW1yxZrbLuBRQ6CCpHB2ESjVnaRqCePxh9PIO0SGDJn7tGKYoJwGwXrw/qjV9B swOVEgDOKQT4+GQP4x1kg/BBznmgKL8tQ6qle8ZRNU9slFQlARp4bPAA7vgJHxYeD+Pux1zc/DNrI rTiGHRzg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbEn0-00D7g3-HQ; Mon, 04 Apr 2022 04:58:06 +0000 Date: Sun, 3 Apr 2022 21:58:06 -0700 From: Christoph Hellwig To: Tetsuo Handa Cc: syzbot , axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Jan Kara Subject: Re: [syzbot] INFO: task can't die in blkdev_common_ioctl Message-ID: References: <0000000000007a4a2d05dba6baa6@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sat, Apr 02, 2022 at 08:26:23PM +0900, Tetsuo Handa wrote: > > git tree: linux-next > > console output: https://syzkaller.appspot.com/x/log.txt?x=168d578db00000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=be9183de0824e4d7 > > dashboard link: https://syzkaller.appspot.com/bug?extid=4f1a237abaf14719db49 > > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > > > > Unfortunately, I don't have any reproducer for this issue yet. > > This is a known problem, and Christoph does not like a mitigation patch. > https://lkml.kernel.org/r/YgoQBTzb3b0l1SzP@infradead.org And this report shows why: your patch makes the lock acquisition in blkdev_fallocate killable. Which would not help with this problem at all, as it does not come through blkdev_fallocate. The problem is that the loop writing actual zeroes to the disk can take forever, and we hold the invalidate_lock over that.