[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 14.922668] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.600721] random: sshd: uninitialized urandom read (32 bytes read) [ 18.789765] random: sshd: uninitialized urandom read (32 bytes read) [ 19.555739] random: sshd: uninitialized urandom read (32 bytes read) [ 19.693369] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.4' (ECDSA) to the list of known hosts. [ 25.296876] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 25.380858] BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1340 [ 25.389303] in_atomic(): 0, irqs_disabled(): 1, pid: 4449, name: syz-executor166 [ 25.396814] INFO: lockdep is turned off. [ 25.400853] irq event stamp: 0 [ 25.404027] hardirqs last enabled at (0): [<0000000000000000>] (null) [ 25.411555] hardirqs last disabled at (0): [] copy_process.part.41+0x1953/0x73f0 [ 25.420637] softirqs last enabled at (0): [] copy_process.part.41+0x19f4/0x73f0 [ 25.429713] softirqs last disabled at (0): [<0000000000000000>] (null) [ 25.437232] CPU: 0 PID: 4449 Comm: syz-executor166 Not tainted 4.18.0-rc4-next-20180712+ #6 [ 25.445697] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.455031] Call Trace: [ 25.457612] dump_stack+0x1c9/0x2b4 [ 25.461234] ? dump_stack_print_info.cold.2+0x52/0x52 [ 25.466411] ___might_sleep.cold.86+0x11f/0x13a [ 25.471068] ? check_same_owner+0x340/0x340 [ 25.475377] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.480895] ? trace_9p_protocol_dump+0xbe/0x3a0 [ 25.485632] __might_sleep+0x95/0x190 [ 25.489438] __do_page_fault+0x3b6/0xe50 [ 25.493481] ? mm_fault_error+0x380/0x380 [ 25.497612] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 25.503129] ? p9pdu_readf+0xb78/0x2170 [ 25.507460] do_page_fault+0xf6/0x8c0 [ 25.511255] ? p9pdu_writef+0xe0/0xe0 [ 25.515042] ? vmalloc_sync_all+0x30/0x30 [ 25.519172] ? ksys_dup3+0x690/0x690 [ 25.522869] ? check_same_owner+0x340/0x340 [ 25.527170] ? p9_fd_poll+0x2b0/0x2b0 [ 25.530957] ? kasan_kmalloc+0xc4/0xe0 [ 25.534832] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.539660] page_fault+0x1e/0x30 [ 25.543107] RIP: 0010:kfree+0xb2/0x260 [ 25.546978] 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.566117] RSP: 0018:ffff8801b36675d0 EFLAGS: 00010046 [ 25.571464] RAX: ffffea000022f488 RBX: ffffffff88bd22a4 RCX: ffffea000022f487 [ 25.578721] RDX: ffffea000022f480 RSI: ffffffff87700e50 RDI: ffffffff88bd22a4 [ 25.585984] RBP: ffff8801b36675f0 R08: ffff8801afb14480 R09: ffffed00366ccdf8 [ 25.593246] R10: ffffed00360a29fb R11: 0000000000000001 R12: 0000000000000282 [ 25.600499] R13: 0000000000000000 R14: ffff8801b3667740 R15: ffff8801b1038380 [ 25.607776] ? p9_client_create+0xfb0/0x1770 [ 25.612432] p9_client_create+0xfea/0x1770 [ 25.616660] ? p9_client_read+0xc60/0xc60 [ 25.620809] ? lock_acquire+0x1e4/0x540 [ 25.624790] ? lock_acquire+0x1e4/0x540 [ 25.628773] ? fs_reclaim_acquire+0x20/0x20 [ 25.633108] ? lock_release+0xa30/0xa30 [ 25.637084] ? __lockdep_init_map+0x105/0x590 [ 25.641575] ? kasan_check_write+0x14/0x20 [ 25.645810] ? __init_rwsem+0x1cc/0x2a0 [ 25.649770] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 25.654787] ? __kmalloc_track_caller+0x311/0x760 [ 25.659618] ? save_stack+0xa9/0xd0 [ 25.663259] ? save_stack+0x43/0xd0 [ 25.666870] ? kasan_kmalloc+0xc4/0xe0 [ 25.670738] ? kmem_cache_alloc_trace+0x152/0x780 [ 25.675576] ? memcpy+0x45/0x50 [ 25.678849] v9fs_session_init+0x21a/0x1a80 [ 25.683155] ? rcu_note_context_switch+0x730/0x730 [ 25.688066] ? do_mount+0x69e/0x1fb0 [ 25.691781] ? lock_acquire+0x1e4/0x540 [ 25.695737] ? v9fs_show_options+0x7e0/0x7e0 [ 25.700129] ? lock_release+0xa30/0xa30 [ 25.704088] ? check_same_owner+0x340/0x340 [ 25.708403] ? lock_downgrade+0x8f0/0x8f0 [ 25.712533] ? kasan_unpoison_shadow+0x35/0x50 [ 25.717099] ? kasan_kmalloc+0xc4/0xe0 [ 25.720978] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.725803] ? kasan_unpoison_shadow+0x35/0x50 [ 25.730368] ? kasan_kmalloc+0xc4/0xe0 [ 25.734254] v9fs_mount+0x7c/0x900 [ 25.737778] ? v9fs_drop_inode+0x150/0x150 [ 25.742006] legacy_get_tree+0x118/0x440 [ 25.746066] vfs_get_tree+0x1cb/0x5c0 [ 25.749864] do_mount+0x6c1/0x1fb0 [ 25.753387] ? kasan_check_read+0x11/0x20 [ 25.757553] ? do_raw_spin_unlock+0xa7/0x2f0 [ 25.761960] ? copy_mount_string+0x40/0x40 [ 25.766181] ? kasan_kmalloc+0xc4/0xe0 [ 25.770061] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.774905] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.780424] ? copy_mount_options+0x285/0x380 [ 25.784902] ksys_mount+0x12d/0x140 [ 25.788513] __x64_sys_mount+0xbe/0x150 [ 25.792499] do_syscall_64+0x1b9/0x820 [ 25.796368] ? syscall_slow_exit_work+0x500/0x500 [ 25.801306] ? syscall_return_slowpath+0x5e0/0x5e0 [ 25.806217] ? syscall_return_slowpath+0x31d/0x5e0 [ 25.811139] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.816867] ? prepare_exit_to_usermode+0x291/0x3b0 [ 25.821873] ? perf_trace_sys_enter+0xb10/0xb10 [ 25.826544] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.831383] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.836558] RIP: 0033:0x440149 [ 25.839747] 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.858873] RSP: 002b:00007fff4e1cae28 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 25.866565] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 25.873817] RDX: 0000000020000340 RSI: 0000000020000480 RDI: 0000000000000000 [ 25.881066] RBP: 00000000006ca018 R08: 0000000020000540 R09: 00000000004002c8 [ 25.888317] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000004019d0 [ 25.895571] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 25.902867] BUG: unable to handle kernel NULL pointer dereference at 0000000000000074 [ 25.910818] PGD 1c50fa067 P4D 1c50fa067 PUD 1bdb93067 PMD 0 [ 25.916612] Oops: 0000 [#1] SMP KASAN [ 25.920397] CPU: 0 PID: 4449 Comm: syz-executor166 Tainted: G W 4.18.0-rc4-next-20180712+ #6 [ 25.931185] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.940553] RIP: 0010:kfree+0xb2/0x260 [ 25.944417] 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.963575] RSP: 0018:ffff8801b36675d0 EFLAGS: 00010046 [ 25.970747] RAX: ffffea000022f488 RBX: ffffffff88bd22a4 RCX: ffffea000022f487 [ 25.978001] RDX: ffffea000022f480 RSI: ffffffff87700e50 RDI: ffffffff88bd22a4 [ 25.985286] RBP: ffff8801b36675f0 R08: ffff8801afb14480 R09: ffffed00366ccdf8 [ 25.992542] R10: ffffed00360a29fb R11: 0000000000000001 R12: 0000000000000282 [ 25.999806] R13: 0000000000000000 R14: ffff8801b3667740 R15: ffff8801b1038380 [ 26.007076] FS: 0000000001090880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 26.015293] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.021172] CR2: 0000000000000074 CR3: 00000001cb1dd000 CR4: 00000000001406f0 [ 26.028448] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.035732] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.043166] Call Trace: [ 26.045779] p9_client_create+0xfea/0x1770 [ 26.050030] ? p9_client_read+0xc60/0xc60 [ 26.054185] ? lock_acquire+0x1e4/0x540 [ 26.058149] ? lock_acquire+0x1e4/0x540 [ 26.062110] ? fs_reclaim_acquire+0x20/0x20 [ 26.066414] ? lock_release+0xa30/0xa30 [ 26.070382] ? __lockdep_init_map+0x105/0x590 [ 26.074861] ? kasan_check_write+0x14/0x20 [ 26.079088] ? __init_rwsem+0x1cc/0x2a0 [ 26.083047] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 26.088048] ? __kmalloc_track_caller+0x311/0x760 [ 26.092882] ? save_stack+0xa9/0xd0 [ 26.096488] ? save_stack+0x43/0xd0 [ 26.100095] ? kasan_kmalloc+0xc4/0xe0 [ 26.103972] ? kmem_cache_alloc_trace+0x152/0x780 [ 26.108794] ? memcpy+0x45/0x50 [ 26.112072] v9fs_session_init+0x21a/0x1a80 [ 26.116375] ? rcu_note_context_switch+0x730/0x730 [ 26.121424] ? do_mount+0x69e/0x1fb0 [ 26.125139] ? lock_acquire+0x1e4/0x540 [ 26.129498] ? v9fs_show_options+0x7e0/0x7e0 [ 26.133900] ? lock_release+0xa30/0xa30 [ 26.138056] ? check_same_owner+0x340/0x340 [ 26.142380] ? lock_downgrade+0x8f0/0x8f0 [ 26.146535] ? kasan_unpoison_shadow+0x35/0x50 [ 26.151113] ? kasan_kmalloc+0xc4/0xe0 [ 26.154990] ? kmem_cache_alloc_trace+0x318/0x780 [ 26.159837] ? kasan_unpoison_shadow+0x35/0x50 [ 26.164414] ? kasan_kmalloc+0xc4/0xe0 [ 26.168297] v9fs_mount+0x7c/0x900 [ 26.172465] ? v9fs_drop_inode+0x150/0x150 [ 26.176690] legacy_get_tree+0x118/0x440 [ 26.180736] vfs_get_tree+0x1cb/0x5c0 [ 26.184520] do_mount+0x6c1/0x1fb0 [ 26.188043] ? kasan_check_read+0x11/0x20 [ 26.192172] ? do_raw_spin_unlock+0xa7/0x2f0 [ 26.196562] ? copy_mount_string+0x40/0x40 [ 26.200783] ? kasan_kmalloc+0xc4/0xe0 [ 26.204652] ? kmem_cache_alloc_trace+0x318/0x780 [ 26.209482] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 26.215000] ? copy_mount_options+0x285/0x380 [ 26.219503] ksys_mount+0x12d/0x140 [ 26.223112] __x64_sys_mount+0xbe/0x150 [ 26.227076] do_syscall_64+0x1b9/0x820 [ 26.230954] ? syscall_slow_exit_work+0x500/0x500 [ 26.235786] ? syscall_return_slowpath+0x5e0/0x5e0 [ 26.240707] ? syscall_return_slowpath+0x31d/0x5e0 [ 26.245619] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 26.251137] ? prepare_exit_to_usermode+0x291/0x3b0 [ 26.256307] ? perf_trace_sys_enter+0xb10/0xb10 [ 26.260958] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.265808] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 26.270981] RIP: 0033:0x440149 [ 26.274148] 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 [ 26.293271] RSP: 002b:00007fff4e1cae28 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 26.300975] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 0000000000440149 [ 26.308239] RDX: 0000000020000340 RSI: 0000000020000480 RDI: 0000000000000000 [ 26.315493] RBP: 00000000006ca018 R08: 0000000020000540 R09: 00000000004002c8 [ 26.325529] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000004019d0 [ 26.332789] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 26.340043] Modules linked in: [ 26.343218] Dumping ftrace buffer: [ 26.346732] (ftrace buffer empty) [ 26.350441] CR2: 0000000000000074 [ 26.353889] ---[ end trace 90c95406eda2775b ]--- [ 26.358642] RIP: 0010:kfree+0xb2/0x260 [ 26.362503] 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 [ 26.381629] RSP: 0018:ffff8801b36675d0 EFLAGS: 00010046 [ 26.386973] RAX: ffffea000022f488 RBX: ffffffff88bd22a4 RCX: ffffea000022f487 [ 26.394224] RDX: ffffea000022f480 RSI: ffffffff87700e50 RDI: ffffffff88bd22a4 [ 26.401486] RBP: ffff8801b36675f0 R08: ffff8801afb14480 R09: ffffed00366ccdf8 [ 26.408749] R10: ffffed00360a29fb R11: 0000000000000001 R12: 0000000000000282 [ 26.416001] R13: 0000000000000000 R14: ffff8801b3667740 R15: ffff8801b1038380 [ 26.423259] FS: 0000000001090880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 26.431470] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.437350] CR2: 0000000000000074 CR3: 00000001cb1dd000 CR4: 00000000001406f0 [ 26.444606] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.452116] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.459374] Kernel panic - not syncing: Fatal exception [ 26.465345] Dumping ftrace buffer: [ 26.468866] (ftrace buffer empty) [ 26.472555] Kernel Offset: disabled [ 26.476169] Rebooting in 86400 seconds..