loop4: detected capacity change from 0 to 264192 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 16477 Comm: syz-executor.4 Not tainted 6.1.0-rc1-next-20221021-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:strnlen+0x3b/0x70 lib/string.c:430 Code: 74 3c 48 bb 00 00 00 00 00 fc ff df 49 89 fc 48 89 f8 eb 09 48 83 c0 01 48 39 e8 74 1e 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 <0f> b6 14 1a 38 ca 7f 04 84 d2 75 11 80 38 00 75 d9 4c 29 e0 48 83 RSP: 0018:ffffc9000330fb40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: 0000000000000040 R08: 0000000000000005 R09: 0000000000000017 R10: 0000000000000002 R11: 000000000008c001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88808768c880 R15: ffff888096882cd0 FS: 00007f8b8b19b700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8b8b19c000 CR3: 000000009f364000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: strnlen include/linux/fortify-string.h:186 [inline] strscpy include/linux/fortify-string.h:331 [inline] gfs2_parse_param+0x1e6/0xe50 fs/gfs2/ops_fstype.c:1455 vfs_parse_fs_param fs/fs_context.c:148 [inline] vfs_parse_fs_param+0x1f9/0x3c0 fs/fs_context.c:129 vfs_parse_fs_string+0xdb/0x170 fs/fs_context.c:191 generic_parse_monolithic+0x16f/0x1f0 fs/fs_context.c:231 do_new_mount fs/namespace.c:3036 [inline] path_mount+0x12de/0x1e20 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 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+0x63/0xcd RIP: 0033:0x7f8b8a08cb2a Code: 48 c7 c2 b8 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8b8b19af88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000300 RCX: 00007f8b8a08cb2a RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 00007f8b8b19afe0 RBP: 00007f8b8b19b020 R08: 00007f8b8b19b020 R09: 0000000020000080 R10: 000000000180c082 R11: 0000000000000202 R12: 0000000020000080 R13: 00000000200000c0 R14: 00007f8b8b19afe0 R15: 0000000020000340 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strnlen+0x3b/0x70 lib/string.c:430 Code: 74 3c 48 bb 00 00 00 00 00 fc ff df 49 89 fc 48 89 f8 eb 09 48 83 c0 01 48 39 e8 74 1e 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 <0f> b6 14 1a 38 ca 7f 04 84 d2 75 11 80 38 00 75 d9 4c 29 e0 48 83 RSP: 0018:ffffc9000330fb40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: 0000000000000040 R08: 0000000000000005 R09: 0000000000000017 R10: 0000000000000002 R11: 000000000008c001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88808768c880 R15: ffff888096882cd0 FS: 00007f8b8b19b700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e529000 CR3: 000000009f364000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 74 3c je 0x3e 2: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx 9: fc ff df c: 49 89 fc mov %rdi,%r12 f: 48 89 f8 mov %rdi,%rax 12: eb 09 jmp 0x1d 14: 48 83 c0 01 add $0x1,%rax 18: 48 39 e8 cmp %rbp,%rax 1b: 74 1e je 0x3b 1d: 48 89 c2 mov %rax,%rdx 20: 48 89 c1 mov %rax,%rcx 23: 48 c1 ea 03 shr $0x3,%rdx 27: 83 e1 07 and $0x7,%ecx * 2a: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx <-- trapping instruction 2e: 38 ca cmp %cl,%dl 30: 7f 04 jg 0x36 32: 84 d2 test %dl,%dl 34: 75 11 jne 0x47 36: 80 38 00 cmpb $0x0,(%rax) 39: 75 d9 jne 0x14 3b: 4c 29 e0 sub %r12,%rax 3e: 48 rex.W 3f: 83 .byte 0x83