------------[ cut here ]------------ kernel BUG at fs/inode.c:624! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5047 Comm: syz-executor.5 Not tainted 6.5.0-rc2-syzkaller-00019-g74f1456c4a5f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/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 f2 c5 95 ff 0f 0b e8 eb c5 95 ff 0f 0b e8 e4 c5 95 ff 0f 0b e8 dd c5 95 ff <0f> 0b e8 d6 c5 95 ff 0f 0b e8 6f b1 e9 ff e9 db fe ff ff e8 65 b1 RSP: 0018:ffffc9000437fad0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803e30b2d0 RCX: 0000000000000000 RDX: ffff888079583b80 RSI: ffffffff81f0aba3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094000 R12: 0000000000000020 R13: ffff88803e820000 R14: 0000000000000000 R15: ffff88803e30b2d0 FS: 00005555573b5480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94773bd000 CR3: 0000000030492000 CR4: 0000000000350ee0 Call Trace: btrfs_evict_inode+0x51d/0xe30 fs/btrfs/inode.c:5340 evict+0x2ed/0x6b0 fs/inode.c:665 dispose_list+0x117/0x1e0 fs/inode.c:698 evict_inodes+0x34f/0x450 fs/inode.c:748 generic_shutdown_super+0xaf/0x480 fs/super.c:478 kill_anon_super+0x3a/0x60 fs/super.c:1110 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2138 deactivate_locked_super+0x9a/0x170 fs/super.c:330 deactivate_super+0xde/0x100 fs/super.c:361 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254 task_work_run+0x14d/0x240 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f78b987de57 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc18f6f1b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f78b987de57 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffc18f6f270 RBP: 00007ffc18f6f270 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc18f70330 R13: 00007f78b98c73b9 R14: 00000000001bef3c R15: 0000000000000004 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 c5 95 ff 0f 0b e8 eb c5 95 ff 0f 0b e8 e4 c5 95 ff 0f 0b e8 dd c5 95 ff <0f> 0b e8 d6 c5 95 ff 0f 0b e8 6f b1 e9 ff e9 db fe ff ff e8 65 b1 RSP: 0018:ffffc9000437fad0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803e30b2d0 RCX: 0000000000000000 RDX: ffff888079583b80 RSI: ffffffff81f0aba3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094000 R12: 0000000000000020 R13: ffff88803e820000 R14: 0000000000000000 R15: ffff88803e30b2d0 FS: 00005555573b5480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc0d5f10d58 CR3: 0000000030492000 CR4: 0000000000350ee0