------------[ 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:0 Not tainted 6.8.0-rc6-syzkaller-g9910665503b3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: xfs-buf/loop1 xfs_buf_ioend_work pstate: 604000c5 (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 : ffff800093967380 x29: ffff800093967380 x28: ffff0000c1a86518 x27: ffff800092235000 x26: 0000000000000005 x25: 0000000000000001 x24: 1fffe00018350ca3 x23: ffff800092e232c8 x22: 000000000000008b x21: ffff800092dd2c18 x20: 0000000000000001 x19: 00000000ffffffff x18: ffff800093967500 x17: 0000000000000000 x16: ffff80008ad67f9c x15: 0000000000000001 x14: 1fffe00036800002 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000006 x10: 0000000000ff0100 x9 : 3f0aa8dd340b1300 x8 : 3f0aa8dd340b1300 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800093966c78 x4 : ffff80008ed81760 x3 : ffff8000805b9054 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+0x23c/0x71c 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:4047 [inline] try_to_wake_up+0x514/0xf2c kernel/sched/core.c:4369 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+0x3a0/0x6e0 fs/xfs/xfs_buf.c:1347 xfs_buf_ioend_work+0x20/0x30 fs/xfs/xfs_buf.c:1357 process_one_work+0x694/0x1204 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:2787 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 2927042 hardirqs last enabled at (2927041): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (2927041): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (2927042): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2927042): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:162 softirqs last enabled at (2927040): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (2927040): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (2926703): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---