general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 4400 Comm: syz-executor.3 Not tainted 6.1.0-rc1-next-20221021 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:strchr+0x17/0xc0 Code: 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 fa 53 48 c1 ea 03 48 83 ec 10 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 59 0f b6 07 89 RSP: 0018:ffff88804554fad0 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: 1ffff11008aa9f77 RCX: ffffc900007cb000 RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009 R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff11008aa9f62 R13: 0000000000000000 R14: ffff8880174c9510 R15: dffffc0000000000 FS: 00007fb05653a700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb05653b000 CR3: 000000000d4fa000 CR4: 0000000000350ef0 Call Trace: mpol_parse_str+0x78/0xb00 shmem_parse_one+0x67a/0xb70 vfs_parse_fs_param+0x204/0x3d0 vfs_parse_fs_string+0xdb/0x190 shmem_parse_options+0x160/0x260 path_mount+0x12c8/0x1e30 __x64_sys_mount+0x282/0x310 do_syscall_64+0x3b/0xa0 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7fb058fc604a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007fb056539fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb058fc604a RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fb05653a040 R08: 00007fb05653a040 R09: 00000000200000c0 R10: 0000000000000000 R11: 0000000000000206 R12: 00000000200000c0 R13: 0000000020000000 R14: 00007fb05653a000 R15: 0000000020000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strchr+0x17/0xc0 Code: 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 fa 53 48 c1 ea 03 48 83 ec 10 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 59 0f b6 07 89 RSP: 0018:ffff88804554fad0 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: 1ffff11008aa9f77 RCX: ffffc900007cb000 RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009 R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff11008aa9f62 R13: 0000000000000000 R14: ffff8880174c9510 R15: dffffc0000000000 FS: 00007fb05653a700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb05653b000 CR3: 000000000d4fa000 CR4: 0000000000350ef0 EXT4-fs (loop4): unmounting filesystem. general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#2] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 4402 Comm: syz-executor.3 Tainted: G D 6.1.0-rc1-next-20221021 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:strchr+0x17/0xc0 Code: 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 fa 53 48 c1 ea 03 48 83 ec 10 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 59 0f b6 07 89 RSP: 0018:ffff88801f6cfad0 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: 1ffff11003ed9f77 RCX: ffffc900009cc000 RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009 R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff11003ed9f62 R13: 0000000000000000 R14: ffff88800f19f490 R15: dffffc0000000000 FS: 00007fb056519700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb05651a000 CR3: 000000000d4fa000 CR4: 0000000000350ee0 Call Trace: mpol_parse_str+0x78/0xb00 shmem_parse_one+0x67a/0xb70 vfs_parse_fs_param+0x204/0x3d0 vfs_parse_fs_string+0xdb/0x190 shmem_parse_options+0x160/0x260 path_mount+0x12c8/0x1e30 __x64_sys_mount+0x282/0x310 do_syscall_64+0x3b/0xa0 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7fb058fc604a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007fb056518fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb058fc604a RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fb056519040 R08: 00007fb056519040 R09: 00000000200000c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200000c0 R13: 0000000020000000 R14: 00007fb056519000 R15: 0000000020000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strchr+0x17/0xc0 Code: 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 fa 53 48 c1 ea 03 48 83 ec 10 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 59 0f b6 07 89 RSP: 0018:ffff88804554fad0 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: 1ffff11008aa9f77 RCX: ffffc900007cb000 RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009 R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff11008aa9f62 R13: 0000000000000000 R14: ffff8880174c9510 R15: dffffc0000000000 FS: 00007fb056519700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb05651a000 CR3: 000000000d4fa000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 90 90 90 90 90 add %dl,-0x6f6f6f70(%rax) 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1a: fc ff df 1d: 55 push %rbp 1e: 48 89 fa mov %rdi,%rdx 21: 53 push %rbx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 48 83 ec 10 sub $0x10,%rsp * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 48 89 fa mov %rdi,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 04 jg 0x3c 38: 84 c0 test %al,%al 3a: 75 59 jne 0x95 3c: 0f b6 07 movzbl (%rdi),%eax 3f: 89 .byte 0x89