------------[ cut here ]------------ kernel BUG at fs/inode.c:624! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5045 Comm: syz-executor.3 Not tainted 6.4.0-rc7-syzkaller #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 12 f0 96 ff 0f 0b e8 0b f0 96 ff 0f 0b e8 04 f0 96 ff 0f 0b e8 fd ef 96 ff <0f> 0b e8 f6 ef 96 ff 0f 0b e8 6f bb e9 ff e9 db fe ff ff e8 65 bb RSP: 0018:ffffc9000431fad0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808b4696f8 RCX: 0000000000000000 RDX: ffff88801479d940 RSI: ffffffff81ed56e3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094001 R12: 0000000000000020 R13: ffff88808b469720 R14: ffff88808b4696f8 R15: ffff888085a9e000 FS: 0000555556869400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1a1d157978 CR3: 000000003ec0b000 CR4: 0000000000350ef0 Call Trace: btrfs_evict_inode+0x53a/0xe50 fs/btrfs/inode.c:5235 evict+0x2ed/0x6b0 fs/inode.c:665 dispose_list+0x117/0x1e0 fs/inode.c:698 evict_inodes+0x345/0x440 fs/inode.c:748 generic_shutdown_super+0xaf/0x480 fs/super.c:479 kill_anon_super+0x3a/0x60 fs/super.c:1107 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2144 deactivate_locked_super+0x98/0x160 fs/super.c:331 deactivate_super+0xb1/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1177 task_work_run+0x16f/0x270 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+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9e1788d7f7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 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 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffebbe071d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f9e1788d7f7 RDX: 00007ffebbe072aa RSI: 000000000000000a RDI: 00007ffebbe072a0 RBP: 00007ffebbe072a0 R08: 00000000ffffffff R09: 00007ffebbe07070 R10: 000055555686a893 R11: 0000000000000246 R12: 00007f9e178d643b R13: 00007ffebbe08360 R14: 000055555686a810 R15: 00007ffebbe083a0 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 12 f0 96 ff 0f 0b e8 0b f0 96 ff 0f 0b e8 04 f0 96 ff 0f 0b e8 fd ef 96 ff <0f> 0b e8 f6 ef 96 ff 0f 0b e8 6f bb e9 ff e9 db fe ff ff e8 65 bb RSP: 0018:ffffc9000431fad0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808b4696f8 RCX: 0000000000000000 RDX: ffff88801479d940 RSI: ffffffff81ed56e3 RDI: 0000000000000007 RBP: 0000000000000040 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000040 R11: 0000000000094001 R12: 0000000000000020 R13: ffff88808b469720 R14: ffff88808b4696f8 R15: ffff888085a9e000 FS: 0000555556869400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffebbe06f78 CR3: 000000003ec0b000 CR4: 0000000000350ee0