From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (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 988BF3EBF06 for ; Sat, 14 Feb 2026 16:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771088165; cv=none; b=GGxaLPtKHOE6dK1frKjUKwX1f+ihpDSODQZDqXEXtdkgVRQC0qaudXU8cNj7dxu1CXUm/BV2qr93o3qIK0lbh11mA7JERtXk/lzpXYj4JsXejnAQOfzx+FF13rrKnOJ5Josi/Ej2Ufeaie0aQph4FZJlhPauNIpzjOLiQhbd28A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771088165; c=relaxed/simple; bh=ji513dQGBNW8sIkaQPQAkxAPwgbN8vJtBh4R+fGbV5o=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=RAEGQVFDZyM6S/fjBkZnFHaEgjc48xhuWu6MM0zHqqYAgPc/Ggf5XE35mbAszCHpJKLh7pgvHc0gOTKy0XUR+u7M73Yv3qrg9YRMrMAh/5UnC/vcJYjkwmL/o9BDr4d+POY5JwqkF/atoZ+8YV/57n5XO9MFsrZomghUL3puOLA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.167.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-45f148c7fc6so14615813b6e.3 for ; Sat, 14 Feb 2026 08:56:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771088162; x=1771692962; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+86YvAOjgK3wYMaasISYkbRVQR5/eWt+f7kaoeweC7g=; b=OQrFrLySoye7sUz9Ukxz7/eojXFzY3ejHZW1csjpV4TZde1eTlGmpRhwZyrnQKcMsW xqhZtF8uqo97oE6mInOYWMTUnLeN1MEFTa5vLHwB8jcR2nbu1gycMByljfqmGO/+6wob IhNTHr79nlDI/ZJYAZgSjgARk2BxPLlWXyDoajZoeIwp6m8lXDE93oG3NOHROmL74I6l 7Er4Ec7Ct/TgIB/hhz9t7O5kLkRUm09WSMmFoT0/TXfGqAQqDyNElglknZQHmU98JOBQ hssNjiJKY4RXXNzSLoPcb+DwdmEwO2EfbBdKVQvFC/epONJGkiRE4SUDTr0hDmiZmy1r /2ng== X-Forwarded-Encrypted: i=1; AJvYcCXnVIMrE8qnzv9959BCHz4m0G9oMUkgDLfLBfw5Dv+1Eag4506yYyhJ+NSn6ykTjBCzA+SyS4c0iwdd2eI=@vger.kernel.org X-Gm-Message-State: AOJu0YzWwWBeJrea+9xhcyJJMEr3azCHTAQ10AKPk2d+6UwwvCt+nvf0 KuO6563lYmRJ7EmaHpd1EB7gH0MdqWwnCez1b6eQFDy96Nt9so9xm5x4d/Ykzs+vKym1xLgoaQt YSUGI/KWudh/xoVOhMV6jg7zUE5zIuM2cNN3ZUTr9LEv8p4c5AeFRMOZwock= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:4c15:b0:672:5a31:70a6 with SMTP id 006d021491bc7-67768ad83a1mr2562877eaf.40.1771088162560; Sat, 14 Feb 2026 08:56:02 -0800 (PST) Date: Sat, 14 Feb 2026 08:56:02 -0800 In-Reply-To: <20260214161618.GI7712@frogsfrogsfrogs> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6990a922.a70a0220.2c38d7.00d1.GAE@google.com> Subject: Re: [syzbot] [xfs?] inconsistent lock state in igrab From: syzbot To: djwong@kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: inconsistent lock state in igrab I/O error, dev loop0, sector 18692 op 0x0:(READ) flags 0x880700 phys_seg 1 prio class 2 ================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. ksoftirqd/1/23 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888077208a00 (&sb->s_type->i_lock_key#35){+.?.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff888077208a00 (&sb->s_type->i_lock_key#35){+.?.}-{3:3}, at: igrab+0x2a/0x230 fs/inode.c:1573 {SOFTIRQ-ON-W} state was registered at: lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x17c/0x330 kernel/locking/lockdep.c:5825 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] unlock_new_inode+0x7a/0x330 fs/inode.c:1212 xfs_finish_inode_setup fs/xfs/xfs_inode.h:630 [inline] xfs_setup_existing_inode fs/xfs/xfs_inode.h:637 [inline] xfs_iget+0x117e/0x3070 fs/xfs/xfs_icache.c:821 xfs_mountfs+0x108c/0x20b0 fs/xfs/xfs_mount.c:1072 xfs_fs_fill_super+0x153f/0x1f20 fs/xfs/xfs_super.c:1968 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1694 vfs_get_tree+0x92/0x320 fs/super.c:1754 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount fs/namespace.c:3712 [inline] path_mount+0x7d0/0x23c0 fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:4201 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 1324352 hardirqs last enabled at (1324352): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1324352): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (1324351): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (1324351): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (1324324): [] run_ksoftirqd kernel/softirq.c:1063 [inline] softirqs last enabled at (1324324): [] run_ksoftirqd+0x38/0x60 kernel/softirq.c:1055 softirqs last disabled at (1324329): [] run_ksoftirqd kernel/softirq.c:1063 [inline] softirqs last disabled at (1324329): [] run_ksoftirqd+0x38/0x60 kernel/softirq.c:1055 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&sb->s_type->i_lock_key#35); lock(&sb->s_type->i_lock_key#35); *** DEADLOCK *** no locks held by ksoftirqd/1/23. stack backtrace: CPU: 1 UID: 0 PID: 23 Comm: ksoftirqd/1 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_usage_bug.part.0+0x257/0x340 kernel/locking/lockdep.c:4042 print_usage_bug kernel/locking/lockdep.c:4010 [inline] valid_state kernel/locking/lockdep.c:4056 [inline] mark_lock_irq kernel/locking/lockdep.c:4267 [inline] mark_lock+0x74a/0xa20 kernel/locking/lockdep.c:4753 mark_usage kernel/locking/lockdep.c:4642 [inline] __lock_acquire+0x103a/0x2630 kernel/locking/lockdep.c:5191 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x17c/0x330 kernel/locking/lockdep.c:5825 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] igrab+0x2a/0x230 fs/inode.c:1573 fserror_report+0x3fd/0x750 fs/fserror.c:159 fserror_report_io include/linux/fserror.h:48 [inline] iomap_finish_folio_read+0x168/0x2c0 fs/iomap/buffered-io.c:407 iomap_read_end_io+0x11a/0x430 fs/iomap/bio.c:17 bio_endio+0x755/0x8b0 block/bio.c:1675 blk_update_request+0x741/0x1330 block/blk-mq.c:1007 blk_mq_end_request+0x5b/0x420 block/blk-mq.c:1169 lo_complete_rq+0x1d4/0x2a0 drivers/block/loop.c:314 blk_complete_reqs+0xb1/0xf0 block/blk-mq.c:1244 handle_softirqs+0x1ea/0x910 kernel/softirq.c:622 run_ksoftirqd kernel/softirq.c:1063 [inline] run_ksoftirqd+0x38/0x60 kernel/softirq.c:1055 smpboot_thread_fn+0x3d3/0xaa0 kernel/smpboot.c:160 kthread+0x3b3/0x730 kernel/kthread.c:463 ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 I/O error, dev loop0, sector 8192 op 0x0:(READ) flags 0x880700 phys_seg 1 prio class 2 I/O error, dev loop0, sector 31856 op 0x0:(READ) flags 0x880700 phys_seg 1 prio class 2 Tested on: commit: f90fa6ef fserror: fix lockdep complaint when igrabbing.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git console output: https://syzkaller.appspot.com/x/log.txt?x=162a115a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=edb00b8890416b0 dashboard link: https://syzkaller.appspot.com/bug?extid=5eb0d61dfb76ca12670c compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 Note: no patches were applied.