------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 8 at kernel/locking/lockdep.c:2071 print_bfs_bug+0x34/0x48 kernel/locking/lockdep.c:2071 Modules linked in: CPU: 0 PID: 8 Comm: kworker/0:1 Not tainted 6.9.0-rc4-syzkaller-g6a71d2909427 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: xfs-buf/loop2 xfs_buf_ioend_work pstate: 604010c5 (nZCv daIF +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : print_bfs_bug+0x34/0x48 kernel/locking/lockdep.c:2071 lr : print_bfs_bug+0x34/0x48 kernel/locking/lockdep.c:2071 sp : ffff800093bf7340 x29: ffff800093bf7340 x28: ffff0000c19be5f0 x27: ffff8000924bc000 x26: 0000000000000005 x25: 0000000000000001 x24: 1fffe00018337cbe x23: ffff80009315b118 x22: 0000000000000098 x21: ffff80009315b2d8 x20: 0000000000000001 x19: 00000000ffffffff x18: 0000000000000008 x17: 0000000000000000 x16: ffff80008ae725bc x15: 0000000000000001 x14: 1fffe000367b9602 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000006 x10: 0000000000ff0100 x9 : 40a5cd4cfceb5a00 x8 : 40a5cd4cfceb5a00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800093bf6ab8 x4 : ffff80008ef650a0 x3 : ffff8000805e616c x2 : 0000000000000001 x1 : 0000000100000004 x0 : 0000000000000000 Call trace: print_bfs_bug+0x34/0x48 kernel/locking/lockdep.c:2071 check_prev_add kernel/locking/lockdep.c:3138 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x63ac/0x763c kernel/locking/lockdep.c:5137 lock_acquire+0x248/0x73c kernel/locking/lockdep.c:5754 do_write_seqcount_begin_nested include/linux/seqlock.h:469 [inline] do_write_seqcount_begin include/linux/seqlock.h:495 [inline] psi_account_irqtime+0x310/0x7cc kernel/sched/psi.c:1016 update_rq_clock_task kernel/sched/core.c:726 [inline] update_rq_clock+0x1b8/0x634 kernel/sched/core.c:770 ttwu_queue kernel/sched/core.c:4056 [inline] try_to_wake_up+0x514/0xf2c kernel/sched/core.c:4378 swake_up_locked kernel/sched/swait.c:29 [inline] complete_with_flags kernel/sched/completion.c:24 [inline] complete+0xb8/0x1a4 kernel/sched/completion.c:47 xfs_buf_ioend+0x3b8/0x70c fs/xfs/xfs_buf.c:1414 xfs_buf_ioend_work+0x20/0x30 fs/xfs/xfs_buf.c:1424 process_one_work+0x7b8/0x15d4 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:3416 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 3150470 hardirqs last enabled at (3150469): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (3150469): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (3150470): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (3150470): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:162 softirqs last enabled at (3150468): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (3150468): [] __do_softirq+0xb10/0xd2c kernel/softirq.c:583 softirqs last disabled at (3150167): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---