------------[ cut here ]------------ kernel BUG at fs/inode.c:624! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 20780 Comm: btrfs-cleaner Not tainted 6.4.0-syzkaller-00082-gc0a572d9d32f #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 b2 e1 96 ff 0f 0b e8 ab e1 96 ff 0f 0b e8 a4 e1 96 ff 0f 0b e8 9d e1 96 ff <0f> 0b e8 96 e1 96 ff 0f 0b e8 1f b4 e9 ff e9 db fe ff ff e8 15 b4 RSP: 0018:ffffc90015b07b58 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808c9361b8 RCX: 0000000000000000 RDX: ffff888024db3b80 RSI: ffffffff81ed68f3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094001 R12: 0000000000000020 R13: ffff88808c9361e0 R14: ffff88808c9361b8 R15: ffff88808c506000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5293a33000 CR3: 0000000029ad6000 CR4: 0000000000350ef0 Call Trace: btrfs_evict_inode+0x53a/0xe50 fs/btrfs/inode.c:5235 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:1739 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 b2 e1 96 ff 0f 0b e8 ab e1 96 ff 0f 0b e8 a4 e1 96 ff 0f 0b e8 9d e1 96 ff <0f> 0b e8 96 e1 96 ff 0f 0b e8 1f b4 e9 ff e9 db fe ff ff e8 15 b4 RSP: 0018:ffffc90015b07b58 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808c9361b8 RCX: 0000000000000000 RDX: ffff888024db3b80 RSI: ffffffff81ed68f3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094001 R12: 0000000000000020 R13: ffff88808c9361e0 R14: ffff88808c9361b8 R15: ffff88808c506000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2760eb1c0 CR3: 000000002a0d0000 CR4: 0000000000350ee0