Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1340663rdb; Fri, 9 Feb 2024 20:14:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEt3NAvNs97lZSkz5X4V2x4Wrz9PfFJd2gKCSlvOC9gnK/Yiw5WAYZYAtEZRnVLRUN8pRGW X-Received: by 2002:a05:6512:6c8:b0:511:671b:a04c with SMTP id u8-20020a05651206c800b00511671ba04cmr578930lff.59.1707538446284; Fri, 09 Feb 2024 20:14:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707538446; cv=pass; d=google.com; s=arc-20160816; b=E1tDHbOzgvc0f85mRYf0JZeA3HBquQLft0DWFBv8sT9xUPCBxKin/VM4QhN1JqEZ6D T6OSxrObzX4LCT8nZOeuQm30UtGErES6u/FW2UEunUeoCkQkA8NGuS7TdmbRQrYAJO4E ZGhjdVBfxRYwdbGVpLtAFiEFCjJUVKP0II39yp8NzO4UOFcWJIIIXnjt/96HurIDXiE0 kXDXZ7lJ0n2cRhh1aO75HKnptxkHL2cHOt18rQBEzWdSq5rWpSln+NzQOOyH5+sJ/RMK QawpVgp8sL7qUT5DSkaI4pRlaO3vFM1MnFXOhXuyME4UdScI9YOYR5SSG+4HeKJuwdqK PIjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=g9l22/pwJVnGdloAJCNS/sXgALA4qBUOdE7DfdxKQE0=; fh=sWb4hC5fFpXJG8NBC/WzH1xU7aRb6dbirrKyKu1z07E=; b=w5apVLYlRPh+F+c+gPOKrcT55lJMSRUGAzIj4IcHfQRWtAg/aO/cod6IwL2wjtXwcY hgXwr6Exox0A//ibUFeKPw3Y1irQqNQZtWgz22Vw9gqklO0/ooNS4n/UcsgQBQ9W+EgT 6loWnK0Nn+Z7FwxQ02a/fYZlzFZK2tslCqcYxM2WuWlo1gXCvszP6zPznN+M17T9dDh9 TJsiXJD2Uklv5b3bsmwXo16mXq0kUR6wh2YNw1YYcMzErybyV0G/mzYdfDzYHOIz9sH/ pLqLR61w7jlkFLgW3+V/Yqo9V5KJ395m8SB1I6HsNwJDYWtLU9hYvkjcQAT/IgWKJj3L xbzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Pmqw9cfh; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-60276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCWOHq8LVMagssd2hbF3bMhWHkspbTQBkD4aVV3y7sN2xH1oXft/Gw9ePbvha2ysKOSvyWmo+veCUBFM0AMj6n+/wRYkK9jwSLe3U1kZmw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gt42-20020a1709072daa00b00a385d349c38si1670731ejc.872.2024.02.09.20.14.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 20:14:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Pmqw9cfh; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-60276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id F1CD41F255D6 for ; Sat, 10 Feb 2024 04:14:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31F4D6121; Sat, 10 Feb 2024 04:13:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Pmqw9cfh" Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0E695663; Sat, 10 Feb 2024 04:13:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707538435; cv=none; b=YGsTCDeI1qWI1Le5ykk6num7DCEWL9vWAtnBcv/KixpOoR6Qnh8596Ij1s3jmw8aL6J1+iee9ZZ/6dLehpOUH/I5H+/TJJ+eITvJuWRtUgGAc4qPY3vG0k4MGlhGNO0RxXIgXfqATq7Tub16/hyrX8PSt1Mz1V6azHUV2J5ZjoA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707538435; c=relaxed/simple; bh=oI4igA4qp4EXY2Og+SQxV/VkdWDjclYg15fKupckyik=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=T9ezWPbUFPzcuBbAdt18zj7dFZ5qDQpFbBLX/M0Il5oJHRGRN8p0D3AFc4GXJgPLeqeWRr5s89lS1aVbXlc/Se4+h2kSbvMkdh4eDy8juZmawWqipqwjWIFimFlgWQGs3gt3bRTOu8wT809tAXr2vYHMJo3A/4dvVPKMWpAkDjA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Pmqw9cfh; arc=none smtp.client-ip=209.85.210.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f45.google.com with SMTP id 46e09a7af769-6e2b6461aeeso898412a34.0; Fri, 09 Feb 2024 20:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707538433; x=1708143233; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=g9l22/pwJVnGdloAJCNS/sXgALA4qBUOdE7DfdxKQE0=; b=Pmqw9cfhS0IJSvX6LQOMDmBnoFWVLsSqEu8JhfBy7BLjAw0CELNHg1d6TMiljFzOX7 DrUgCLRU53yO3dpL0K1tvY5Jtqf6Kd1iGlYfLE4u5ZLgnFUz2r/ACQigvXVlTV+tyli4 R5cHklmV2ZCFqpihzXOGdBK28i5bjDrPppGVCspl+xJfX3JlUwlFutYfYRMsZCLwofc4 dnf04VsRe2YK2dVu+8OkMNLfEgLYL46mLm1cK/l/CjTPZKlWjAbaXdfJO31+awSOCEv+ Oy6zlp/ZI1crUNroQVL0/tT0N/0TeASdDfcJrmt0TRNuoZia87ndPih5D/vu9fh3UUQv vT4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707538433; x=1708143233; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=g9l22/pwJVnGdloAJCNS/sXgALA4qBUOdE7DfdxKQE0=; b=YHZaUal4Tf3nj7v66oprBIT1ORgfqdtdNsHjI6x2bY7W+tw+gAEtMyCrBbpog2zVbD E+OsrT2L7yPSypJfgd5ixl4RzAEjN4vSbDNyzjDddrVmurWB6r+S2lLzsaY4L1//zDKa T31c9r6ufZD+r2DgFx0Z61okJM0aKtMypJkaUDHbI1CSj0RSvI1G/kCdH4subYfWDI4Z HIQGRYGddqNLTDKTvkA+WdA9YYyqXIi/Z33tZMJQiVKyC0CtwpSXZAQQfePwOyzh06q1 1g/zm6CENSfvdV/cvTdshmCM40d+zhYruNjKgQhKpqMwUfOcpKXIR9/E+Qq1QbRvs1ty LldA== X-Gm-Message-State: AOJu0YwKIC6s3qSFD+Lz82V/sWbP+kay6x+MuwgklGsItQUZwxnGHtND 5IR9T2ZgPQRWMZ6No/1w2WA26NejWrCLyScT2BffgkhwGit1hOS3 X-Received: by 2002:a05:6358:1202:b0:176:4f31:75de with SMTP id h2-20020a056358120200b001764f3175demr2005822rwi.6.1707538432756; Fri, 09 Feb 2024 20:13:52 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUNRUdECwuTDzYaCO+YkjpvJi02t/FWClTcm2hrwTlVtMQDAfWUoiQeYut5eDNWcgYcbh8FWgcQOUGM4/GjButZO2IiVad+Nz5bl+iwRguUWXVgzJjNBGW6Aac9Svc6g7DhjqxMwMDKMFDD4wL/qInz2gLMoeFdEUPV Received: from gmail.com ([192.184.167.79]) by smtp.gmail.com with ESMTPSA id pb14-20020a17090b3c0e00b002971b574ccdsm127083pjb.38.2024.02.09.20.13.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 20:13:52 -0800 (PST) Date: Fri, 9 Feb 2024 20:13:49 -0800 From: Calvin Owens To: Al Viro Cc: Christian Brauner , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] Infinite loop in cleanup_mnt() task_work on 6.3-rc3 Message-ID: References: <20240206205014.GA608142@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=utf-8 Content-Disposition: inline In-Reply-To: <20240206205014.GA608142@ZenIV> On Tuesday 02/06 at 20:50 +0000, Al Viro wrote: > On Tue, Feb 06, 2024 at 11:52:58AM -0800, Calvin Owens wrote: > > Hello all, > > > > A couple times in the past week, my laptop has been wedged by a spinning > > cleanup_mnt() task_work from an exiting container runtime (bwrap). > > Check if git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #fixes > > helps. That absolutely fixes it (the revert of 57851607). This reproducer hits the bug 100% of the time on my Debian Sid GNOME box: $ for i in {1..1000}; do \ dd if=/dev/urandom bs=65536 count=1 status=none | \ convert -size 256x256 -depth 8 GRAY:- ${i}.png; done $ nautilus . It turns out Nautilus was the trigger: it spawns and destroys containers in very quick succession to compute each thumbnail in a directory of images. Thanks, Calvin