------------[ cut here ]------------ kernel BUG at fs/namei.c:2894! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 794 Comm: syz.4.95 Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:may_delete+0x7b1/0x7c0 fs/namei.c:2894 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c dd fd ff ff 48 89 df e8 90 bf f6 ff e9 d0 fd ff ff e8 76 c5 c8 ff 0f 0b e8 6f c5 c8 ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 56 53 RSP: 0018:ffff8881eaf67750 EFLAGS: 00010293 RAX: ffffffff8196b971 RBX: ffff8881e9fb4220 RCX: ffff8881ece66e40 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffff8881eaf677d0 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103d5eced0 R11: 1ffff1103d5eced0 R12: ffff8881dd9d7490 R13: 1ffff1103d3f6844 R14: ffff8881e9fb4238 R15: ffff8881ed327470 FS: 00007f984d27f6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f39a0c3ed69 CR3: 00000001d8606000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_rmdir+0x2c/0x3e0 fs/namei.c:4008 incfs_kill_sb+0xfe/0x210 fs/incfs/vfs.c:1944 deactivate_locked_super+0xa0/0x100 fs/super.c:335 deactivate_super+0x14f/0x1d0 fs/super.c:366 cleanup_mnt+0x446/0x500 fs/namespace.c:1102 __cleanup_mnt+0x19/0x20 fs/namespace.c:1109 task_work_run+0x146/0x170 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xa43/0x2660 kernel/exit.c:861 do_group_exit+0x13e/0x300 kernel/exit.c:984 get_signal+0xdee/0x13d0 kernel/signal.c:2738 do_signal+0xad/0xda0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc4/0x1b0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x18e/0x1f0 arch/x86/entry/common.c:194 syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x13e/0x170 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f984ec37969 Code: Bad RIP value. RSP: 002b:00007f984d27f0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f984ee5f088 RCX: 00007f984ec37969 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f984ee5f088 RBP: 00007f984ee5f080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f984ee5f08c R13: 0000000000000000 R14: 00007ffd29152e30 R15: 00007ffd29152f18 Modules linked in: ---[ end trace d18f417b92ef3599 ]--- RIP: 0010:may_delete+0x7b1/0x7c0 fs/namei.c:2894 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c dd fd ff ff 48 89 df e8 90 bf f6 ff e9 d0 fd ff ff e8 76 c5 c8 ff 0f 0b e8 6f c5 c8 ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 56 53 RSP: 0018:ffff8881eaf67750 EFLAGS: 00010293 RAX: ffffffff8196b971 RBX: ffff8881e9fb4220 RCX: ffff8881ece66e40 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 RBP: ffff8881eaf677d0 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103d5eced0 R11: 1ffff1103d5eced0 R12: ffff8881dd9d7490 R13: 1ffff1103d3f6844 R14: ffff8881e9fb4238 R15: ffff8881ed327470 FS: 00007f984d27f6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04aff34ab8 CR3: 00000001d6067000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400