------------[ cut here ]------------ kernel BUG at fs/inode.c:624! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11351 Comm: btrfs-cleaner Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 32 cd 96 ff 0f 0b e8 2b cd 96 ff 0f 0b e8 24 cd 96 ff 0f 0b e8 1d cd 96 ff <0f> 0b e8 16 cd 96 ff 0f 0b e8 2f b3 e9 ff e9 db fe ff ff e8 25 b3 RSP: 0018:ffffc9000bfd7b58 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880787bd810 RCX: 0000000000000000 RDX: ffff888079529dc0 RSI: ffffffff81edb2a3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094001 R12: 0000000000000020 R13: ffff8880787bd838 R14: ffff8880787bd810 R15: ffff88807a59e000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa83022c018 CR3: 0000000027077000 CR4: 0000000000350ee0 Call Trace: btrfs_evict_inode+0x534/0xe50 fs/btrfs/inode.c:5340 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1789 [inline] iput.part.0+0x50a/0x740 fs/inode.c:1815 iput+0x5c/0x80 fs/inode.c:1805 __btrfs_run_defrag_inode fs/btrfs/defrag.c:267 [inline] btrfs_run_defrag_inodes+0xbde/0xd90 fs/btrfs/defrag.c:328 cleaner_kthread+0x300/0x4b0 fs/btrfs/disk-io.c:1487 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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 32 cd 96 ff 0f 0b e8 2b cd 96 ff 0f 0b e8 24 cd 96 ff 0f 0b e8 1d cd 96 ff <0f> 0b e8 16 cd 96 ff 0f 0b e8 2f b3 e9 ff e9 db fe ff ff e8 25 b3 RSP: 0018:ffffc9000bfd7b58 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880787bd810 RCX: 0000000000000000 RDX: ffff888079529dc0 RSI: ffffffff81edb2a3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094001 R12: 0000000000000020 R13: ffff8880787bd838 R14: ffff8880787bd810 R15: ffff88807a59e000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa83022c018 CR3: 0000000027077000 CR4: 0000000000350ee0