------------[ cut here ]------------ kernel BUG at fs/inode.c:624! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9078 Comm: btrfs-cleaner Not tainted 6.5.0-rc3-syzkaller-00297-gd31e3792919e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:clear_inode+0x153/0x190 fs/inode.c:624 Code: 48 c7 83 d8 00 00 00 60 00 00 00 5b 5d 41 5c c3 e8 02 ab 95 ff 0f 0b e8 fb aa 95 ff 0f 0b e8 f4 aa 95 ff 0f 0b e8 ed aa 95 ff <0f> 0b e8 e6 aa 95 ff 0f 0b e8 6f b1 e9 ff e9 db fe ff ff e8 65 b1 RSP: 0018:ffffc9000cc6faf0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888077e82980 RCX: 0000000000000000 RDX: ffff888075669dc0 RSI: ffffffff81f0c663 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88807d9ae000 R14: 0000000000000000 R15: ffff888077e82980 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbbeeebb000 CR3: 000000002241a000 CR4: 0000000000350ef0 Call Trace: btrfs_evict_inode+0x51d/0xe30 fs/btrfs/inode.c:5364 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1791 [inline] iput.part.0+0x55e/0x7a0 fs/inode.c:1817 iput+0x5c/0x80 fs/inode.c:1807 __btrfs_run_defrag_inode fs/btrfs/defrag.c:282 [inline] btrfs_run_defrag_inodes+0xa04/0xe00 fs/btrfs/defrag.c:328 cleaner_kthread+0x2f0/0x480 fs/btrfs/disk-io.c:1487 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_inode+0x153/0x190 fs/inode.c:624 Code: 48 c7 83 d8 00 00 00 60 00 00 00 5b 5d 41 5c c3 e8 02 ab 95 ff 0f 0b e8 fb aa 95 ff 0f 0b e8 f4 aa 95 ff 0f 0b e8 ed aa 95 ff <0f> 0b e8 e6 aa 95 ff 0f 0b e8 6f b1 e9 ff e9 db fe ff ff e8 65 b1 RSP: 0018:ffffc9000cc6faf0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888077e82980 RCX: 0000000000000000 RDX: ffff888075669dc0 RSI: ffffffff81f0c663 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88807d9ae000 R14: 0000000000000000 R15: ffff888077e82980 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000002241a000 CR4: 0000000000350ef0