kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN CPU: 0 PID: 24821 Comm: syz-executor6 Not tainted 4.19.0-rc2-next-20180904+ #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:open_ubi fs/ubifs/super.c:1964 [inline] RIP: 0010:ubifs_mount+0x1a0/0x66f0 fs/ubifs/super.c:2152 Code: 49 89 c7 48 89 c6 e8 3f 09 0f ff 49 81 ff 00 f0 ff ff 0f 86 91 03 00 00 e8 fd 07 0f ff 48 89 d8 48 89 da 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 1e 19 00 00 44 0f b6 2b bf RSP: 0018:ffff880189fef660 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90004a85000 RDX: 0000000000000000 RSI: ffffffff826dce73 RDI: 0000000000000007 RBP: ffff880189fefb88 R08: ffff8801494941c0 R09: ffffed003b6046de R10: ffffed003b6046de R11: ffff8801db0236f3 R12: ffff880189fefb60 R13: dffffc0000000000 R14: ffff8801c1a62988 R15: ffffffffffffffea FS: 00007fc9c4da2700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31122000 CR3: 00000001d0678000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 24825 Comm: syz-executor1 Not tainted 4.19.0-rc2-next-20180904+ #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 legacy_get_tree+0x131/0x460 fs/fs_context.c:732 Call Trace: vfs_get_tree+0x1cb/0x5c0 fs/super.c:1746 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 do_new_mount fs/namespace.c:2627 [inline] do_mount+0x6f9/0x1e30 fs/namespace.c:2951 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0xa/0x11 lib/fault-inject.c:149 ksys_mount+0x12d/0x140 fs/namespace.c:3167 __do_sys_mount fs/namespace.c:3181 [inline] __se_sys_mount fs/namespace.c:3178 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3178 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457099 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc9c4da1c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 __should_failslab+0x124/0x180 mm/failslab.c:32 RAX: ffffffffffffffda RBX: 00007fc9c4da26d4 RCX: 0000000000457099 should_failslab+0x9/0x14 mm/slab_common.c:1557 RDX: 00000000200000c0 RSI: 00000000200002c0 RDI: 0000000020000300 slab_pre_alloc_hook mm/slab.h:423 [inline] slab_alloc mm/slab.c:3378 [inline] __do_kmalloc mm/slab.c:3716 [inline] __kmalloc_track_caller+0x2ae/0x720 mm/slab.c:3733 RBP: 00000000009300a0 R08: 0000000020000140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d3210 R14: 00000000004c81c6 R15: 0000000000000000 kmemdup+0x24/0x50 mm/util.c:118 Modules linked in: kmemdup include/linux/string.h:418 [inline] legacy_parse_monolithic+0xde/0x1e0 fs/fs_context.c:655 Dumping ftrace buffer: parse_monolithic_mount_data fs/namespace.c:2344 [inline] do_new_mount fs/namespace.c:2623 [inline] do_mount+0x6d8/0x1e30 fs/namespace.c:2951 (ftrace buffer empty) ---[ end trace 8637ffc61e360739 ]--- RIP: 0010:open_ubi fs/ubifs/super.c:1964 [inline] RIP: 0010:ubifs_mount+0x1a0/0x66f0 fs/ubifs/super.c:2152 Code: 49 89 c7 48 89 c6 e8 3f 09 0f ff 49 81 ff 00 f0 ff ff 0f 86 91 03 00 00 e8 fd 07 0f ff 48 89 d8 48 89 da 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 1e 19 00 00 44 0f b6 2b bf ksys_mount+0x12d/0x140 fs/namespace.c:3167 __do_sys_mount fs/namespace.c:3181 [inline] __se_sys_mount fs/namespace.c:3178 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3178 RSP: 0018:ffff880189fef660 EFLAGS: 00010246 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90004a85000 RDX: 0000000000000000 RSI: ffffffff826dce73 RDI: 0000000000000007 RBP: ffff880189fefb88 R08: ffff8801494941c0 R09: ffffed003b6046de entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459aca R10: ffffed003b6046de R11: ffff8801db0236f3 R12: ffff880189fefb60 Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 bd 8a 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 9a 8a fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007fc6e770ea88 EFLAGS: 00000206 R13: dffffc0000000000 R14: ffff8801c1a62988 R15: ffffffffffffffea ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc6e770eb30 RCX: 0000000000459aca RDX: 00007fc6e770ead0 RSI: 0000000020000100 RDI: 00007fc6e770eaf0 RBP: 0000000020000100 R08: 00007fc6e770eb30 R09: 00007fc6e770ead0 FS: 00007fc9c4da2700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 0000000000000000 R14: 00000000004ca2b7 R15: 000000000000002b CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31122000 CR3: 00000001d0678000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400