loop5: detected capacity change from 0 to 40 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: 10673 Comm: syz-executor.3 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:_parse_integer_fixup_radix+0x60/0x2a0 Code: 02 00 00 41 8b 2c 24 31 ff 89 ee e8 9a da 36 ff 85 ed 75 66 e8 61 de 36 ff 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 48 89 da 83 e2 07 38 d0 7f 08 84 c0 0f 85 e6 01 00 00 RSP: 0018:ffff8880430ffa40 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90000fdf000 RDX: 0000000000000000 RSI: ffffffff82113c0f RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880430ffa90 R13: ffff8880430ffbd8 R14: 000000007fffffff R15: ffff88801580acd0 FS: 00007fb6a916f700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb6a9170000 CR3: 000000001e566000 CR4: 0000000000350ee0 Call Trace: simple_strntoull+0x88/0x180 memparse+0x72/0x210 shmem_parse_one+0x7c5/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:0x7fb6abbfb04a 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:00007fb6a916efa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb6abbfb04a RDX: 0000000020000200 RSI: 0000000020000240 RDI: 0000000000000000 RBP: 00007fb6a916f040 R08: 00007fb6a916f040 R09: 0000000020000200 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000200 R13: 0000000020000240 R14: 00007fb6a916f000 R15: 0000000020004940 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_parse_integer_fixup_radix+0x60/0x2a0 Code: 02 00 00 41 8b 2c 24 31 ff 89 ee e8 9a da 36 ff 85 ed 75 66 e8 61 de 36 ff 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 48 89 da 83 e2 07 38 d0 7f 08 84 c0 0f 85 e6 01 00 00 RSP: 0018:ffff8880430ffa40 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90000fdf000 RDX: 0000000000000000 RSI: ffffffff82113c0f RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880430ffa90 loop1: detected capacity change from 0 to 40 R13: ffff8880430ffbd8 R14: 000000007fffffff R15: ffff88801580acd0 FS: 00007fb6a916f700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb6a9170000 CR3: 000000001e566000 CR4: 0000000000350ee0 loop2: detected capacity change from 0 to 40 loop0: detected capacity change from 0 to 40 syz-executor.2: attempt to access beyond end of device loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 Buffer I/O error on dev loop2, logical block 31, lost async page write syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=124, nr_sectors = 4 limit=40 Buffer I/O error on dev loop1, logical block 31, lost async page write loop2: detected capacity change from 0 to 40 syz-executor.2: attempt to access beyond end of device loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 Buffer I/O error on dev loop2, logical block 31, lost async page write loop5: detected capacity change from 0 to 40 perf: interrupt took too long (6664 > 6562), lowering kernel.perf_event_max_sample_rate to 30000 perf: interrupt took too long (13319 > 13267), lowering kernel.perf_event_max_sample_rate to 15000 perf: interrupt took too long (16664 > 16648), lowering kernel.perf_event_max_sample_rate to 12000 perf: interrupt took too long (20848 > 20830), lowering kernel.perf_event_max_sample_rate to 9000 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 00 41 8b add %al,-0x75(%rcx) 5: 2c 24 sub $0x24,%al 7: 31 ff xor %edi,%edi 9: 89 ee mov %ebp,%esi b: e8 9a da 36 ff callq 0xff36daaa 10: 85 ed test %ebp,%ebp 12: 75 66 jne 0x7a 14: e8 61 de 36 ff callq 0xff36de7a 19: 48 89 da mov %rbx,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 48 89 da mov %rbx,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 e6 01 00 00 jne 0x226