Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp513601lqp; Thu, 4 Apr 2024 23:51:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXO2P5ja44+SRMHSYJ83CIh1jLNGQE/GFwdSusMXFsTIy66TCap6VRZkW9zCQGLW9vIDefZKNMdsb3KFyFGaYIktPJTWq5Jx4rUck9JSA== X-Google-Smtp-Source: AGHT+IFzqfvgA2VHG/2IqzQ46cw5knmcam8E1kss921Gi8JLoKffv1lZBQpKpo5f7Zoz7uyC9X5s X-Received: by 2002:a05:6a00:2355:b0:6ec:da6c:fc2d with SMTP id j21-20020a056a00235500b006ecda6cfc2dmr714564pfj.23.1712299912006; Thu, 04 Apr 2024 23:51:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712299911; cv=pass; d=google.com; s=arc-20160816; b=s3aCbrkbvDxUznwpQPJakQ0c7x1qG+DnehFPPxRXGUOn2exkCKQHYHttQnlkhP/nDY G8aAop2tHOCPRZ8p204CqbWWd0ZWs2yTDD2nC6qDNU+HCWkH67thg7T84xpofUpBhIY8 RPTgWQhFSESPcgtWfyjRBbUHy2r4dfBaGl/eDtdCzB7fvj89tcT8ZguAqnA8yfqDkzEb ak577I9/ZpobLUbCVFwhK9S1bUL9dZ8cvt/lfhiVUySxr1dQT70f8V/zEfbbt/iunV1u 2huu1q6mPvBQT02dVa2kDzNYOi8f0lky6PMPE8AEIV43dXP4m+LxBlmVVkrcSMVo55T5 6jBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=hod55c8Pk9mGNT5kdksfmOt4Iq0+zHir5fkC4b44rl0=; fh=SpkC0QkjWcUgRkbA4VzWMVkmNvOO32elzuWYB2949rU=; b=geg9GVOtSs8nNrG7oYMcaGmgdp5y7lSlp2RSR7DkDt8fauEEU5CV7FyGVLEHMEwlCy r+j5vYA2NYZmTIXgJHCo7JyiKTL+onl60MyU1eAriQCaiKPR6ohLDED5iS/b25akdrnW M7vUudgg4Gk+SELqf6n1YZUmHgFtYbR8ZBeAvnrVnsMZKpWGRta097eJuOa2bmhjth0I On4qDpzMFVCT/2WN5R/QyPcBKccwwGhnela1ff5ETqfsKEjQYjT62TQko0wMnhYCOXXm 6GbEjLuIC7Qk1DGjsLcaKig1I/W9gp4NIzwzLu8/v7ztnh1s0HDXlBieKmlWQwO/udq1 P/iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-132497-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132497-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q26-20020aa7983a000000b006e64547a899si840202pfl.5.2024.04.04.23.51.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 23:51:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132497-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-132497-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132497-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6DA8428769E for ; Fri, 5 Apr 2024 06:51:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD29C286A6; Fri, 5 Apr 2024 06:51:42 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC40623774; Fri, 5 Apr 2024 06:51:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712299902; cv=none; b=Rzqe/y5m2Jy8M+epucAu6BmE9wfACUIgyAJgz/Wi0hrq1xGGABRppTa9XwpEVOWHt6FWJS8l5JqBJxijrrqceN35mZZlCWynS1J/B+VPm9oQOdoVmjNYQDbcO7Z2xGVRib5SRllqVkZKIUspYA+DPracfeqjhdShN2r/vRO7BIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712299902; c=relaxed/simple; bh=u0DVGxQ/Nm0tNWYQG+wNZ6KotMW7/NQoiImt8Bh6Iu0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rUXlUJfxsFHvaqO00xwhC2Q6OhwGpZMaCdTOSoTZ5MHr9lnDgqHyfgrdgg+3AIuQVbOzBzPh+Ud2oSvmuKK4DHZ9SrMbhO1PhH7m9obKwwPs+srIe0eIyT+1ramDPry/kI0z2bfuZR2enhbyC2tshgrR4LBr2+dYgLGR+iQirR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 2C4B768D07; Fri, 5 Apr 2024 08:51:36 +0200 (CEST) Date: Fri, 5 Apr 2024 08:51:35 +0200 From: Christoph Hellwig To: Amir Goldstein Cc: Al Viro , syzbot , gregkh@linuxfoundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tj@kernel.org, valesini@yandex-team.ru, Christoph Hellwig , Christian Brauner , Jan Kara , Miklos Szeredi Subject: Re: [syzbot] [kernfs?] possible deadlock in kernfs_fop_llseek Message-ID: <20240405065135.GA3959@lst.de> References: <00000000000098f75506153551a1@google.com> <0000000000002f2066061539e54b@google.com> <20240404081122.GQ538574@ZenIV> <20240404082110.GR538574@ZenIV> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Apr 04, 2024 at 12:33:40PM +0300, Amir Goldstein wrote: > I don't follow what you are saying. > Which code is in non-starter violation? > kernfs for calling lookup_bdev() with internal of->mutex held? That is a huge problem, and has been causing endless annoying lockdep chains in the block layer for us. If we have some way to kill this the whole block layer would benefit.