Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1614731lqp; Sat, 23 Mar 2024 01:37:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMPHs8q817/lguZTqaHNJ9DFK+FAnJCtjbEFqqIYRPKlV3Q3quyVf5g95OCj2Ba9FV7fjnqeaxlmy5GJPWlGmk29hZOGluAJIVYU+IEA== X-Google-Smtp-Source: AGHT+IF1M0hRWCWtz5iCJslLO2NWWLhTHLyb3/b6hwAuEHaGLZ4mGjdJafuAvzXUA0Uymce+aNko X-Received: by 2002:a05:622a:4b1b:b0:431:3da3:9525 with SMTP id et27-20020a05622a4b1b00b004313da39525mr1842439qtb.2.1711183030053; Sat, 23 Mar 2024 01:37:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711183030; cv=pass; d=google.com; s=arc-20160816; b=BCI+AOLl6Z0bN/Z8U2F/2vdw6RXyiKMFyd27nZckoGPhlwzna916sn6qMugMtdi3z5 O8FawypWsegraMPgdIK/txKpVz57IBzw/MyhCQMvljnp8i2flDfeb7JJDZu0ePQ8Wbhz yChoyu/6hNyVZzWjPAGO7HNxWutlvIcS8tatP5a0UOj1Cg6zaecaJXcRHHkijWf9Ulb4 YyvfJNmb3VX+AmF7fSTxR3BVa2V4TB5VoRXqxY4D2sqApmmr5hfm+3DioG3V799iV7Kt qEp6dWyUSuyTYWU+Q2+5D3t9al3Ba/ydXHx2uCMRs0LipPoEW+p129zJmk9FtEsziRj1 fS1g== 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=vF3vNo64kH4a02tVggWkhE6KRsHgNRWYeYG1IoM8SWA=; fh=94JbPAmqo7aAsWO8u5fbQ5mXunOHTizmd64axoehWp8=; b=C1Uljv8APC2LkMIA8o9QqT2Lqv0m09HNJ19eUGLPZJXjePXPtGQbl7mDXlJKxtwLjp e26ulSI+c6kgfeRJfdIatl+uGwaUwqisdSOA/m4ZboN5TDQRSky5qIWv+4Ty6Q7Yh1z0 NFiUIgduIJjuWBbTifpdO1dsjrCyvcpOHmXW3/2DZwZlJ02/S/rKqIl8OCsRVa8qlj7d q8KVruR5+G4RVOxFCEPMPgNwmTCUQXQz63IKpiUAJGAYaL0D9ANgZ/IOHwIOb83dINQL aj8rnC2XrFIpYzonnjy+q5P4DdZehP1I8ybIveuS5z4rzDLqMauM5kxr9zM16TgZ8aa6 8Vpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b="SjG+N2M/"; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-112258-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f8-20020ac859c8000000b00431311075fbsi1296492qtf.21.2024.03.23.01.37.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 01:37:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112258-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b="SjG+N2M/"; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-112258-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7D9DE1C20F09 for ; Sat, 23 Mar 2024 08:37:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5E12DDA7; Sat, 23 Mar 2024 08:37:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b="SjG+N2M/" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 3B9681C01 for ; Sat, 23 Mar 2024 08:37:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711183021; cv=none; b=R8+oxwc2GlsQZP9PK3HsuYBZutktZK/HmOYwD8O/PO+FTA4VOollwzQ1BGdLmGOMOvMdik76bip372rqHIE20zuO4w3iiYBdQwHa+tsGh3NlRIjTZt6MXjUTyVCWX/4vrd/oHLDIDxPZdAqOg3FRyNwwdOzJ0OMgOvjB2HwFAt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711183021; c=relaxed/simple; bh=dC2LVd7E5zdQAqiu3P+Z+4YHfA/h87oz31DMsqsVT8w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tT+ETIpKUj/HagjBvZFVibDxWxW1atydTZxQs/lIYAru7Vk7FRRkDOP+ZtNk2PsGlmUspZSiiv94JTV4JF9kILrvVQqBCflwvyCc1ASRhUfEKIpmAa6t0sxHOGiTtEPGo7hnDdcNCJHJimwULhff0CF7YPR7foi1H82TZNihSZ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com; spf=pass smtp.mailfrom=fromorbit.com; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b=SjG+N2M/; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fromorbit.com Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6e703e0e5deso2008948b3a.3 for ; Sat, 23 Mar 2024 01:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1711183019; x=1711787819; 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=vF3vNo64kH4a02tVggWkhE6KRsHgNRWYeYG1IoM8SWA=; b=SjG+N2M/Njf2FqDzuwcWWpNiN+O2Yqi7MzJ2PDTcPQik8guslNZ5PSC9ZVUxL9HM7I CwD9B1cZpxymEa0JR23RrSPJN4c/wDNf/1TUVwyq/xIAMjNPFvx0xuo3GH23qT8T2imC sLu6xFsG6wgZvTpUNamrXbeeyN1oEaEPtYjt+MkJsUtHMT8zUepNPdnprAE10fGAC+W1 V0/DGFWEJsjezqkr4wh6m9Uu/NGCIAGa2n3sbje9qvWZZ440UMtSqkAyPxW/0MXArIXA B0rjtjpkUlGRXDj8thtsjhB0r9kQqasPCmIBDP5jOJs5yWzqV8K3eSnIh6v4G/9XjlRn A2jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711183019; x=1711787819; 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=vF3vNo64kH4a02tVggWkhE6KRsHgNRWYeYG1IoM8SWA=; b=PaF9G0akI3COLZt0zRUOag18B0lBx2x6pOimZVIimSW7ViaOilOMIKZqWMJ5SpAnp0 RtEugchpLs6h+Xrk0tE3wNn0CswRlkcTR8drQpIxJuxMjiVkLGGL5qWOZ1ZamZs48ExC rbNEWfYwqIFH4RXisgh3ocvwjbNxu/j6F8Oik+h51qRAeSddKsdutnH9zWGA+sKC4LsE kBloUCowGSryYuIn7NDisTd5u94ReI+GtAnROFN6pIcYZL79J3bzxY3D/R+75G/giYLa YZEqdBmKDIS/bJVg1WN5gVM7IHHbpXXivz9iYwlUzuLooK0CGZS3aC7nSyOjzusAOb2i BFow== X-Forwarded-Encrypted: i=1; AJvYcCUT8UtxiQK7YOdN2RLUionnBpY6xdpn2/xpRAU/3eKtpnzLPyWZt3xFsNoj2VJrfnvvxLg31Bc3O94WFq5TAdZq9N/vodSs0gjz88Pp X-Gm-Message-State: AOJu0YxU+rf26b+1jUKXPMIiSMmRa9sUUSyBbeH0+v163/OjuQzWkYFN CERTFHSudJAwe06IUkD+5lahmz+NKf0OuKLnyErA1vMqeRHJ6vvYJJNs8HNbF34= X-Received: by 2002:a05:6a20:1e41:b0:1a3:a984:4b8b with SMTP id cy1-20020a056a201e4100b001a3a9844b8bmr1465864pzb.50.1711183019249; Sat, 23 Mar 2024 01:36:59 -0700 (PDT) Received: from dread.disaster.area (pa49-181-56-237.pa.nsw.optusnet.com.au. [49.181.56.237]) by smtp.gmail.com with ESMTPSA id w1-20020a170902e88100b001db8f7720e2sm505903plg.288.2024.03.23.01.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 01:36:58 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1rnws3-0071X6-0D; Sat, 23 Mar 2024 19:36:55 +1100 Date: Sat, 23 Mar 2024 19:36:55 +1100 From: Dave Chinner To: syzbot Cc: chandan.babu@oracle.com, djwong@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [xfs?] possible deadlock in xfs_icwalk_ag Message-ID: References: <000000000000a1ce0006144f7533@google.com> 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: <000000000000a1ce0006144f7533@google.com> On Sat, Mar 23, 2024 at 01:09:28AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: fe46a7dd189e Merge tag 'sound-6.9-rc1' of git://git.kernel.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11525d81180000 > kernel config: https://syzkaller.appspot.com/x/.config?x=fe78468a74fdc3b7 > dashboard link: https://syzkaller.appspot.com/bug?extid=7766d4a620956dfe7070 > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 > > Unfortunately, I don't have any reproducer for this issue yet. > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/0f7abe4afac7/disk-fe46a7dd.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/82598d09246c/vmlinux-fe46a7dd.xz > kernel image: https://storage.googleapis.com/syzbot-assets/efa23788c875/bzImage-fe46a7dd.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+7766d4a620956dfe7070@syzkaller.appspotmail.com > > ====================================================== > WARNING: possible circular locking dependency detected > 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Not tainted > ------------------------------------------------------ > kswapd0/89 is trying to acquire lock: > ffff88814af18118 (&xfs_dir_ilock_class){++++}-{3:3}, at: xfs_reclaim_inode fs/xfs/xfs_icache.c:945 [inline] > ffff88814af18118 (&xfs_dir_ilock_class){++++}-{3:3}, at: xfs_icwalk_process_inode fs/xfs/xfs_icache.c:1631 [inline] > ffff88814af18118 (&xfs_dir_ilock_class){++++}-{3:3}, at: xfs_icwalk_ag+0x1216/0x1aa0 fs/xfs/xfs_icache.c:1713 > > but task is already holding lock: > ffffffff8e21f720 (fs_reclaim){+.+.}-{0:0}, at: balance_pgdat mm/vmscan.c:6774 [inline] > ffffffff8e21f720 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xb3f/0x36e0 mm/vmscan.c:7146 > > which lock already depends on the new lock. #syz dup: possible deadlock in xfs_qm_dqget_cache_insert -- Dave Chinner david@fromorbit.com