------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 6506 at kernel/locking/lockdep.c:2071 print_bfs_bug+0x34/0x48 kernel/locking/lockdep.c:2071 Modules linked in: CPU: 0 PID: 6506 Comm: kworker/u4:2 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: xfs-cil/loop2 xlog_cil_push_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 : ffff8000987f6da0 x29: ffff8000987f6da0 x28: ffff0000daf9c740 x27: ffff800092236000 x26: 0000000000000006 x25: 0000000000000001 x24: 1fffe0001b5f38e8 x23: ffff800092edc0c8 x22: 000000000000008a x21: ffff800092edc058 x20: 0000000000000001 x19: 00000000ffffffff x18: ffff8000987f6f20 x17: 0000000000000000 x16: ffff80008ad6b09c x15: 0000000000000001 x14: 1fffe00036800002 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000007 x10: 0000000000ff0100 x9 : 7d592813186ab200 x8 : 7d592813186ab200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000987f6698 x4 : ffff80008ed822c0 x3 : ffff8000805ba130 x2 : 0000000000000001 x1 : 0000000100000005 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 default_wake_function+0x4c/0x60 kernel/sched/core.c:7059 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock kernel/sched/wait.c:106 [inline] __wake_up+0x12c/0x1b0 kernel/sched/wait.c:127 xlog_cil_set_ctx_write_state+0x2ac/0x314 fs/xfs/xfs_log_cil.c:838 xlog_write+0x308/0x1650 fs/xfs/xfs_log.c:2511 xlog_cil_write_commit_record fs/xfs/xfs_log_cil.c:959 [inline] xlog_cil_push_work+0x1cc4/0x24d0 fs/xfs/xfs_log_cil.c:1268 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: 1889856 hardirqs last enabled at (1889855): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (1889855): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (1889856): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (1889856): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:162 softirqs last enabled at (1886716): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (1886716): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (1886707): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---