general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 PID: 510 Comm: syz.2.16 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:do_rmdir+0x1e8/0x630 fs/namei.c:3955 Code: 48 89 c3 48 3d 01 f0 ff ff 72 0a e8 72 85 ba ff 41 89 dc eb 77 4c 8d 63 30 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 7a 00 f5 ff 49 83 3c 24 00 74 3a 49 RSP: 0018:ffffc90000f07e40 EFLAGS: 00010203 RAX: 0000000000000008 RBX: 0000000000000015 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff8881186813c0 RBP: ffffc90000f07f18 R08: ffff88811030b27f R09: 1ffff1102206164f R10: dffffc0000000000 R11: ffffed1022061650 R12: 0000000000000045 R13: 1ffff1102206164a R14: 00000000ffffff9c R15: ffff888118550aa0 FS: 00007f88576c96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88576c8ff8 CR3: 0000000118552000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_rmdir fs/namei.c:3980 [inline] __se_sys_rmdir fs/namei.c:3978 [inline] __x64_sys_rmdir+0x49/0x50 fs/namei.c:3978 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8857c7b3b9 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:00007f88576c9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f8857e81080 RCX: 00007f8857c7b3b9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200 RBP: 00007f8857d069d4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f8857e81080 R15: 00007ffefef2d438 Modules linked in: ---[ end trace 67f20e8030657a6e ]--- RIP: 0010:do_rmdir+0x1e8/0x630 fs/namei.c:3955 Code: 48 89 c3 48 3d 01 f0 ff ff 72 0a e8 72 85 ba ff 41 89 dc eb 77 4c 8d 63 30 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 7a 00 f5 ff 49 83 3c 24 00 74 3a 49 RSP: 0018:ffffc90000f07e40 EFLAGS: 00010203 RAX: 0000000000000008 RBX: 0000000000000015 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff8881186813c0 RBP: ffffc90000f07f18 R08: ffff88811030b27f R09: 1ffff1102206164f R10: dffffc0000000000 R11: ffffed1022061650 R12: 0000000000000045 R13: 1ffff1102206164a R14: 00000000ffffff9c R15: ffff888118550aa0 FS: 00007f88576c96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8857cc8b00 CR3: 0000000118552000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 c3 mov %rax,%rbx 3: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 9: 72 0a jb 0x15 b: e8 72 85 ba ff call 0xffba8582 10: 41 89 dc mov %ebx,%r12d 13: eb 77 jmp 0x8c 15: 4c 8d 63 30 lea 0x30(%rbx),%r12 19: 4c 89 e0 mov %r12,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 7a 00 f5 ff call 0xfff500b2 38: 49 83 3c 24 00 cmpq $0x0,(%r12) 3d: 74 3a je 0x79 3f: 49 rex.WB