------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 24656 at lib/refcount.c:28 refcount_warn_saturate+0x144/0x1b0 lib/refcount.c:28 Modules linked in: CPU: 1 PID: 24656 Comm: btrfs-cleaner Not tainted 6.3.0-rc5-syzkaller-00022-g76f598ba7d8e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:refcount_warn_saturate+0x144/0x1b0 lib/refcount.c:28 Code: 0a 01 48 c7 c7 20 bf 37 8b e8 c8 73 22 fd 0f 0b eb a9 e8 4f 5c 5a fd c6 05 ba 1b 0f 0a 01 48 c7 c7 80 bf 37 8b e8 ac 73 22 fd <0f> 0b eb 8d e8 33 5c 5a fd c6 05 9b 1b 0f 0a 01 48 c7 c7 c0 be 37 RSP: 0018:ffffc9000b3c7aa8 EFLAGS: 00010246 RAX: ef0b9603335e4200 RBX: ffff88802768f2f8 RCX: ffff8880283ed7c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000003 R08: ffffffff81527c82 R09: ffffed101732515b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92001678f6c R14: ffff888036584168 R15: 1ffff11006cb08bf FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558501bed4a8 CR3: 0000000029696000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_evict_inode+0x6f4/0x1090 fs/btrfs/inode.c:5398 evict+0x2a4/0x620 fs/inode.c:665 __btrfs_run_defrag_inode fs/btrfs/defrag.c:282 [inline] btrfs_run_defrag_inodes+0xa90/0xe20 fs/btrfs/defrag.c:328 cleaner_kthread+0x287/0x3c0 fs/btrfs/disk-io.c:1742 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308