------------[ cut here ]------------ kernel BUG at fs/namei.c:2956! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1666 Comm: syz-executor Tainted: G W 6.1.99-syzkaller-00080-ga874ed06eb34 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:may_delete+0x6eb/0x6f0 fs/namei.c:2956 Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 a6 6e f3 ff e9 72 fe ff ff e8 6c 1c ac ff 0f 0b e8 65 1c ac ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 51 1c ac ff 4c 8d RSP: 0018:ffffc9000477fbd8 EFLAGS: 00010293 RAX: ffffffff81c986db RBX: ffff88813e9019c0 RCX: ffff888118f66540 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000477fc40 R08: ffffffff81c9806f R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888100655440 R13: 1ffff110200caa88 R14: ffff888131e1c608 R15: dffffc0000000000 FS: 00005555556d8500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555703528 CR3: 000000012c510000 CR4: 00000000003506b0 Call Trace: vfs_rmdir+0x32/0x500 fs/namei.c:4172 incfs_kill_sb+0x113/0x230 fs/incfs/vfs.c:1995 deactivate_locked_super+0xad/0x110 fs/super.c:334 deactivate_super+0xbe/0xf0 fs/super.c:365 cleanup_mnt+0x485/0x510 fs/namespace.c:1186 __cleanup_mnt+0x19/0x20 fs/namespace.c:1193 task_work_run+0x24d/0x2e0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x94/0xa0 kernel/entry/common.c:177 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x26/0x130 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f004d37fa47 Code: a8 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff66983d88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f004d37fa47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff66983e40 RBP: 00007fff66983e40 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff66984f30 R13: 00007f004d3f11cc R14: 0000000000021b8f R15: 00007fff66985ff0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:may_delete+0x6eb/0x6f0 fs/namei.c:2956 Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 a6 6e f3 ff e9 72 fe ff ff e8 6c 1c ac ff 0f 0b e8 65 1c ac ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 51 1c ac ff 4c 8d RSP: 0018:ffffc9000477fbd8 EFLAGS: 00010293 RAX: ffffffff81c986db RBX: ffff88813e9019c0 RCX: ffff888118f66540 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc9000477fc40 R08: ffffffff81c9806f R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888100655440 R13: 1ffff110200caa88 R14: ffff888131e1c608 R15: dffffc0000000000 FS: 00005555556d8500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557204b24038 CR3: 000000012c510000 CR4: 00000000003506b0