[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.660202] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 20.143597] random: sshd: uninitialized urandom read (32 bytes read) [ 20.450320] random: sshd: uninitialized urandom read (32 bytes read) [ 21.194643] random: sshd: uninitialized urandom read (32 bytes read) [ 21.338310] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.9' (ECDSA) to the list of known hosts. [ 26.770235] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 26.856139] ================================================================== [ 26.863538] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 26.869672] Read of size 56883 at addr ffff8801ca9b8eed by task syz-executor553/4467 [ 26.877544] [ 26.879155] CPU: 1 PID: 4467 Comm: syz-executor553 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 26.887704] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.897035] Call Trace: [ 26.899609] dump_stack+0x1c9/0x2b4 [ 26.903217] ? dump_stack_print_info.cold.2+0x52/0x52 [ 26.908383] ? printk+0xa7/0xcf [ 26.911648] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 26.916386] ? pdu_read+0x90/0xd0 [ 26.919843] print_address_description+0x6c/0x20b [ 26.924662] ? pdu_read+0x90/0xd0 [ 26.928101] kasan_report.cold.7+0x242/0x30d [ 26.932495] check_memory_region+0x13e/0x1b0 [ 26.936882] memcpy+0x23/0x50 [ 26.939975] pdu_read+0x90/0xd0 [ 26.943231] p9pdu_readf+0x579/0x2170 [ 26.947025] ? p9pdu_writef+0xe0/0xe0 [ 26.950806] ? ksys_dup3+0x690/0x690 [ 26.954512] ? check_same_owner+0x340/0x340 [ 26.958808] ? p9_fd_poll+0x2b0/0x2b0 [ 26.962587] ? kasan_kmalloc+0xc4/0xe0 [ 26.966456] ? p9_fd_show_options+0x1c0/0x1c0 [ 26.970943] p9_client_create+0x6d0/0x1537 [ 26.975185] ? p9_client_read+0xbb0/0xbb0 [ 26.979331] ? lock_acquire+0x1e4/0x540 [ 26.983288] ? fs_reclaim_acquire+0x20/0x20 [ 26.987598] ? lock_release+0xa30/0xa30 [ 26.991548] ? __lockdep_init_map+0x105/0x590 [ 26.996035] ? kasan_check_write+0x14/0x20 [ 27.000258] ? __init_rwsem+0x1cc/0x2a0 [ 27.004209] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 27.009204] ? __kmalloc_track_caller+0x311/0x760 [ 27.014031] ? save_stack+0xa9/0xd0 [ 27.017636] ? save_stack+0x43/0xd0 [ 27.021264] ? kasan_kmalloc+0xc4/0xe0 [ 27.025147] ? memcpy+0x45/0x50 [ 27.028420] v9fs_session_init+0x21a/0x1a80 [ 27.032820] ? rcu_note_context_switch+0x730/0x730 [ 27.037735] ? legacy_parse_monolithic+0xde/0x1e0 [ 27.042577] ? v9fs_show_options+0x7e0/0x7e0 [ 27.046973] ? lock_release+0xa30/0xa30 [ 27.050932] ? check_same_owner+0x340/0x340 [ 27.055232] ? lock_downgrade+0x8f0/0x8f0 [ 27.059361] ? kasan_unpoison_shadow+0x35/0x50 [ 27.063920] ? kasan_kmalloc+0xc4/0xe0 [ 27.067787] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.072606] ? kasan_unpoison_shadow+0x35/0x50 [ 27.077164] ? kasan_kmalloc+0xc4/0xe0 [ 27.081030] v9fs_mount+0x7c/0x900 [ 27.084550] ? v9fs_drop_inode+0x150/0x150 [ 27.088767] legacy_get_tree+0x131/0x460 [ 27.092807] vfs_get_tree+0x1cb/0x5c0 [ 27.096591] do_mount+0x6f2/0x1e20 [ 27.100107] ? do_raw_spin_unlock+0xa7/0x2f0 [ 27.104493] ? copy_mount_string+0x40/0x40 [ 27.108708] ? kasan_kmalloc+0xc4/0xe0 [ 27.112575] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.117407] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 27.122936] ? copy_mount_options+0x285/0x380 [ 27.127410] ksys_mount+0x12d/0x140 [ 27.131014] __x64_sys_mount+0xbe/0x150 [ 27.134967] do_syscall_64+0x1b9/0x820 [ 27.138835] ? syscall_return_slowpath+0x5e0/0x5e0 [ 27.143740] ? syscall_return_slowpath+0x31d/0x5e0 [ 27.148649] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 27.153639] ? prepare_exit_to_usermode+0x291/0x3b0 [ 27.158633] ? perf_trace_sys_enter+0xb10/0xb10 [ 27.163288] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.168109] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.173447] RIP: 0033:0x440149 [ 27.176608] 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 [ 27.195729] RSP: 002b:00007ffc73612708 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 27.203419] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000440149 [ 27.210665] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 27.217912] RBP: 0030656c69662f2e R08: 00000000200001c0 R09: 00000000004002c8 [ 27.225159] R10: 0000000000000000 R11: 0000000000000202 R12: 64663d736e617274 [ 27.232412] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 27.239667] [ 27.241271] Allocated by task 4467: [ 27.244883] save_stack+0x43/0xd0 [ 27.248320] kasan_kmalloc+0xc4/0xe0 [ 27.252011] __kmalloc+0x14e/0x760 [ 27.255537] p9_fcall_alloc+0x1e/0x90 [ 27.259316] p9_client_prepare_req.part.8+0x132/0xa00 [ 27.264490] p9_client_rpc+0x242/0x1330 [ 27.268450] p9_client_create+0xca4/0x1537 [ 27.272666] v9fs_session_init+0x21a/0x1a80 [ 27.276968] v9fs_mount+0x7c/0x900 [ 27.280490] legacy_get_tree+0x131/0x460 [ 27.284536] vfs_get_tree+0x1cb/0x5c0 [ 27.288313] do_mount+0x6f2/0x1e20 [ 27.291832] ksys_mount+0x12d/0x140 [ 27.295436] __x64_sys_mount+0xbe/0x150 [ 27.299386] do_syscall_64+0x1b9/0x820 [ 27.303252] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.308419] [ 27.310021] Freed by task 0: [ 27.313017] (stack is not available) [ 27.316700] [ 27.318306] The buggy address belongs to the object at ffff8801ca9b8ec0 [ 27.318306] which belongs to the cache kmalloc-16384 of size 16384 [ 27.331294] The buggy address is located 45 bytes inside of [ 27.331294] 16384-byte region [ffff8801ca9b8ec0, ffff8801ca9bcec0) [ 27.343240] The buggy address belongs to the page: [ 27.348164] page:ffffea00072a6e00 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 27.358196] flags: 0x2fffc0000010200(slab|head) [ 27.362933] raw: 02fffc0000010200 ffffea00072bd808 ffff8801da801c48 ffff8801da802200 [ 27.370793] raw: 0000000000000000 ffff8801ca9b8ec0 0000000100000001 0000000000000000 [ 27.378651] page dumped because: kasan: bad access detected [ 27.384341] [ 27.385941] Memory state around the buggy address: [ 27.390852] ffff8801ca9bad80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.398187] ffff8801ca9bae00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.405521] >ffff8801ca9bae80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.412859] ^ [ 27.419323] ffff8801ca9baf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.426655] ffff8801ca9baf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.433985] ================================================================== [ 27.441449] Kernel panic - not syncing: panic_on_warn set ... [ 27.441449] [ 27.448799] CPU: 1 PID: 4467 Comm: syz-executor553 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 27.458738] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.468070] Call Trace: [ 27.470642] dump_stack+0x1c9/0x2b4 [ 27.474248] ? dump_stack_print_info.cold.2+0x52/0x52 [ 27.479424] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.484156] panic+0x238/0x4e7 [ 27.487334] ? add_taint.cold.5+0x16/0x16 [ 27.491463] ? do_raw_spin_unlock+0xa7/0x2f0 [ 27.495846] ? pdu_read+0x90/0xd0 [ 27.499277] kasan_end_report+0x47/0x4f [ 27.503235] kasan_report.cold.7+0x76/0x30d [ 27.507533] check_memory_region+0x13e/0x1b0 [ 27.511917] memcpy+0x23/0x50 [ 27.514999] pdu_read+0x90/0xd0 [ 27.518255] p9pdu_readf+0x579/0x2170 [ 27.522030] ? p9pdu_writef+0xe0/0xe0 [ 27.525809] ? ksys_dup3+0x690/0x690 [ 27.529508] ? check_same_owner+0x340/0x340 [ 27.533804] ? p9_fd_poll+0x2b0/0x2b0 [ 27.537584] ? kasan_kmalloc+0xc4/0xe0 [ 27.541539] ? p9_fd_show_options+0x1c0/0x1c0 [ 27.546014] p9_client_create+0x6d0/0x1537 [ 27.550409] ? p9_client_read+0xbb0/0xbb0 [ 27.554534] ? lock_acquire+0x1e4/0x540 [ 27.558496] ? fs_reclaim_acquire+0x20/0x20 [ 27.562815] ? lock_release+0xa30/0xa30 [ 27.566779] ? __lockdep_init_map+0x105/0x590 [ 27.571269] ? kasan_check_write+0x14/0x20 [ 27.575482] ? __init_rwsem+0x1cc/0x2a0 [ 27.579439] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 27.584434] ? __kmalloc_track_caller+0x311/0x760 [ 27.589261] ? save_stack+0xa9/0xd0 [ 27.592864] ? save_stack+0x43/0xd0 [ 27.596474] ? kasan_kmalloc+0xc4/0xe0 [ 27.600339] ? memcpy+0x45/0x50 [ 27.603598] v9fs_session_init+0x21a/0x1a80 [ 27.607898] ? rcu_note_context_switch+0x730/0x730 [ 27.612836] ? legacy_parse_monolithic+0xde/0x1e0 [ 27.617670] ? v9fs_show_options+0x7e0/0x7e0 [ 27.622184] ? lock_release+0xa30/0xa30 [ 27.626143] ? check_same_owner+0x340/0x340 [ 27.630441] ? lock_downgrade+0x8f0/0x8f0 [ 27.634565] ? kasan_unpoison_shadow+0x35/0x50 [ 27.639123] ? kasan_kmalloc+0xc4/0xe0 [ 27.642992] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.647810] ? kasan_unpoison_shadow+0x35/0x50 [ 27.652370] ? kasan_kmalloc+0xc4/0xe0 [ 27.656235] v9fs_mount+0x7c/0x900 [ 27.659754] ? v9fs_drop_inode+0x150/0x150 [ 27.663964] legacy_get_tree+0x131/0x460 [ 27.668018] vfs_get_tree+0x1cb/0x5c0 [ 27.671799] do_mount+0x6f2/0x1e20 [ 27.675313] ? do_raw_spin_unlock+0xa7/0x2f0 [ 27.679710] ? copy_mount_string+0x40/0x40 [ 27.683929] ? kasan_kmalloc+0xc4/0xe0 [ 27.687805] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.692648] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 27.698186] ? copy_mount_options+0x285/0x380 [ 27.702665] ksys_mount+0x12d/0x140 [ 27.706285] __x64_sys_mount+0xbe/0x150 [ 27.710238] do_syscall_64+0x1b9/0x820 [ 27.714104] ? syscall_return_slowpath+0x5e0/0x5e0 [ 27.719011] ? syscall_return_slowpath+0x31d/0x5e0 [ 27.723917] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 27.728909] ? prepare_exit_to_usermode+0x291/0x3b0 [ 27.733902] ? perf_trace_sys_enter+0xb10/0xb10 [ 27.738554] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.743378] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.748542] RIP: 0033:0x440149 [ 27.751705] 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 [ 27.770823] RSP: 002b:00007ffc73612708 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 27.778506] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000440149 [ 27.785750] RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000000000000 [ 27.793007] RBP: 0030656c69662f2e R08: 00000000200001c0 R09: 00000000004002c8 [ 27.800256] R10: 0000000000000000 R11: 0000000000000202 R12: 64663d736e617274 [ 27.807501] R13: 0000000000401a60 R14: 0000000000000000 R15: 0000000000000000 [ 27.815193] Dumping ftrace buffer: [ 27.818710] (ftrace buffer empty) [ 27.822394] Kernel Offset: disabled [ 27.825999] Rebooting in 86400 seconds..