------------[ cut here ]------------ kernel BUG at fs/inode.c:624! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 12716 Comm: btrfs-cleaner Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : clear_inode+0x13c/0x148 fs/inode.c:624 lr : clear_inode+0x13c/0x148 fs/inode.c:624 sp : ffff8000979c7900 x29: ffff8000979c7900 x28: 1fffe0001e262f2d x27: dfff800000000000 x26: 1fffe0001e262efd x25: ffff0000f13177a0 x24: ffff700012f38f38 x23: 0000000000000060 x22: dfff800000000000 x21: 1fffe0001e262f0f x20: ffff0000f1317878 x19: ffff0000f13177a0 x18: ffff8000979c7020 x17: ffff80008225744c x16: ffff800080276f8c x15: 0000000000000001 x14: 1fffe0001e262f3a x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c6cf5a00 x7 : ffff800080b49a40 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0000c6cf5a00 x1 : 0000000000000040 x0 : 0000000000000000 Call trace: clear_inode+0x13c/0x148 fs/inode.c:624 btrfs_evict_inode+0x5dc/0xdf0 evict+0x260/0x68c fs/inode.c:665 iput_final fs/inode.c:1739 [inline] iput+0x734/0x818 fs/inode.c:1765 __btrfs_run_defrag_inode fs/btrfs/defrag.c:282 [inline] btrfs_run_defrag_inodes+0x9b8/0xef8 fs/btrfs/defrag.c:328 cleaner_kthread+0x21c/0x3dc fs/btrfs/disk-io.c:1530 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Code: d4210000 97e77eb7 d4210000 97e77eb5 (d4210000) ---[ end trace 0000000000000000 ]---