general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 10893 Comm: syz-executor.0 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:jffs2_parse_param+0x1bf/0x300 fs/jffs2/super.c:206 Code: 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 d6 20 28 ff 49 63 c5 48 89 04 24 49 8b 2e 48 83 c5 08 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 b2 20 28 ff 4c 8b 7d 00 4c 89 ff RSP: 0018:ffffc90018897d10 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88802a540800 RCX: 0000000000000003 RDX: ffff88807cb24ec0 RSI: 0000000000000000 RDI: 00000000003fffff RBP: 0000000000000008 R08: ffffffff828f0139 R09: ffffffff828f00fe R10: 0000000000000002 R11: ffff88807cb24ec0 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88807cb36000 R15: 1ffff92003112fb7 FS: 00007f5d717a4700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000119c020 CR3: 0000000029ac7000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_parse_fs_param+0x1e5/0x460 fs/fs_context.c:117 vfs_parse_fs_string fs/fs_context.c:161 [inline] generic_parse_monolithic+0x233/0x340 fs/fs_context.c:201 do_new_mount fs/namespace.c:2871 [inline] path_mount+0x1783/0x2a20 fs/namespace.c:3205 do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3426 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3403 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x460baa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f5d717a3a78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5d717a3b10 RCX: 0000000000460baa RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007f5d717a3ad0 R08: 00007f5d717a3b10 R09: 00000000200000c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200000c0 R13: 0000000020000100 R14: 0000000000000000 R15: 0000000020000400 Modules linked in: ---[ end trace 7df8ca404dd481e6 ]--- RIP: 0010:jffs2_parse_param+0x1bf/0x300 fs/jffs2/super.c:206 Code: 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 d6 20 28 ff 49 63 c5 48 89 04 24 49 8b 2e 48 83 c5 08 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 b2 20 28 ff 4c 8b 7d 00 4c 89 ff RSP: 0018:ffffc90018897d10 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88802a540800 RCX: 0000000000000003 RDX: ffff88807cb24ec0 RSI: 0000000000000000 RDI: 00000000003fffff RBP: 0000000000000008 R08: ffffffff828f0139 R09: ffffffff828f00fe R10: 0000000000000002 R11: ffff88807cb24ec0 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88807cb36000 R15: 1ffff92003112fb7 FS: 00007f5d717a4700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1939f11028 CR3: 0000000029ac7000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400