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: 381 Comm: syz.2.17 Not tainted syzkaller #0 c36f08223ec58598e05683a28d55b954d63a7946 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 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 7e bb 98 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 dc 61 f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc900010afe20 EFLAGS: 00010203 RAX: 0000000000000008 RBX: ffff888114266600 RCX: ffff88810d3dcc00 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811164f4c0 RBP: ffffc900010afef8 R08: ffff8881f6f50c07 R09: 1ffff1103edea180 R10: dffffc0000000000 R11: ffffed103edea181 R12: 00000000ffffff9c R13: 0000000000000044 R14: 0000000000000014 R15: dffffc0000000000 FS: 00007f2b2e8fd6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001940 CR3: 0000000115d1e000 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:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f2b2d99ce59 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:00007f2b2e8fd028 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f2b2dc15fa0 RCX: 00007f2b2d99ce59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040 RBP: 00007f2b2da32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2b2dc16038 R14: 00007f2b2dc15fa0 R15: 00007ffde803a2c8 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 7e bb 98 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 dc 61 f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc900010afe20 EFLAGS: 00010203 RAX: 0000000000000008 RBX: ffff888114266600 RCX: ffff88810d3dcc00 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811164f4c0 RBP: ffffc900010afef8 R08: ffff8881f6f50c07 R09: 1ffff1103edea180 R10: dffffc0000000000 R11: ffffed103edea181 R12: 00000000ffffff9c R13: 0000000000000044 R14: 0000000000000014 R15: dffffc0000000000 FS: 00007f2b2e8fd6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001940 CR3: 0000000115d1e000 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 7e bb 98 ff call 0xff98bb95 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 dc 61 f1 ff call 0xfff16215 39: 49 83 7d 00 00 cmpq $0x0,0x0(%r13) 3e: 74 25 je 0x65