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: 10793 Comm: syz-executor.0 Not tainted 5.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memchr+0x29/0x80 lib/string.c:1034 Code: c3 55 48 89 f8 48 01 fa 48 bd 00 00 00 00 00 fc ff df 53 48 83 ec 18 eb 27 48 8d 58 01 48 89 c1 48 89 c7 48 c1 e9 03 83 e7 07 <0f> b6 0c 29 40 38 f9 7f 04 84 c9 75 17 40 3a 73 ff 74 0a 48 89 d8 RSP: 0018:ffffc9000a0a7d90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 000000000000002c RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: fffffbfff1c8730a R10: ffffffff8e43984f R11: fffffbfff1c87309 R12: 0000000000000002 R13: ffff8880a30464d0 R14: ffffc9000a0a7e98 R15: ffff8880a30464c0 FS: 00007f5e95263700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a46e4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memchr include/linux/string.h:432 [inline] legacy_parse_param+0x443/0x840 fs/fs_context.c:567 vfs_parse_fs_param+0x240/0x5b0 fs/fs_context.c:147 __do_sys_fsconfig fs/fsopen.c:439 [inline] __se_sys_fsconfig fs/fsopen.c:314 [inline] __x64_sys_fsconfig+0x4cc/0x5d0 fs/fsopen.c:314 do_syscall_64+0x98/0x560 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 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:00007f5e95263188 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: 00007ffe300c5adf R14: 00007f5e95263300 R15: 0000000000022000 Modules linked in: ---[ end trace 911acd5879b8dc5e ]--- RIP: 0010:memchr+0x29/0x80 lib/string.c:1034 Code: c3 55 48 89 f8 48 01 fa 48 bd 00 00 00 00 00 fc ff df 53 48 83 ec 18 eb 27 48 8d 58 01 48 89 c1 48 89 c7 48 c1 e9 03 83 e7 07 <0f> b6 0c 29 40 38 f9 7f 04 84 c9 75 17 40 3a 73 ff 74 0a 48 89 d8 RSP: 0018:ffffc9000a0a7d90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 000000000000002c RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: fffffbfff1c8730a R10: ffffffff8e43984f R11: fffffbfff1c87309 R12: 0000000000000002 R13: ffff8880a30464d0 R14: ffffc9000a0a7e98 R15: ffff8880a30464c0 FS: 00007f5e95263700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a46e4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c3 retq 1: 55 push %rbp 2: 48 89 f8 mov %rdi,%rax 5: 48 01 fa add %rdi,%rdx 8: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp f: fc ff df 12: 53 push %rbx 13: 48 83 ec 18 sub $0x18,%rsp 17: eb 27 jmp 0x40 19: 48 8d 58 01 lea 0x1(%rax),%rbx 1d: 48 89 c1 mov %rax,%rcx 20: 48 89 c7 mov %rax,%rdi 23: 48 c1 e9 03 shr $0x3,%rcx 27: 83 e7 07 and $0x7,%edi * 2a: 0f b6 0c 29 movzbl (%rcx,%rbp,1),%ecx <-- trapping instruction 2e: 40 38 f9 cmp %dil,%cl 31: 7f 04 jg 0x37 33: 84 c9 test %cl,%cl 35: 75 17 jne 0x4e 37: 40 3a 73 ff cmp -0x1(%rbx),%sil 3b: 74 0a je 0x47 3d: 48 89 d8 mov %rbx,%rax