Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 UID: 0 PID: 2646 Comm: syz.2.770 Not tainted syzkaller #0 d51130501c30ee86aaec4f48ba6958e62aa015e3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 0e 9b 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 2c 74 f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc900111bfe20 EFLAGS: 00010207 RAX: 0000000000000006 RBX: ffff88811b11b300 RCX: 0000000000080000 RDX: ffffc90002274000 RSI: 0000000000000219 RDI: 000000000000021a RBP: ffffc900111bfef8 R08: ffff8881f6e50bc7 R09: 1ffff1103edca178 R10: dffffc0000000000 R11: ffffed103edca179 R12: 00000000ffffff9c R13: 0000000000000036 R14: 0000000000000006 R15: dffffc0000000000 FS: 00007fe9830006c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011843a000 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:0x7fe98219c629 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:00007fe983000028 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007fe982415fa0 RCX: 00007fe98219c629 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040 RBP: 00007fe982232b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe982416038 R14: 00007fe982415fa0 R15: 00007ffeddc5c558 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 0e 9b 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 2c 74 f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc900111bfe20 EFLAGS: 00010207 RAX: 0000000000000006 RBX: ffff88811b11b300 RCX: 0000000000080000 RDX: ffffc90002274000 RSI: 0000000000000219 RDI: 000000000000021a RBP: ffffc900111bfef8 R08: ffff8881f6e50bc7 R09: 1ffff1103edca178 R10: dffffc0000000000 R11: ffffed103edca179 R12: 00000000ffffff9c R13: 0000000000000036 R14: 0000000000000006 R15: dffffc0000000000 FS: 00007fe9830006c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9821577b0 CR3: 000000011843a000 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 0e 9b 99 ff call 0xff999b25 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 2c 74 f1 ff call 0xfff17465 39: 49 83 7d 00 00 cmpq $0x0,0x0(%r13) 3e: 74 25 je 0x65