general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 9039 Comm: syz-executor.0 Not tainted 5.15.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memchr+0x29/0x80 lib/string.c:1070 Code: 00 41 54 49 bc 00 00 00 00 00 fc ff df 55 48 8d 2c 17 53 48 83 ec 10 eb 27 48 8d 5f 01 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 20 38 d0 7f 04 84 c0 75 25 40 3a 73 ff 74 13 48 89 df RSP: 0018:ffffc9000cf07da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000002c RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff888076c57480 R09: ffffffff8ede4a57 R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc9000cf07e98 R14: ffff888147fec440 R15: ffff888024fa6800 FS: 00007f33a1b71700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000056c030 CR3: 0000000070ef8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memchr include/linux/fortify-string.h:246 [inline] legacy_parse_param+0x3e2/0x7d0 fs/fs_context.c:555 vfs_parse_fs_param fs/fs_context.c:146 [inline] vfs_parse_fs_param+0x1b1/0x360 fs/fs_context.c:127 vfs_fsconfig_locked fs/fsopen.c:265 [inline] __do_sys_fsconfig+0x5cc/0x8e0 fs/fsopen.c:439 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f33a1b71188 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000020000080 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd13d8f3bf R14: 00007f33a1b71300 R15: 0000000000022000 Modules linked in: ---[ end trace b3a9f967f20443be ]--- RIP: 0010:memchr+0x29/0x80 lib/string.c:1070 Code: 00 41 54 49 bc 00 00 00 00 00 fc ff df 55 48 8d 2c 17 53 48 83 ec 10 eb 27 48 8d 5f 01 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 20 38 d0 7f 04 84 c0 75 25 40 3a 73 ff 74 13 48 89 df RSP: 0018:ffffc9000cf07da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000002c RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff888076c57480 R09: ffffffff8ede4a57 R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc9000cf07e98 R14: ffff888147fec440 R15: ffff888024fa6800 FS: 00007f33a1b71700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8aef7ba000 CR3: 0000000070ef8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 41 54 add %al,0x54(%rcx) 3: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 a: fc ff df d: 55 push %rbp e: 48 8d 2c 17 lea (%rdi,%rdx,1),%rbp 12: 53 push %rbx 13: 48 83 ec 10 sub $0x10,%rsp 17: eb 27 jmp 0x40 19: 48 8d 5f 01 lea 0x1(%rdi),%rbx 1d: 48 89 f8 mov %rdi,%rax 20: 48 89 fa mov %rdi,%rdx 23: 48 c1 e8 03 shr $0x3,%rax 27: 83 e2 07 and $0x7,%edx * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 38 d0 cmp %dl,%al 31: 7f 04 jg 0x37 33: 84 c0 test %al,%al 35: 75 25 jne 0x5c 37: 40 3a 73 ff cmp -0x1(%rbx),%sil 3b: 74 13 je 0x50 3d: 48 89 df mov %rbx,%rdi