------------[ cut here ]------------ kernel BUG at fs/inode.c:624! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 2 PID: 16032 Comm: btrfs-cleaner Not tainted 6.5.0-rc2-syzkaller-00052-gbfa3037d8280 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 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 f2 a1 96 ff 0f 0b e8 eb a1 96 ff 0f 0b e8 e4 a1 96 ff 0f 0b e8 dd a1 96 ff <0f> 0b e8 d6 a1 96 ff 0f 0b e8 0f b0 e9 ff e9 db fe ff ff e8 05 b0 RSP: 0018:ffffc9000601faf0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880632a86c0 RCX: 0000000000000000 RDX: ffff8880624a96c0 RSI: ffffffff81eee6f3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88806457c000 R14: 0000000000000000 R15: ffff8880632a86c0 FS: 0000000000000000(0000) GS:ffff88806b800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd191f1da8 CR3: 0000000023f71000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_evict_inode+0x51d/0xe30 fs/btrfs/inode.c:5340 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:267 [inline] btrfs_run_defrag_inodes+0xc50/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 f2 a1 96 ff 0f 0b e8 eb a1 96 ff 0f 0b e8 e4 a1 96 ff 0f 0b e8 dd a1 96 ff <0f> 0b e8 d6 a1 96 ff 0f 0b e8 0f b0 e9 ff e9 db fe ff ff e8 05 b0 RSP: 0018:ffffc9000601faf0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880632a86c0 RCX: 0000000000000000 RDX: ffff8880624a96c0 RSI: ffffffff81eee6f3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88806457c000 R14: 0000000000000000 R15: ffff8880632a86c0 FS: 0000000000000000(0000) GS:ffff88806b800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000003c993000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400