[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 18.618263] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.614415] random: sshd: uninitialized urandom read (32 bytes read) [ 22.946157] random: sshd: uninitialized urandom read (32 bytes read) [ 23.749319] random: sshd: uninitialized urandom read (32 bytes read) [ 23.898596] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.61' (ECDSA) to the list of known hosts. [ 29.407116] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 29.499986] BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1340 [ 29.508620] in_atomic(): 0, irqs_disabled(): 1, pid: 4524, name: syz-executor385 [ 29.516322] INFO: lockdep is turned off. [ 29.520372] irq event stamp: 0 [ 29.523553] hardirqs last enabled at (0): [<0000000000000000>] (null) [ 29.531104] hardirqs last disabled at (0): [] copy_process.part.41+0x1953/0x73d0 [ 29.540221] softirqs last enabled at (0): [] copy_process.part.41+0x19f4/0x73d0 [ 29.549357] softirqs last disabled at (0): [<0000000000000000>] (null) [ 29.556915] CPU: 0 PID: 4524 Comm: syz-executor385 Not tainted 4.18.0-rc4-next-20180711+ #4 [ 29.565391] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.574746] Call Trace: [ 29.577353] dump_stack+0x1c9/0x2b4 [ 29.580999] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.586208] ___might_sleep.cold.86+0x11f/0x13a [ 29.590891] ? check_same_owner+0x340/0x340 [ 29.595277] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.600888] ? trace_9p_protocol_dump+0xbe/0x3a0 [ 29.605665] __might_sleep+0x95/0x190 [ 29.609454] __do_page_fault+0x3b6/0xe50 [ 29.613512] ? mm_fault_error+0x380/0x380 [ 29.617702] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.623274] ? p9pdu_readf+0xb78/0x2170 [ 29.627259] do_page_fault+0xf6/0x8c0 [ 29.631085] ? p9pdu_writef+0xe0/0xe0 [ 29.634893] ? vmalloc_sync_all+0x30/0x30 [ 29.639062] ? ksys_dup3+0x690/0x690 [ 29.642784] ? check_same_owner+0x340/0x340 [ 29.647121] ? p9_fd_poll+0x2b0/0x2b0 [ 29.650930] ? kasan_kmalloc+0xc4/0xe0 [ 29.654811] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.659649] page_fault+0x1e/0x30 [ 29.663096] RIP: 0010:kfree+0xb2/0x260 [ 29.666985] 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 15 bb a3 ff 49 63 75 74 48 89 df e8 69 9e a9 01 4c [ 29.686188] RSP: 0018:ffff8801ac9075d0 EFLAGS: 00010046 [ 29.691574] RAX: ffffea000022f488 RBX: ffffffff88bd24d4 RCX: ffffea000022f487 [ 29.698869] RDX: ffffea000022f480 RSI: ffffffff877046e0 RDI: ffffffff88bd24d4 [ 29.706161] RBP: ffff8801ac9075f0 R08: ffff8801abdcc140 R09: ffffed0035920df8 [ 29.713425] R10: ffffed0038cd952b R11: 0000000000000001 R12: 0000000000000282 [ 29.720702] R13: 0000000000000000 R14: ffff8801ac907740 R15: ffff8801ac730340 [ 29.727982] ? p9_client_create+0xfb0/0x1770 [ 29.732401] p9_client_create+0xfea/0x1770 [ 29.736643] ? p9_client_read+0xc60/0xc60 [ 29.740788] ? lock_acquire+0x1e4/0x540 [ 29.744752] ? lock_acquire+0x1e4/0x540 [ 29.748744] ? fs_reclaim_acquire+0x20/0x20 [ 29.753077] ? lock_release+0xa30/0xa30 [ 29.757077] ? __lockdep_init_map+0x105/0x590 [ 29.761588] ? kasan_check_write+0x14/0x20 [ 29.766129] ? __init_rwsem+0x1cc/0x2a0 [ 29.770093] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 29.775123] ? __kmalloc_track_caller+0x311/0x760 [ 29.779955] ? save_stack+0xa9/0xd0 [ 29.783584] ? save_stack+0x43/0xd0 [ 29.787207] ? kasan_kmalloc+0xc4/0xe0 [ 29.791089] ? kmem_cache_alloc_trace+0x152/0x780 [ 29.795926] ? memcpy+0x45/0x50 [ 29.799210] v9fs_session_init+0x21a/0x1a80 [ 29.803540] ? rcu_note_context_switch+0x730/0x730 [ 29.808475] ? do_mount+0x69e/0x1fb0 [ 29.812215] ? lock_acquire+0x1e4/0x540 [ 29.816190] ? v9fs_show_options+0x7e0/0x7e0 [ 29.820760] ? lock_release+0xa30/0xa30 [ 29.824735] ? check_same_owner+0x340/0x340 [ 29.829061] ? lock_downgrade+0x8f0/0x8f0 [ 29.833407] ? kasan_unpoison_shadow+0x35/0x50 [ 29.837985] ? kasan_kmalloc+0xc4/0xe0 [ 29.841877] ? kmem_cache_alloc_trace+0x318/0x780 [ 29.846757] ? kasan_unpoison_shadow+0x35/0x50 [ 29.851383] ? kasan_kmalloc+0xc4/0xe0 [ 29.855368] v9fs_mount+0x7c/0x900 [ 29.859107] ? v9fs_drop_inode+0x150/0x150 [ 29.863365] legacy_get_tree+0x118/0x440 [ 29.867517] vfs_get_tree+0x1cb/0x5c0 [ 29.871325] do_mount+0x6c1/0x1fb0 [ 29.874875] ? check_same_owner+0x340/0x340 [ 29.879200] ? lock_release+0xa30/0xa30 [ 29.883188] ? copy_mount_string+0x40/0x40 [ 29.887428] ? kasan_kmalloc+0xc4/0xe0 [ 29.891316] ? kmem_cache_alloc_trace+0x318/0x780 [ 29.896160] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.901719] ? _copy_from_user+0xdf/0x150 [ 29.905880] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.911418] ? copy_mount_options+0x285/0x380 [ 29.915907] ksys_mount+0x12d/0x140 [ 29.919529] __x64_sys_mount+0xbe/0x150 [ 29.923500] do_syscall_64+0x1b9/0x820 [ 29.927390] ? syscall_return_slowpath+0x5e0/0x5e0 [ 29.932326] ? syscall_return_slowpath+0x31d/0x5e0 [ 29.937259] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 29.942278] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.947825] ? prepare_exit_to_usermode+0x291/0x3b0 [ 29.952844] ? perf_trace_sys_enter+0xb10/0xb10 [ 29.957511] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.962370] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.967590] RIP: 0033:0x440149 [ 29.970789] 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 [ 29.989989] RSP: 002b:00007fffb9932ae8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 29.997719] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 30.004988] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 30.012265] RBP: 00000000006ca018 R08: 00000000200001c0 R09: 00000000004002c8 [ 30.019558] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000004019d0 [ 30.026833] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 30.034138] BUG: unable to handle kernel NULL pointer dereference at 0000000000000074 [ 30.042101] PGD 1d9b4e067 P4D 1d9b4e067 PUD 1d9b51067 PMD 0 [ 30.047922] Oops: 0000 [#1] SMP KASAN [ 30.051731] CPU: 0 PID: 4524 Comm: syz-executor385 Tainted: G W 4.18.0-rc4-next-20180711+ #4 [ 30.061689] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.071146] RIP: 0010:kfree+0xb2/0x260 [ 30.075024] 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 15 bb a3 ff 49 63 75 74 48 89 df e8 69 9e a9 01 4c [ 30.094349] RSP: 0018:ffff8801ac9075d0 EFLAGS: 00010046 [ 30.099714] RAX: ffffea000022f488 RBX: ffffffff88bd24d4 RCX: ffffea000022f487 [ 30.106991] RDX: ffffea000022f480 RSI: ffffffff877046e0 RDI: ffffffff88bd24d4 [ 30.114262] RBP: ffff8801ac9075f0 R08: ffff8801abdcc140 R09: ffffed0035920df8 [ 30.121534] R10: ffffed0038cd952b R11: 0000000000000001 R12: 0000000000000282 [ 30.128798] R13: 0000000000000000 R14: ffff8801ac907740 R15: ffff8801ac730340 [ 30.136076] FS: 0000000001c8a880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 30.144321] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 30.150195] CR2: 0000000000000074 CR3: 00000001ac637000 CR4: 00000000001406f0 [ 30.157465] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 30.164739] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 30.172014] Call Trace: [ 30.174659] p9_client_create+0xfea/0x1770 [ 30.178895] ? p9_client_read+0xc60/0xc60 [ 30.183056] ? lock_acquire+0x1e4/0x540 [ 30.187034] ? lock_acquire+0x1e4/0x540 [ 30.190999] ? fs_reclaim_acquire+0x20/0x20 [ 30.195341] ? lock_release+0xa30/0xa30 [ 30.199310] ? __lockdep_init_map+0x105/0x590 [ 30.203821] ? kasan_check_write+0x14/0x20 [ 30.208071] ? __init_rwsem+0x1cc/0x2a0 [ 30.212053] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 30.217115] ? __kmalloc_track_caller+0x311/0x760 [ 30.221950] ? save_stack+0xa9/0xd0 [ 30.225582] ? save_stack+0x43/0xd0 [ 30.229198] ? kasan_kmalloc+0xc4/0xe0 [ 30.233078] ? kmem_cache_alloc_trace+0x152/0x780 [ 30.237907] ? memcpy+0x45/0x50 [ 30.241193] v9fs_session_init+0x21a/0x1a80 [ 30.245502] ? rcu_note_context_switch+0x730/0x730 [ 30.250446] ? do_mount+0x69e/0x1fb0 [ 30.254173] ? lock_acquire+0x1e4/0x540 [ 30.258161] ? v9fs_show_options+0x7e0/0x7e0 [ 30.262563] ? lock_release+0xa30/0xa30 [ 30.266528] ? check_same_owner+0x340/0x340 [ 30.270848] ? lock_downgrade+0x8f0/0x8f0 [ 30.275000] ? kasan_unpoison_shadow+0x35/0x50 [ 30.279585] ? kasan_kmalloc+0xc4/0xe0 [ 30.283564] ? kmem_cache_alloc_trace+0x318/0x780 [ 30.288400] ? kasan_unpoison_shadow+0x35/0x50 [ 30.292974] ? kasan_kmalloc+0xc4/0xe0 [ 30.296857] v9fs_mount+0x7c/0x900 [ 30.300388] ? v9fs_drop_inode+0x150/0x150 [ 30.304640] legacy_get_tree+0x118/0x440 [ 30.308709] vfs_get_tree+0x1cb/0x5c0 [ 30.312506] do_mount+0x6c1/0x1fb0 [ 30.316055] ? check_same_owner+0x340/0x340 [ 30.320375] ? lock_release+0xa30/0xa30 [ 30.324339] ? copy_mount_string+0x40/0x40 [ 30.328590] ? kasan_kmalloc+0xc4/0xe0 [ 30.332467] ? kmem_cache_alloc_trace+0x318/0x780 [ 30.337315] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.342969] ? _copy_from_user+0xdf/0x150 [ 30.347121] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.352657] ? copy_mount_options+0x285/0x380 [ 30.357147] ksys_mount+0x12d/0x140 [ 30.360790] __x64_sys_mount+0xbe/0x150 [ 30.364759] do_syscall_64+0x1b9/0x820 [ 30.368643] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.373571] ? syscall_return_slowpath+0x31d/0x5e0 [ 30.378490] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 30.383505] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.389057] ? prepare_exit_to_usermode+0x291/0x3b0 [ 30.394065] ? perf_trace_sys_enter+0xb10/0xb10 [ 30.398727] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.403590] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.408790] RIP: 0033:0x440149 [ 30.411963] 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 [ 30.431161] RSP: 002b:00007fffb9932ae8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 30.438874] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 30.446146] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 30.453409] RBP: 00000000006ca018 R08: 00000000200001c0 R09: 00000000004002c8 [ 30.460670] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000004019d0 [ 30.467929] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 30.475204] Modules linked in: [ 30.478399] Dumping ftrace buffer: [ 30.481926] (ftrace buffer empty) [ 30.485634] CR2: 0000000000000074 [ 30.489079] ---[ end trace 48ac2d6d9f7c4823 ]--- [ 30.493836] RIP: 0010:kfree+0xb2/0x260 [ 30.497716] 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 15 bb a3 ff 49 63 75 74 48 89 df e8 69 9e a9 01 4c [ 30.516881] RSP: 0018:ffff8801ac9075d0 EFLAGS: 00010046 [ 30.522256] RAX: ffffea000022f488 RBX: ffffffff88bd24d4 RCX: ffffea000022f487 [ 30.529515] RDX: ffffea000022f480 RSI: ffffffff877046e0 RDI: ffffffff88bd24d4 [ 30.536795] RBP: ffff8801ac9075f0 R08: ffff8801abdcc140 R09: ffffed0035920df8 [ 30.544068] R10: ffffed0038cd952b R11: 0000000000000001 R12: 0000000000000282 [ 30.551430] R13: 0000000000000000 R14: ffff8801ac907740 R15: ffff8801ac730340 [ 30.558700] FS: 0000000001c8a880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 30.566921] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 30.572805] CR2: 0000000000000074 CR3: 00000001ac637000 CR4: 00000000001406f0 [ 30.580075] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 30.587340] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 30.594601] Kernel panic - not syncing: Fatal exception [ 30.600696] Dumping ftrace buffer: [ 30.604258] (ftrace buffer empty) [ 30.607975] Kernel Offset: disabled [ 30.611614] Rebooting in 86400 seconds..