------------[ cut here ]------------ kernel BUG at fs/inode.c:626! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 3 PID: 5889 Comm: btrfs-cleaner Not tainted 6.9.0-rc6-syzkaller #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+0x15b/0x190 fs/inode.c:626 Code: 00 00 00 5b 5d 41 5c c3 cc cc cc cc e8 5e f0 8c ff 90 0f 0b e8 56 f0 8c ff 90 0f 0b e8 4e f0 8c ff 90 0f 0b e8 46 f0 8c ff 90 <0f> 0b e8 3e f0 8c ff 90 0f 0b e8 66 35 e8 ff e9 d2 fe ff ff e8 5c RSP: 0018:ffffc900062f7ae0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880320f77a0 RCX: ffffffff8200d480 RDX: ffff888024d7a440 RSI: ffffffff8200d4ea RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88802510c000 R14: 0000000000000000 R15: ffff8880320f77a0 FS: 0000000000000000(0000) GS:ffff88806b500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdb50e6138 CR3: 000000001adba000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_evict_inode+0x529/0xe80 fs/btrfs/inode.c:5278 evict+0x2ed/0x6c0 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput.part.0+0x5a8/0x7f0 fs/inode.c:1767 iput+0x5c/0x80 fs/inode.c:1757 __btrfs_run_defrag_inode fs/btrfs/defrag.c:281 [inline] btrfs_run_defrag_inodes+0xa02/0xe00 fs/btrfs/defrag.c:327 cleaner_kthread+0x2ee/0x480 fs/btrfs/disk-io.c:1531 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_inode+0x15b/0x190 fs/inode.c:626 Code: 00 00 00 5b 5d 41 5c c3 cc cc cc cc e8 5e f0 8c ff 90 0f 0b e8 56 f0 8c ff 90 0f 0b e8 4e f0 8c ff 90 0f 0b e8 46 f0 8c ff 90 <0f> 0b e8 3e f0 8c ff 90 0f 0b e8 66 35 e8 ff e9 d2 fe ff ff e8 5c RSP: 0018:ffffc900062f7ae0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880320f77a0 RCX: ffffffff8200d480 RDX: ffff888024d7a440 RSI: ffffffff8200d4ea RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88802510c000 R14: 0000000000000000 R15: ffff8880320f77a0 FS: 0000000000000000(0000) GS:ffff88806b500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdb50e6138 CR3: 000000001adba000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400