Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 1 UID: 0 PID: 383 Comm: syz.2.17 Not tainted syzkaller #0 bfede744b46277b76d69ebe6cb8c22209d769bcb Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:do_rmdir+0x1f5/0x590 fs/namei.c:4400 Code: 31 d2 e8 1e 30 ff ff 49 89 c6 48 3d 01 f0 ff ff 72 0d e8 be b0 99 ff 45 89 f5 e9 bb 00 00 00 4d 8d 6e 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 bc 74 f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc900011bfe20 EFLAGS: 00010202 RAX: 0000000000000008 RBX: ffff888115756600 RCX: ffff88811478a600 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811128ad40 RBP: ffffc900011bfef8 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000237f40 R12: 00000000ffffff9c R13: 0000000000000040 R14: 0000000000000010 R15: dffffc0000000000 FS: 00007fe1cd8d56c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe1cd8b3ff8 CR3: 0000000115834000 CR4: 00000000003526b0 Call Trace: __do_sys_rmdir fs/namei.c:4426 [inline] __se_sys_rmdir fs/namei.c:4424 [inline] __x64_sys_rmdir+0x4b/0x60 fs/namei.c:4424 x64_sys_call+0xaf7/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:85 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fe1cc99acb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe1cd8d5028 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007fe1ccc15fa0 RCX: 00007fe1cc99acb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040 RBP: 00007fe1cca08bf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe1ccc16038 R14: 00007fe1ccc15fa0 R15: 00007ffcebef3638 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_rmdir+0x1f5/0x590 fs/namei.c:4400 Code: 31 d2 e8 1e 30 ff ff 49 89 c6 48 3d 01 f0 ff ff 72 0d e8 be b0 99 ff 45 89 f5 e9 bb 00 00 00 4d 8d 6e 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 bc 74 f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc900011bfe20 EFLAGS: 00010202 RAX: 0000000000000008 RBX: ffff888115756600 RCX: ffff88811478a600 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811128ad40 RBP: ffffc900011bfef8 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000237f40 R12: 00000000ffffff9c R13: 0000000000000040 R14: 0000000000000010 R15: dffffc0000000000 FS: 00007fe1cd8d56c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe1cd8b3ff8 CR3: 0000000115834000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 31 d2 xor %edx,%edx 2: e8 1e 30 ff ff call 0xffff3025 7: 49 89 c6 mov %rax,%r14 a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 10: 72 0d jb 0x1f 12: e8 be b0 99 ff call 0xff99b0d5 17: 45 89 f5 mov %r14d,%r13d 1a: e9 bb 00 00 00 jmp 0xda 1f: 4d 8d 6e 30 lea 0x30(%r14),%r13 23: 4c 89 e8 mov %r13,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ef mov %r13,%rdi 34: e8 bc 74 f1 ff call 0xfff174f5 39: 49 83 7d 00 00 cmpq $0x0,0x0(%r13) 3e: 74 25 je 0x65