------------[ cut here ]------------ kernel BUG at fs/inode.c:661! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 7725 Comm: btrfs-cleaner Not tainted 6.11.0-rc5-syzkaller-gdf54f4a16f82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : clear_inode+0x13c/0x148 fs/inode.c:661 lr : clear_inode+0x13c/0x148 fs/inode.c:661 sp : ffff80009b827840 x29: ffff80009b827840 x28: ffff0000d1690000 x27: dfff800000000000 x26: 1fffe0001df0e192 x25: ffff0000ef870c48 x24: ffff700013704f20 x23: 0000000000000060 x22: dfff800000000000 x21: 1fffe0001df0e1a3 x20: ffff0000ef870d18 x19: ffff0000ef870c48 x18: ffff80009b826f80 x17: ffff80008225b49c x16: ffff80008029add0 x15: 0000000000000001 x14: 1fffe0001df0e1ce x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d256dac0 x7 : ffff800080bd69dc x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0000d256dac0 x1 : 0000000000000040 x0 : 0000000000000000 Call trace: clear_inode+0x13c/0x148 fs/inode.c:661 btrfs_evict_inode+0x5f0/0xdf4 evict+0x418/0x894 fs/inode.c:704 iput_final fs/inode.c:1838 [inline] iput+0x74c/0x830 fs/inode.c:1864 __btrfs_run_defrag_inode fs/btrfs/defrag.c:281 [inline] btrfs_run_defrag_inodes+0x998/0xef0 fs/btrfs/defrag.c:327 cleaner_kthread+0x21c/0x3dc fs/btrfs/disk-io.c:1527 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Code: d4210000 97e64600 d4210000 97e645fe (d4210000) ---[ end trace 0000000000000000 ]---