------------[ cut here ]------------ kernel BUG at fs/inode.c:623! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9839 Comm: btrfs-cleaner Not tainted 6.5.0-rc7-syzkaller-00022-ga5e505a99ca7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:clear_inode+0x143/0x150 fs/inode.c:623 Code: c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 f2 6f 90 ff 0f 0b e8 eb 6f 90 ff 0f 0b e8 e4 6f 90 ff 0f 0b e8 dd 6f 90 ff <0f> 0b e8 d6 6f 90 ff 0f 0b 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 41 RSP: 0018:ffffc9000354fa70 EFLAGS: 00010293 RAX: ffffffff81fb4853 RBX: 0000000000000040 RCX: ffff88802bbabb80 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc9000354fc40 R08: ffffffff81fb47e8 R09: 1ffffffff1d30efd R10: dffffc0000000000 R11: fffffbfff1d30efe R12: dffffc0000000000 R13: 1ffff110074da8c9 R14: ffff88803a6d4648 R15: ffff88803a6d4570 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2bb6787000 CR3: 00000000763f0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_evict_inode+0x783/0x1000 evict+0x2a4/0x620 fs/inode.c:664 __btrfs_run_defrag_inode fs/btrfs/defrag.c:267 [inline] btrfs_run_defrag_inodes+0xd36/0xe20 fs/btrfs/defrag.c:328 cleaner_kthread+0x287/0x3c0 fs/btrfs/disk-io.c:1498 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_inode+0x143/0x150 fs/inode.c:623 Code: c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 f2 6f 90 ff 0f 0b e8 eb 6f 90 ff 0f 0b e8 e4 6f 90 ff 0f 0b e8 dd 6f 90 ff <0f> 0b e8 d6 6f 90 ff 0f 0b 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 41 RSP: 0018:ffffc9000354fa70 EFLAGS: 00010293 RAX: ffffffff81fb4853 RBX: 0000000000000040 RCX: ffff88802bbabb80 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc9000354fc40 R08: ffffffff81fb47e8 R09: 1ffffffff1d30efd R10: dffffc0000000000 R11: fffffbfff1d30efe R12: dffffc0000000000 R13: 1ffff110074da8c9 R14: ffff88803a6d4648 R15: ffff88803a6d4570 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4734af4000 CR3: 000000003329b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400