------------[ cut here ]------------ kernel BUG at fs/inode.c:623! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12563 Comm: btrfs-cleaner Not tainted 6.1.30-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:clear_inode+0x13f/0x150 fs/inode.c:623 Code: c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 f6 e4 93 ff 0f 0b e8 ef e4 93 ff 0f 0b e8 e8 e4 93 ff 0f 0b e8 e1 e4 93 ff <0f> 0b e8 da e4 93 ff 0f 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 RSP: 0018:ffffc90015c47a90 EFLAGS: 00010293 RAX: ffffffff81f5e08f RBX: 0000000000000040 RCX: ffff8880a15f3b80 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc90015c47c60 R08: ffffffff81f5e024 R09: ffffed1013489e15 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff11013489de9 R14: ffff88809a44ef48 R15: ffff88809a44ee70 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ec241ae28 CR3: 00000000276e7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_evict_inode+0x74e/0x10a0 fs/btrfs/inode.c:5507 evict+0x2a4/0x620 fs/inode.c:664 __btrfs_run_defrag_inode fs/btrfs/tree-defrag.c:275 [inline] btrfs_run_defrag_inodes+0xaa0/0xe30 fs/btrfs/tree-defrag.c:321 cleaner_kthread+0x1de/0x360 fs/btrfs/disk-io.c:1835 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_inode+0x13f/0x150 fs/inode.c:623 Code: c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 f6 e4 93 ff 0f 0b e8 ef e4 93 ff 0f 0b e8 e8 e4 93 ff 0f 0b e8 e1 e4 93 ff <0f> 0b e8 da e4 93 ff 0f 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 RSP: 0018:ffffc90015c47a90 EFLAGS: 00010293 RAX: ffffffff81f5e08f RBX: 0000000000000040 RCX: ffff8880a15f3b80 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffffc90015c47c60 R08: ffffffff81f5e024 R09: ffffed1013489e15 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff11013489de9 R14: ffff88809a44ef48 R15: ffff88809a44ee70 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ec241ae28 CR3: 00000000276e7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400