------------[ cut here ]------------ kernel BUG at fs/inode.c:624! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6428 Comm: btrfs-cleaner Not tainted 6.5.0-rc3-syzkaller-00283-g12214540ad87 #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 32 a5 95 ff 0f 0b e8 2b a5 95 ff 0f 0b e8 24 a5 95 ff 0f 0b e8 1d a5 95 ff <0f> 0b e8 16 a5 95 ff 0f 0b e8 6f b1 e9 ff e9 db fe ff ff e8 65 b1 RSP: 0018:ffffc90002c97af0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880225da980 RCX: 0000000000000000 RDX: ffff88801e30c800 RSI: ffffffff81f0cc33 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88801b836000 R14: 0000000000000000 R15: ffff8880225da980 FS: 0000000000000000(0000) GS:ffff88802c700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f72b5736 CR3: 000000004e633000 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:5364 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:282 [inline] btrfs_run_defrag_inodes+0xa04/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 32 a5 95 ff 0f 0b e8 2b a5 95 ff 0f 0b e8 24 a5 95 ff 0f 0b e8 1d a5 95 ff <0f> 0b e8 16 a5 95 ff 0f 0b e8 6f b1 e9 ff e9 db fe ff ff e8 65 b1 RSP: 0018:ffffc90002c97af0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880225da980 RCX: 0000000000000000 RDX: ffff88801e30c800 RSI: ffffffff81f0cc33 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000020 R13: ffff88801b836000 R14: 0000000000000000 R15: ffff8880225da980 FS: 0000000000000000(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cc046c2678 CR3: 00000000485b5000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400