------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 1 PID: 18473 at kernel/locking/lockdep.c:2071 print_bfs_bug+0x24/0x30 kernel/locking/lockdep.c:2071 Modules linked in: CPU: 1 PID: 18473 Comm: kworker/u4:8 Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: btrfs-delalloc btrfs_work_helper RIP: 0010:print_bfs_bug+0x24/0x30 kernel/locking/lockdep.c:2071 Code: e9 53 fa ff ff 90 55 53 89 fb e8 47 ba 1a 03 89 c5 e8 50 20 ff ff 85 ed 74 14 90 48 c7 c7 40 bd 6a 8b 89 de e8 bd 9f e6 ff 90 <0f> 0b 90 90 5b 5d c3 0f 1f 44 00 00 55 41 57 41 56 41 55 41 54 53 RSP: 0018:ffffc90014bc6548 EFLAGS: 00010046 RAX: 8c62a8d08e926500 RBX: 00000000ffffffff RCX: ffff88802da73b80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8154c492 R09: 1ffff110173251a2 R10: dffffc0000000000 R11: ffffed10173251a3 R12: dffffc0000000001 R13: ffffffff91f039a8 R14: ffffffff90b17520 R15: ffffffff91f03938 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007a73e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_irq_usage kernel/locking/lockdep.c:2806 [inline] check_prev_add kernel/locking/lockdep.c:3138 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain+0x498a/0x5ab0 kernel/locking/lockdep.c:3869 __lock_acquire+0x1345/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x16d/0x510 lib/debugobjects.c:708 debug_timer_activate kernel/time/timer.c:779 [inline] __mod_timer+0x7e5/0xfd0 kernel/time/timer.c:1119 blk_stat_activate_nsecs block/blk-stat.h:147 [inline] rwb_arm_timer block/blk-wbt.c:418 [inline] wbt_wait+0x544/0x630 block/blk-wbt.c:661 __rq_qos_throttle+0x65/0xb0 block/blk-rq-qos.c:66 rq_qos_throttle block/blk-rq-qos.h:151 [inline] blk_mq_get_new_requests block/blk-mq.c:2898 [inline] blk_mq_submit_bio+0xbad/0x2650 block/blk-mq.c:3011 __submit_bio+0x239/0x2e0 block/blk-core.c:607 __submit_bio_noacct_mq block/blk-core.c:686 [inline] submit_bio_noacct_nocheck+0x91d/0xc70 block/blk-core.c:715 btrfs_submit_chunk fs/btrfs/bio.c:742 [inline] btrfs_submit_bio+0xf25/0x18c0 fs/btrfs/bio.c:761 submit_one_bio+0x115/0x1c0 fs/btrfs/extent_io.c:121 submit_extent_page+0xa59/0xd10 __extent_writepage_io+0x839/0x11c0 fs/btrfs/extent_io.c:1417 extent_write_locked_range+0x61e/0x1060 fs/btrfs/extent_io.c:2233 run_delalloc_cow+0x15a/0x1f0 fs/btrfs/inode.c:1728 submit_uncompressed_range fs/btrfs/inode.c:1086 [inline] submit_one_async_extent fs/btrfs/inode.c:1137 [inline] submit_compressed_extents+0xa8a/0x1ae0 fs/btrfs/inode.c:1613 run_ordered_work fs/btrfs/async-thread.c:246 [inline] btrfs_work_helper+0x542/0xbe0 fs/btrfs/async-thread.c:325 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242