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: 0 UID: 0 PID: 681 Comm: syz.3.113 Not tainted syzkaller #0 ea5b7897df5a307b165a8956328ee25f321bdeb9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 RIP: 0010:do_rmdir+0x1f5/0x590 fs/namei.c:4400 Code: 31 d2 e8 ce 2f ff ff 49 89 c6 48 3d 01 f0 ff ff 72 0d e8 9e ab 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 5e f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc9000f0f7e20 EFLAGS: 00010203 RAX: 0000000000000008 RBX: ffff888115ecd500 RCX: 0000000000080000 RDX: ffffc900025f5000 RSI: 00000000000001f3 RDI: 00000000000001f4 RBP: ffffc9000f0f7ef8 R08: ffff8881f6e50c07 R09: 1ffff1103edca180 R10: dffffc0000000000 R11: ffffed103edca181 R12: 00000000ffffff9c R13: 0000000000000045 R14: 0000000000000015 R15: dffffc0000000000 FS: 00007f2c083326c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000006000 CR3: 000000011ef34000 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:0x7f2c0999de59 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:00007f2c08332028 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f2c09c26090 RCX: 00007f2c0999de59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040 RBP: 00007f2c09a33e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2c09c26128 R14: 00007f2c09c26090 R15: 00007ffcd44e45b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_rmdir+0x1f5/0x590 fs/namei.c:4400 Code: 31 d2 e8 ce 2f ff ff 49 89 c6 48 3d 01 f0 ff ff 72 0d e8 9e ab 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 5e f1 ff 49 83 7d 00 00 74 25 RSP: 0018:ffffc9000f0f7e20 EFLAGS: 00010203 RAX: 0000000000000008 RBX: ffff888115ecd500 RCX: 0000000000080000 RDX: ffffc900025f5000 RSI: 00000000000001f3 RDI: 00000000000001f4 RBP: ffffc9000f0f7ef8 R08: ffff8881f6e50c07 R09: 1ffff1103edca180 R10: dffffc0000000000 R11: ffffed103edca181 R12: 00000000ffffff9c R13: 0000000000000045 R14: 0000000000000015 R15: dffffc0000000000 FS: 00007f2c083326c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c099eb540 CR3: 000000011ef34000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 31 d2 xor %edx,%edx 2: e8 ce 2f ff ff call 0xffff2fd5 7: 49 89 c6 mov %rax,%r14 a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 10: 72 0d jb 0x1f 12: e8 9e ab 98 ff call 0xff98abb5 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 5e f1 ff call 0xfff15f15 39: 49 83 7d 00 00 cmpq $0x0,0x0(%r13) 3e: 74 25 je 0x65