------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 12 at kernel/locking/lockdep.c:2071 print_bfs_bug+0x24/0x30 kernel/locking/lockdep.c:2071 Modules linked in: CPU: 0 PID: 12 Comm: kworker/u4:1 Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: btrfs-delalloc btrfs_work_helper RIP: 0010:print_bfs_bug+0x24/0x30 kernel/locking/lockdep.c:2071 Code: 90 90 90 90 90 90 55 53 89 fb e8 07 e9 21 03 89 c5 e8 80 1b ff ff 85 ed 74 14 90 48 c7 c7 c0 cd aa 8b 89 de e8 fd c6 e5 ff 90 <0f> 0b 90 90 5b 5d c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000116cc8 EFLAGS: 00010046 RAX: 756f6f7a2da34300 RBX: 00000000ffffffff RCX: ffff8880176e5940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff815779c2 R09: 1ffff110172851a2 R10: dffffc0000000000 R11: ffffed10172851a3 R12: dffffc0000000001 R13: ffffffff93dae208 R14: ffffffff9298c7b0 R15: ffffffff93dae128 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff66104c0f0 CR3: 000000003394a000 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+0x47dd/0x58e0 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 queue_delayed_work_on+0x15a/0x260 kernel/workqueue.c:1989 queue_delayed_work include/linux/workqueue.h:563 [inline] wb_inode_writeback_end mm/page-writeback.c:2939 [inline] __folio_end_writeback+0x5e5/0xdc0 mm/page-writeback.c:2965 folio_end_writeback+0x1f7/0x6f0 mm/filemap.c:1599 process_one_page fs/btrfs/extent_io.c:200 [inline] __process_pages_contig+0x3c3/0x670 fs/btrfs/extent_io.c:226 compress_file_range+0x1175/0x1210 fs/btrfs/inode.c:1001 btrfs_work_helper+0x380/0xc10 fs/btrfs/async-thread.c:315 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242