general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 449 Comm: syz.2.16 Not tainted 6.1.138-syzkaller-1169873-g7af56ffc913d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline] RIP: 0010:atomic_open fs/namei.c:3360 [inline] RIP: 0010:lookup_open fs/namei.c:3452 [inline] RIP: 0010:open_last_lookups fs/namei.c:3549 [inline] RIP: 0010:path_openat+0x1235/0x2f50 fs/namei.c:3779 Code: 89 df e8 4e 88 02 00 49 63 de 48 81 fb 00 f0 ff ff 0f 87 cd f7 ff ff eb 63 e8 b7 0f b0 ff 4c 8b 6c 24 10 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 64 0d 00 00 44 8b 33 be 00 00 70 00 44 RSP: 0018:ffffc90000a679a0 EFLAGS: 00010203 RAX: 0000000000000002 RBX: 0000000000000017 RCX: ffff88811cf12880 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811cf12880 RBP: ffffc90000a67bb0 R08: dffffc0000000000 R09: fffff5200014cf19 R10: fffff5200014cf19 R11: 1ffff9200014cf18 R12: 0000000000000002 R13: ffffc90000a67c00 R14: ffff88811c41be18 R15: dffffc0000000000 FS: 00007ff53e8696c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff53e868f98 CR3: 0000000121a77000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_filp_open+0x1c1/0x3c0 fs/namei.c:3809 do_sys_openat2+0x185/0x7e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_open fs/open.c:1365 [inline] __se_sys_open fs/open.c:1361 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1361 x64_sys_call+0x97b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff53d985d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff53e869038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ff53db76080 RCX: 00007ff53d985d29 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000200001c0 RBP: 00007ff53da01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff53db76080 R15: 00007ffe6024de48 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline] RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline] RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline] RIP: 0010:atomic_open fs/namei.c:3360 [inline] RIP: 0010:lookup_open fs/namei.c:3452 [inline] RIP: 0010:open_last_lookups fs/namei.c:3549 [inline] RIP: 0010:path_openat+0x1235/0x2f50 fs/namei.c:3779 Code: 89 df e8 4e 88 02 00 49 63 de 48 81 fb 00 f0 ff ff 0f 87 cd f7 ff ff eb 63 e8 b7 0f b0 ff 4c 8b 6c 24 10 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 64 0d 00 00 44 8b 33 be 00 00 70 00 44 RSP: 0018:ffffc90000a679a0 EFLAGS: 00010203 RAX: 0000000000000002 RBX: 0000000000000017 RCX: ffff88811cf12880 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811cf12880 RBP: ffffc90000a67bb0 R08: dffffc0000000000 R09: fffff5200014cf19 R10: fffff5200014cf19 R11: 1ffff9200014cf18 R12: 0000000000000002 R13: ffffc90000a67c00 R14: ffff88811c41be18 R15: dffffc0000000000 FS: 00007ff53e8696c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f620008 CR3: 0000000121a77000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 df mov %ebx,%edi 2: e8 4e 88 02 00 call 0x28855 7: 49 63 de movslq %r14d,%rbx a: 48 81 fb 00 f0 ff ff cmp $0xfffffffffffff000,%rbx 11: 0f 87 cd f7 ff ff ja 0xfffff7e4 17: eb 63 jmp 0x7c 19: e8 b7 0f b0 ff call 0xffb00fd5 1e: 4c 8b 6c 24 10 mov 0x10(%rsp),%r13 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 64 0d 00 00 jne 0xd9b 37: 44 8b 33 mov (%rbx),%r14d 3a: be 00 00 70 00 mov $0x700000,%esi 3f: 44 rex.R