[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 16.368838] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.004068] random: sshd: uninitialized urandom read (32 bytes read) [ 18.327546] random: sshd: uninitialized urandom read (32 bytes read) [ 19.005523] random: sshd: uninitialized urandom read (32 bytes read) [ 19.138608] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.11' (ECDSA) to the list of known hosts. [ 24.584648] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 24.664963] BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1340 [ 24.673386] in_atomic(): 0, irqs_disabled(): 1, pid: 4445, name: syz-executor777 [ 24.680892] INFO: lockdep is turned off. [ 24.684927] irq event stamp: 0 [ 24.688094] hardirqs last enabled at (0): [<0000000000000000>] (null) [ 24.695614] hardirqs last disabled at (0): [] copy_process.part.41+0x1953/0x73f0 [ 24.704693] softirqs last enabled at (0): [] copy_process.part.41+0x19f4/0x73f0 [ 24.713767] softirqs last disabled at (0): [<0000000000000000>] (null) [ 24.721290] CPU: 1 PID: 4445 Comm: syz-executor777 Not tainted 4.18.0-rc4-next-20180712+ #5 [ 24.729759] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.739098] Call Trace: [ 24.741688] dump_stack+0x1c9/0x2b4 [ 24.745299] ? dump_stack_print_info.cold.2+0x52/0x52 [ 24.750486] ___might_sleep.cold.86+0x11f/0x13a [ 24.755168] ? check_same_owner+0x340/0x340 [ 24.759476] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 24.765011] ? trace_9p_protocol_dump+0xbe/0x3a0 [ 24.769776] __might_sleep+0x95/0x190 [ 24.773575] __do_page_fault+0x3b6/0xe50 [ 24.777622] ? mm_fault_error+0x380/0x380 [ 24.781777] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 24.787311] ? p9pdu_readf+0xb78/0x2170 [ 24.791271] do_page_fault+0xf6/0x8c0 [ 24.795060] ? p9pdu_writef+0xe0/0xe0 [ 24.798846] ? vmalloc_sync_all+0x30/0x30 [ 24.802980] ? ksys_dup3+0x690/0x690 [ 24.806673] ? check_same_owner+0x340/0x340 [ 24.810973] ? p9_fd_poll+0x2b0/0x2b0 [ 24.814764] ? kasan_kmalloc+0xc4/0xe0 [ 24.818635] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.823467] page_fault+0x1e/0x30 [ 24.826905] RIP: 0010:kfree+0xb2/0x260 [ 24.830763] Code: 48 89 df 48 b8 00 00 00 00 00 ea ff ff 48 c1 ea 0c 48 c1 e2 06 48 01 c2 48 8b 42 08 a8 01 48 8d 48 ff 48 0f 45 d1 4c 8b 6a 18 <49> 63 75 74 e8 a5 c1 a3 ff 49 63 75 74 48 89 df e8 59 60 a9 01 4c [ 24.849894] RSP: 0018:ffff8801aee1f5d0 EFLAGS: 00010046 [ 24.855239] RAX: ffffea000022f488 RBX: ffffffff88bd22a4 RCX: ffffea000022f487 [ 24.862496] RDX: ffffea000022f480 RSI: ffffffff87700e50 RDI: ffffffff88bd22a4 [ 24.869753] RBP: ffff8801aee1f5f0 R08: ffff8801af620280 R09: ffffed0035dc3df8 [ 24.877012] R10: ffffed0035db5483 R11: 0000000000000001 R12: 0000000000000282 [ 24.884269] R13: 0000000000000000 R14: ffff8801aee1f740 R15: ffff8801aee90380 [ 24.891540] ? p9_client_create+0xfb0/0x1770 [ 24.895932] p9_client_create+0xfea/0x1770 [ 24.900148] ? p9_client_read+0xc60/0xc60 [ 24.904283] ? lock_acquire+0x1e4/0x540 [ 24.908245] ? lock_acquire+0x1e4/0x540 [ 24.912202] ? fs_reclaim_acquire+0x20/0x20 [ 24.916504] ? lock_release+0xa30/0xa30 [ 24.920464] ? __lockdep_init_map+0x105/0x590 [ 24.924939] ? kasan_check_write+0x14/0x20 [ 24.929150] ? __init_rwsem+0x1cc/0x2a0 [ 24.933111] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 24.938106] ? __kmalloc_track_caller+0x311/0x760 [ 24.942926] ? save_stack+0xa9/0xd0 [ 24.946531] ? save_stack+0x43/0xd0 [ 24.950144] ? kasan_kmalloc+0xc4/0xe0 [ 24.954022] ? kmem_cache_alloc_trace+0x152/0x780 [ 24.958849] ? memcpy+0x45/0x50 [ 24.962116] v9fs_session_init+0x21a/0x1a80 [ 24.966424] ? rcu_note_context_switch+0x730/0x730 [ 24.971338] ? do_mount+0x69e/0x1fb0 [ 24.975043] ? lock_acquire+0x1e4/0x540 [ 24.979011] ? v9fs_show_options+0x7e0/0x7e0 [ 24.983411] ? lock_release+0xa30/0xa30 [ 24.987368] ? check_same_owner+0x340/0x340 [ 24.991681] ? lock_downgrade+0x8f0/0x8f0 [ 24.995833] ? kasan_unpoison_shadow+0x35/0x50 [ 25.000404] ? kasan_kmalloc+0xc4/0xe0 [ 25.004283] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.009113] ? kasan_unpoison_shadow+0x35/0x50 [ 25.013676] ? kasan_kmalloc+0xc4/0xe0 [ 25.017547] v9fs_mount+0x7c/0x900 [ 25.021069] ? v9fs_drop_inode+0x150/0x150 [ 25.025286] legacy_get_tree+0x118/0x440 [ 25.029338] vfs_get_tree+0x1cb/0x5c0 [ 25.033135] do_mount+0x6c1/0x1fb0 [ 25.036666] ? check_same_owner+0x340/0x340 [ 25.040983] ? lock_release+0xa30/0xa30 [ 25.044940] ? copy_mount_string+0x40/0x40 [ 25.049154] ? kasan_kmalloc+0xc4/0xe0 [ 25.053030] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.057856] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 25.063391] ? _copy_from_user+0xdf/0x150 [ 25.067529] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.073055] ? copy_mount_options+0x285/0x380 [ 25.077531] ksys_mount+0x12d/0x140 [ 25.081145] __x64_sys_mount+0xbe/0x150 [ 25.085101] do_syscall_64+0x1b9/0x820 [ 25.088969] ? syscall_return_slowpath+0x5e0/0x5e0 [ 25.093881] ? syscall_return_slowpath+0x31d/0x5e0 [ 25.098826] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 25.103843] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.109454] ? prepare_exit_to_usermode+0x291/0x3b0 [ 25.114470] ? perf_trace_sys_enter+0xb10/0xb10 [ 25.119126] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.123970] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.129156] RIP: 0033:0x440149 [ 25.132322] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 25.151451] RSP: 002b:00007fff868da6a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 25.159156] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 25.166414] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 25.173673] RBP: 00000000006ca018 R08: 00000000200001c0 R09: 00000000004002c8 [ 25.180932] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000004019d0 [ 25.188189] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 25.195457] BUG: unable to handle kernel NULL pointer dereference at 0000000000000074 [ 25.203404] PGD 1aec41067 P4D 1aec41067 PUD 1aec40067 PMD 0 [ 25.209217] Oops: 0000 [#1] SMP KASAN [ 25.213031] CPU: 1 PID: 4445 Comm: syz-executor777 Tainted: G W 4.18.0-rc4-next-20180712+ #5 [ 25.222902] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.232258] RIP: 0010:kfree+0xb2/0x260 [ 25.236136] Code: 48 89 df 48 b8 00 00 00 00 00 ea ff ff 48 c1 ea 0c 48 c1 e2 06 48 01 c2 48 8b 42 08 a8 01 48 8d 48 ff 48 0f 45 d1 4c 8b 6a 18 <49> 63 75 74 e8 a5 c1 a3 ff 49 63 75 74 48 89 df e8 59 60 a9 01 4c [ 25.255263] RSP: 0018:ffff8801aee1f5d0 EFLAGS: 00010046 [ 25.260608] RAX: ffffea000022f488 RBX: ffffffff88bd22a4 RCX: ffffea000022f487 [ 25.267860] RDX: ffffea000022f480 RSI: ffffffff87700e50 RDI: ffffffff88bd22a4 [ 25.275112] RBP: ffff8801aee1f5f0 R08: ffff8801af620280 R09: ffffed0035dc3df8 [ 25.282368] R10: ffffed0035db5483 R11: 0000000000000001 R12: 0000000000000282 [ 25.289631] R13: 0000000000000000 R14: ffff8801aee1f740 R15: ffff8801aee90380 [ 25.296885] FS: 0000000000d4a880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 25.305093] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.310965] CR2: 0000000000000074 CR3: 00000001aed4b000 CR4: 00000000001406e0 [ 25.318226] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 25.325475] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 25.332730] Call Trace: [ 25.335306] p9_client_create+0xfea/0x1770 [ 25.339534] ? p9_client_read+0xc60/0xc60 [ 25.343676] ? lock_acquire+0x1e4/0x540 [ 25.347641] ? lock_acquire+0x1e4/0x540 [ 25.351610] ? fs_reclaim_acquire+0x20/0x20 [ 25.355915] ? lock_release+0xa30/0xa30 [ 25.359870] ? __lockdep_init_map+0x105/0x590 [ 25.364352] ? kasan_check_write+0x14/0x20 [ 25.368568] ? __init_rwsem+0x1cc/0x2a0 [ 25.372525] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 25.377523] ? __kmalloc_track_caller+0x311/0x760 [ 25.382342] ? save_stack+0xa9/0xd0 [ 25.385947] ? save_stack+0x43/0xd0 [ 25.389553] ? kasan_kmalloc+0xc4/0xe0 [ 25.393435] ? kmem_cache_alloc_trace+0x152/0x780 [ 25.398264] ? memcpy+0x45/0x50 [ 25.401531] v9fs_session_init+0x21a/0x1a80 [ 25.405837] ? rcu_note_context_switch+0x730/0x730 [ 25.410754] ? do_mount+0x69e/0x1fb0 [ 25.414459] ? lock_acquire+0x1e4/0x540 [ 25.418414] ? v9fs_show_options+0x7e0/0x7e0 [ 25.422807] ? lock_release+0xa30/0xa30 [ 25.426791] ? check_same_owner+0x340/0x340 [ 25.431104] ? lock_downgrade+0x8f0/0x8f0 [ 25.435234] ? kasan_unpoison_shadow+0x35/0x50 [ 25.439807] ? kasan_kmalloc+0xc4/0xe0 [ 25.443678] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.448502] ? kasan_unpoison_shadow+0x35/0x50 [ 25.453067] ? kasan_kmalloc+0xc4/0xe0 [ 25.456949] v9fs_mount+0x7c/0x900 [ 25.460470] ? v9fs_drop_inode+0x150/0x150 [ 25.464776] legacy_get_tree+0x118/0x440 [ 25.468819] vfs_get_tree+0x1cb/0x5c0 [ 25.472599] do_mount+0x6c1/0x1fb0 [ 25.476128] ? check_same_owner+0x340/0x340 [ 25.480429] ? lock_release+0xa30/0xa30 [ 25.484394] ? copy_mount_string+0x40/0x40 [ 25.488617] ? kasan_kmalloc+0xc4/0xe0 [ 25.492486] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.497332] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 25.502871] ? _copy_from_user+0xdf/0x150 [ 25.507008] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.512537] ? copy_mount_options+0x285/0x380 [ 25.517031] ksys_mount+0x12d/0x140 [ 25.520640] __x64_sys_mount+0xbe/0x150 [ 25.524593] do_syscall_64+0x1b9/0x820 [ 25.528458] ? syscall_return_slowpath+0x5e0/0x5e0 [ 25.533368] ? syscall_return_slowpath+0x31d/0x5e0 [ 25.538295] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 25.543292] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.548809] ? prepare_exit_to_usermode+0x291/0x3b0 [ 25.553805] ? perf_trace_sys_enter+0xb10/0xb10 [ 25.558462] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.563292] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.568471] RIP: 0033:0x440149 [ 25.571654] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 25.590783] RSP: 002b:00007fff868da6a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 25.598472] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 25.605735] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 25.612986] RBP: 00000000006ca018 R08: 00000000200001c0 R09: 00000000004002c8 [ 25.620244] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000004019d0 [ 25.627496] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 25.634747] Modules linked in: [ 25.637932] Dumping ftrace buffer: [ 25.641445] (ftrace buffer empty) [ 25.645143] CR2: 0000000000000074 [ 25.648672] ---[ end trace 45184b460a2a5880 ]--- [ 25.653419] RIP: 0010:kfree+0xb2/0x260 [ 25.657281] Code: 48 89 df 48 b8 00 00 00 00 00 ea ff ff 48 c1 ea 0c 48 c1 e2 06 48 01 c2 48 8b 42 08 a8 01 48 8d 48 ff 48 0f 45 d1 4c 8b 6a 18 <49> 63 75 74 e8 a5 c1 a3 ff 49 63 75 74 48 89 df e8 59 60 a9 01 4c [ 25.676405] RSP: 0018:ffff8801aee1f5d0 EFLAGS: 00010046 [ 25.681837] RAX: ffffea000022f488 RBX: ffffffff88bd22a4 RCX: ffffea000022f487 [ 25.689085] RDX: ffffea000022f480 RSI: ffffffff87700e50 RDI: ffffffff88bd22a4 [ 25.696335] RBP: ffff8801aee1f5f0 R08: ffff8801af620280 R09: ffffed0035dc3df8 [ 25.703592] R10: ffffed0035db5483 R11: 0000000000000001 R12: 0000000000000282 [ 25.710842] R13: 0000000000000000 R14: ffff8801aee1f740 R15: ffff8801aee90380 [ 25.718095] FS: 0000000000d4a880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 25.726324] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.732204] CR2: 0000000000000074 CR3: 00000001aed4b000 CR4: 00000000001406e0 [ 25.739476] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 25.746737] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 25.753992] Kernel panic - not syncing: Fatal exception [ 25.759829] Dumping ftrace buffer: [ 25.763345] (ftrace buffer empty) [ 25.767031] Kernel Offset: disabled [ 25.770633] Rebooting in 86400 seconds..