From mboxrd@z Thu Jan 1 00:00:00 1970 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-fsdevel@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.