general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 8112 Comm: syz-executor.4 Not tainted 6.1.0-rc2-next-20221028 #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:ffff888041ed7ad0 EFLAGS: 00010282
RAX: dffffc0000000000 RBX: 1ffff110083daf77 RCX: ffffc900083d5000
RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009
R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff110083daf62
R13: 0000000000000000 R14: ffff888034f56a90 R15: dffffc0000000000
FS: 00007f6651dbf700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6651dc0000 CR3: 0000000041042000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
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:0x7f665484b04a
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:00007f6651dbefa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f665484b04a
RDX: 0000000020000280 RSI: 00000000200002c0 RDI: 0000000000000000
RBP: 00007f6651dbf040 R08: 00007f6651dbf040 R09: 0000000020000280
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000280
R13: 00000000200002c0 R14: 00007f6651dbf000 R15: 0000000020000600
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:ffff888041ed7ad0 EFLAGS: 00010282
RAX: dffffc0000000000 RBX: 1ffff110083daf77 RCX: ffffc900083d5000
RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009
R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff110083daf62
R13: 0000000000000000 R14: ffff888034f56a90 R15: dffffc0000000000
FS: 00007f6651dbf700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6651dc0000 CR3: 0000000041042000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#2] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 8115 Comm: syz-executor.4 Tainted: G D 6.1.0-rc2-next-20221028 #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:ffff88801e687ad0 EFLAGS: 00010282
RAX: dffffc0000000000 RBX: 1ffff11003cd0f77 RCX: ffffc900085d6000
RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009
R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff11003cd0f62
R13: 0000000000000000 R14: ffff88800d7b7890 R15: dffffc0000000000
FS: 00007f6651d9e700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6651d9f000 CR3: 0000000041042000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
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:0x7f665484b04a
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:00007f6651d9dfa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f665484b04a
RDX: 0000000020000280 RSI: 00000000200002c0 RDI: 0000000000000000
RBP: 00007f6651d9e040 R08: 00007f6651d9e040 R09: 0000000020000280
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000280
R13: 00000000200002c0 R14: 00007f6651d9e000 R15: 0000000020000600
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:ffff888041ed7ad0 EFLAGS: 00010282
RAX: dffffc0000000000 RBX: 1ffff110083daf77 RCX: ffffc900083d5000
RDX: 0000000000000000 RSI: 000000000000003a RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000009
R10: 0000000000000003 R11: 0000000000000001 R12: 1ffff110083daf62
R13: 0000000000000000 R14: ffff888034f56a90 R15: dffffc0000000000
FS: 00007f6651d9e700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6651d9f000 CR3: 0000000041042000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
----------------
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