[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 13.942247] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.966286] random: sshd: uninitialized urandom read (32 bytes read) [ 19.207252] random: sshd: uninitialized urandom read (32 bytes read) [ 19.871833] random: sshd: uninitialized urandom read (32 bytes read) [ 36.325972] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.12' (ECDSA) to the list of known hosts. [ 41.906661] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 41.991255] BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1340 [ 41.999672] in_atomic(): 0, irqs_disabled(): 1, pid: 4406, name: syz-executor795 [ 42.007195] INFO: lockdep is turned off. [ 42.011236] irq event stamp: 0 [ 42.014423] hardirqs last enabled at (0): [<0000000000000000>] (null) [ 42.021952] hardirqs last disabled at (0): [] copy_process.part.41+0x18cb/0x7340 [ 42.031040] softirqs last enabled at (0): [] copy_process.part.41+0x196c/0x7340 [ 42.040115] softirqs last disabled at (0): [<0000000000000000>] (null) [ 42.047656] CPU: 0 PID: 4406 Comm: syz-executor795 Not tainted 4.18.0-rc3-next-20180706+ #1 [ 42.056133] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.065481] Call Trace: [ 42.068075] dump_stack+0x1c9/0x2b4 [ 42.071693] ? dump_stack_print_info.cold.2+0x52/0x52 [ 42.076876] ___might_sleep.cold.86+0x11f/0x13a [ 42.081533] ? check_same_owner+0x340/0x340 [ 42.085846] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.091376] ? trace_9p_protocol_dump+0xbe/0x3a0 [ 42.096126] __might_sleep+0x95/0x190 [ 42.099912] __do_page_fault+0x3b6/0xe50 [ 42.103964] ? mm_fault_error+0x380/0x380 [ 42.108363] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 42.113899] ? p9pdu_readf+0xb78/0x2170 [ 42.117854] do_page_fault+0xf6/0x8c0 [ 42.121643] ? p9pdu_writef+0xe0/0xe0 [ 42.125421] ? vmalloc_sync_all+0x30/0x30 [ 42.129554] ? ksys_dup3+0x690/0x690 [ 42.133252] ? do_raw_spin_lock+0xc1/0x200 [ 42.137468] ? kasan_kmalloc+0xc4/0xe0 [ 42.141331] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.146152] page_fault+0x1e/0x30 [ 42.149582] RIP: 0010:kfree+0xb2/0x260 [ 42.153440] 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 75 d2 a3 ff 49 63 75 74 48 89 df e8 e9 fb a8 01 4c [ 42.172556] RSP: 0018:ffff8801ce6df5d0 EFLAGS: 00010046 [ 42.177898] RAX: ffffea000022f7c8 RBX: ffffffff88bdf674 RCX: ffffea000022f7c7 [ 42.185147] RDX: ffffea000022f7c0 RSI: ffffffff876f3b49 RDI: ffffffff88bdf674 [ 42.192391] RBP: ffff8801ce6df5f0 R08: ffff8801aee326c0 R09: ffffed0039cdbdf8 [ 42.199638] R10: ffffed0035b9d993 R11: 0000000000000001 R12: 0000000000000286 [ 42.206899] R13: 0000000000000000 R14: ffff8801ce6df740 R15: ffff8801acd08340 [ 42.214168] ? p9_client_create+0xf09/0x16c9 [ 42.218562] p9_client_create+0xf43/0x16c9 [ 42.222779] ? p9_client_read+0xc60/0xc60 [ 42.226905] ? lock_acquire+0x1e4/0x540 [ 42.230856] ? lock_acquire+0x1e4/0x540 [ 42.234808] ? fs_reclaim_acquire+0x20/0x20 [ 42.239107] ? lock_release+0xa30/0xa30 [ 42.243061] ? __lockdep_init_map+0x105/0x590 [ 42.247535] ? kasan_check_write+0x14/0x20 [ 42.251746] ? __init_rwsem+0x1cc/0x2a0 [ 42.255698] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 42.260691] ? __kmalloc_track_caller+0x311/0x760 [ 42.265518] ? save_stack+0xa9/0xd0 [ 42.269124] ? save_stack+0x43/0xd0 [ 42.272728] ? kasan_kmalloc+0xc4/0xe0 [ 42.276591] ? kmem_cache_alloc_trace+0x152/0x780 [ 42.281409] ? memcpy+0x45/0x50 [ 42.284669] v9fs_session_init+0x21a/0x1a80 [ 42.288978] ? rcu_note_context_switch+0x730/0x730 [ 42.293883] ? do_mount+0x69e/0x1fb0 [ 42.297577] ? lock_acquire+0x1e4/0x540 [ 42.301529] ? v9fs_show_options+0x7e0/0x7e0 [ 42.305914] ? lock_release+0xa30/0xa30 [ 42.309875] ? check_same_owner+0x340/0x340 [ 42.314174] ? lock_downgrade+0x8f0/0x8f0 [ 42.318299] ? kasan_unpoison_shadow+0x35/0x50 [ 42.322856] ? kasan_kmalloc+0xc4/0xe0 [ 42.326721] ? kmem_cache_alloc_trace+0x318/0x780 [ 42.331539] ? kasan_unpoison_shadow+0x35/0x50 [ 42.336100] ? kasan_kmalloc+0xc4/0xe0 [ 42.339968] v9fs_mount+0x7c/0x900 [ 42.343495] ? v9fs_drop_inode+0x150/0x150 [ 42.347709] legacy_get_tree+0x118/0x440 [ 42.351748] vfs_get_tree+0x1cb/0x5c0 [ 42.355626] do_mount+0x6c1/0x1fb0 [ 42.359141] ? check_same_owner+0x340/0x340 [ 42.363439] ? lock_release+0xa30/0xa30 [ 42.367389] ? copy_mount_string+0x40/0x40 [ 42.371600] ? retint_kernel+0x10/0x10 [ 42.375471] ? copy_mount_options+0x1e3/0x380 [ 42.379961] ? __sanitizer_cov_trace_pc+0x14/0x50 [ 42.384782] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.390296] ? copy_mount_options+0x285/0x380 [ 42.394768] ksys_mount+0x12d/0x140 [ 42.398371] __x64_sys_mount+0xbe/0x150 [ 42.402334] do_syscall_64+0x1b9/0x820 [ 42.406201] ? syscall_return_slowpath+0x5e0/0x5e0 [ 42.411106] ? syscall_return_slowpath+0x31d/0x5e0 [ 42.416016] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 42.421008] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.426529] ? prepare_exit_to_usermode+0x291/0x3b0 [ 42.431519] ? perf_trace_sys_enter+0xb10/0xb10 [ 42.436164] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.440985] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.446149] RIP: 0033:0x440149 [ 42.449318] 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 [ 42.468517] RSP: 002b:00007ffd4cdc3ed8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 42.476198] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 42.483443] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 42.490689] RBP: 00000000006ca018 R08: 00000000200001c0 R09: 00000000004002c8 [ 42.497934] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000004019d0 [ 42.505178] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 42.512454] BUG: unable to handle kernel NULL pointer dereference at 0000000000000074 [ 42.520394] PGD 1c695a067 P4D 1c695a067 PUD 1c3e89067 PMD 0 [ 42.526176] Oops: 0000 [#1] SMP KASAN [ 42.529966] CPU: 0 PID: 4406 Comm: syz-executor795 Tainted: G W 4.18.0-rc3-next-20180706+ #1 [ 42.539815] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.549152] RIP: 0010:kfree+0xb2/0x260 [ 42.553010] 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 75 d2 a3 ff 49 63 75 74 48 89 df e8 e9 fb a8 01 4c [ 42.572132] RSP: 0018:ffff8801ce6df5d0 EFLAGS: 00010046 [ 42.577473] RAX: ffffea000022f7c8 RBX: ffffffff88bdf674 RCX: ffffea000022f7c7 [ 42.584717] RDX: ffffea000022f7c0 RSI: ffffffff876f3b49 RDI: ffffffff88bdf674 [ 42.591961] RBP: ffff8801ce6df5f0 R08: ffff8801aee326c0 R09: ffffed0039cdbdf8 [ 42.599207] R10: ffffed0035b9d993 R11: 0000000000000001 R12: 0000000000000286 [ 42.606452] R13: 0000000000000000 R14: ffff8801ce6df740 R15: ffff8801acd08340 [ 42.613701] FS: 00000000025bd880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 42.621902] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.627758] CR2: 0000000000000074 CR3: 00000001c005b000 CR4: 00000000001406f0 [ 42.635018] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 42.642264] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 42.649518] Call Trace: [ 42.652095] p9_client_create+0xf43/0x16c9 [ 42.656316] ? p9_client_read+0xc60/0xc60 [ 42.660447] ? lock_acquire+0x1e4/0x540 [ 42.664409] ? lock_acquire+0x1e4/0x540 [ 42.668362] ? fs_reclaim_acquire+0x20/0x20 [ 42.672661] ? lock_release+0xa30/0xa30 [ 42.676626] ? __lockdep_init_map+0x105/0x590 [ 42.681563] ? kasan_check_write+0x14/0x20 [ 42.685794] ? __init_rwsem+0x1cc/0x2a0 [ 42.689752] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 42.694755] ? __kmalloc_track_caller+0x311/0x760 [ 42.699576] ? save_stack+0xa9/0xd0 [ 42.703182] ? save_stack+0x43/0xd0 [ 42.706795] ? kasan_kmalloc+0xc4/0xe0 [ 42.710755] ? kmem_cache_alloc_trace+0x152/0x780 [ 42.715577] ? memcpy+0x45/0x50 [ 42.718843] v9fs_session_init+0x21a/0x1a80 [ 42.723141] ? rcu_note_context_switch+0x730/0x730 [ 42.728047] ? do_mount+0x69e/0x1fb0 [ 42.731742] ? lock_acquire+0x1e4/0x540 [ 42.735693] ? v9fs_show_options+0x7e0/0x7e0 [ 42.740076] ? lock_release+0xa30/0xa30 [ 42.744029] ? check_same_owner+0x340/0x340 [ 42.748326] ? lock_downgrade+0x8f0/0x8f0 [ 42.752548] ? kasan_unpoison_shadow+0x35/0x50 [ 42.757106] ? kasan_kmalloc+0xc4/0xe0 [ 42.760972] ? kmem_cache_alloc_trace+0x318/0x780 [ 42.765792] ? kasan_unpoison_shadow+0x35/0x50 [ 42.770357] ? kasan_kmalloc+0xc4/0xe0 [ 42.774226] v9fs_mount+0x7c/0x900 [ 42.777750] ? v9fs_drop_inode+0x150/0x150 [ 42.781961] legacy_get_tree+0x118/0x440 [ 42.786012] vfs_get_tree+0x1cb/0x5c0 [ 42.789789] do_mount+0x6c1/0x1fb0 [ 42.793308] ? check_same_owner+0x340/0x340 [ 42.797604] ? lock_release+0xa30/0xa30 [ 42.801652] ? copy_mount_string+0x40/0x40 [ 42.805865] ? retint_kernel+0x10/0x10 [ 42.809819] ? copy_mount_options+0x1e3/0x380 [ 42.814293] ? __sanitizer_cov_trace_pc+0x14/0x50 [ 42.819113] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.824626] ? copy_mount_options+0x285/0x380 [ 42.829136] ksys_mount+0x12d/0x140 [ 42.832760] __x64_sys_mount+0xbe/0x150 [ 42.836714] do_syscall_64+0x1b9/0x820 [ 42.840592] ? syscall_return_slowpath+0x5e0/0x5e0 [ 42.845498] ? syscall_return_slowpath+0x31d/0x5e0 [ 42.850401] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 42.855395] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.860908] ? prepare_exit_to_usermode+0x291/0x3b0 [ 42.865898] ? perf_trace_sys_enter+0xb10/0xb10 [ 42.870542] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.875369] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.880535] RIP: 0033:0x440149 [ 42.883702] 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 [ 42.902813] RSP: 002b:00007ffd4cdc3ed8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 42.910497] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 42.917751] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 42.925004] RBP: 00000000006ca018 R08: 00000000200001c0 R09: 00000000004002c8 [ 42.932248] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000004019d0 [ 42.939580] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 42.946826] Modules linked in: [ 42.950002] Dumping ftrace buffer: [ 42.953524] (ftrace buffer empty) [ 42.957207] CR2: 0000000000000074 [ 42.960646] ---[ end trace bdedf55f71bc6c06 ]--- [ 42.965390] RIP: 0010:kfree+0xb2/0x260 [ 42.969245] 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 75 d2 a3 ff 49 63 75 74 48 89 df e8 e9 fb a8 01 4c [ 42.988362] RSP: 0018:ffff8801ce6df5d0 EFLAGS: 00010046 [ 42.993701] RAX: ffffea000022f7c8 RBX: ffffffff88bdf674 RCX: ffffea000022f7c7 [ 43.000961] RDX: ffffea000022f7c0 RSI: ffffffff876f3b49 RDI: ffffffff88bdf674 [ 43.008214] RBP: ffff8801ce6df5f0 R08: ffff8801aee326c0 R09: ffffed0039cdbdf8 [ 43.015462] R10: ffffed0035b9d993 R11: 0000000000000001 R12: 0000000000000286 [ 43.022708] R13: 0000000000000000 R14: ffff8801ce6df740 R15: ffff8801acd08340 [ 43.029954] FS: 00000000025bd880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 43.038153] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 43.044021] CR2: 0000000000000074 CR3: 00000001c005b000 CR4: 00000000001406f0 [ 43.051274] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 43.058518] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 43.065768] Kernel panic - not syncing: Fatal exception [ 43.071456] Dumping ftrace buffer: [ 43.074969] (ftrace buffer empty) [ 43.078654] Kernel Offset: disabled [ 43.082260] Rebooting in 86400 seconds..