------------[ cut here ]------------ kernel BUG at fs/namei.c:2786! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1145 Comm: syz-executor Tainted: G W 5.10.226-syzkaller-00001-g6a01908517df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:may_delete+0x755/0x760 fs/namei.c:2786 Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c db fd ff ff 4c 89 ef e8 0c 32 f4 ff e9 ce fd ff ff e8 22 97 b6 ff 0f 0b e8 1b 97 b6 ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 RSP: 0018:ffffc90000bf7c90 EFLAGS: 00010293 RAX: ffffffff81b415d5 RBX: ffff888110680f10 RCX: ffff8881143f93c0 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc90000bf7d10 R08: ffffffff81b40ef3 R09: 0000000000000003 R10: fffff5200017ef78 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff88811bf60dd0 R14: ffff888128ea6be8 R15: dffffc0000000000 FS: 0000555565c0c500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000900 CR3: 0000000121fac000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x2c/0x3f0 fs/namei.c:3833 incfs_kill_sb+0x108/0x220 fs/incfs/vfs.c:1973 deactivate_locked_super+0xad/0x110 fs/super.c:335 deactivate_super+0xbe/0xf0 fs/super.c:366 cleanup_mnt+0x45c/0x510 fs/namespace.c:1118 __cleanup_mnt+0x19/0x20 fs/namespace.c:1125 task_work_run+0x129/0x190 kernel/task_work.c:189 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xbf/0xd0 kernel/entry/common.c:172 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f5fb7e56a87 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:00007ffd6599daa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5fb7e56a87 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd6599db60 RBP: 00007ffd6599db60 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd6599ec50 R13: 00007f5fb7ec85fc R14: 000000000003ebc3 R15: 00007ffd6599fd10 Modules linked in: ---[ end trace 877701e97a158fc7 ]--- RIP: 0010:may_delete+0x755/0x760 fs/namei.c:2786 Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c db fd ff ff 4c 89 ef e8 0c 32 f4 ff e9 ce fd ff ff e8 22 97 b6 ff 0f 0b e8 1b 97 b6 ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 RSP: 0018:ffffc90000bf7c90 EFLAGS: 00010293 RAX: ffffffff81b415d5 RBX: ffff888110680f10 RCX: ffff8881143f93c0 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffffc90000bf7d10 R08: ffffffff81b40ef3 R09: 0000000000000003 R10: fffff5200017ef78 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff88811bf60dd0 R14: ffff888128ea6be8 R15: dffffc0000000000 FS: 0000555565c0c500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8b7811f178 CR3: 0000000121fac000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400