Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 UID: 0 PID: 488 Comm: syz.2.17 Not tainted syzkaller #0 c503909cc21df00d4b7c499801dc432f82d83fbe Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:ovl_lookup_positive_unlocked fs/overlayfs/namei.c:213 [inline] RIP: 0010:ovl_lookup_single+0x20e/0xb20 fs/overlayfs/namei.c:240 Code: f0 ff ff 72 14 e8 b2 3d 3e ff 49 bc 00 00 00 00 00 fc ff df e9 6d 04 00 00 49 89 dc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 f1 06 00 00 44 8b 3b 44 89 fe 81 e6 00 RSP: 0018:ffffc9000120f900 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000016 RCX: 5379af36b73ecd00 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881218b7698 RBP: ffffc9000120f9f0 R08: ffff8881218b769f R09: 1ffff11024316ed3 R10: dffffc0000000000 R11: ffffed1024316ed4 R12: 0000000000000002 R13: ffff8881107ce220 R14: ffffc9000120fb90 R15: ffff888115df29c8 FS: 00007f898b9996c0(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f898a9feff8 CR3: 000000011db98000 CR4: 00000000003526b0 Call Trace: ovl_lookup_layer+0x355/0x420 fs/overlayfs/namei.c:333 ovl_lookup+0x8c0/0x1d20 fs/overlayfs/namei.c:1124 lookup_one_qstr_excl+0x12c/0x280 fs/namei.c:1641 filename_create+0x241/0x450 fs/namei.c:4035 do_mkdirat+0xa9/0x530 fs/namei.c:4280 __do_sys_mkdirat fs/namei.c:4303 [inline] __se_sys_mkdirat fs/namei.c:4301 [inline] __x64_sys_mkdirat+0x8b/0xa0 fs/namei.c:4301 x64_sys_call+0x2ba8/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:259 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:0x7f898ab9acb9 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:00007f898b999028 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f898ae15fa0 RCX: 00007f898ab9acb9 RDX: 0000000000000000 RSI: 0000200000002000 RDI: ffffffffffffff9c RBP: 00007f898ac08bf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f898ae16038 R14: 00007f898ae15fa0 R15: 00007ffd8d8185b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ovl_lookup_positive_unlocked fs/overlayfs/namei.c:213 [inline] RIP: 0010:ovl_lookup_single+0x20e/0xb20 fs/overlayfs/namei.c:240 Code: f0 ff ff 72 14 e8 b2 3d 3e ff 49 bc 00 00 00 00 00 fc ff df e9 6d 04 00 00 49 89 dc 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 f1 06 00 00 44 8b 3b 44 89 fe 81 e6 00 RSP: 0018:ffffc9000120f900 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000016 RCX: 5379af36b73ecd00 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881218b7698 RBP: ffffc9000120f9f0 R08: ffff8881218b769f R09: 1ffff11024316ed3 R10: dffffc0000000000 R11: ffffed1024316ed4 R12: 0000000000000002 R13: ffff8881107ce220 R14: ffffc9000120fb90 R15: ffff888115df29c8 FS: 00007f898b9996c0(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f898a9ffd58 CR3: 000000011db98000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: f0 ff lock (bad) 2: ff 72 14 push 0x14(%rdx) 5: e8 b2 3d 3e ff call 0xff3e3dbc a: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 11: fc ff df 14: e9 6d 04 00 00 jmp 0x486 19: 49 89 dc mov %rbx,%r12 1c: 49 c1 ec 03 shr $0x3,%r12 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 0f b6 04 04 movzbl (%r12,%rax,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 f1 06 00 00 jne 0x728 37: 44 8b 3b mov (%rbx),%r15d 3a: 44 89 fe mov %r15d,%esi 3d: 81 .byte 0x81 3e: e6 00 out %al,$0x0