[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.521894] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 19.599291] random: sshd: uninitialized urandom read (32 bytes read) [ 19.938397] random: sshd: uninitialized urandom read (32 bytes read) [ 20.656761] random: sshd: uninitialized urandom read (32 bytes read) [ 20.785835] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.29' (ECDSA) to the list of known hosts. [ 26.731804] 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 [ 26.817733] ================================================================== [ 26.825117] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 26.831239] Read of size 15606 at addr ffff8801bbeb0bad by task syz-executor996/4456 [ 26.839090] [ 26.840698] CPU: 1 PID: 4456 Comm: syz-executor996 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 26.849244] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.858572] Call Trace: [ 26.861140] dump_stack+0x1c9/0x2b4 [ 26.864745] ? dump_stack_print_info.cold.2+0x52/0x52 [ 26.869913] ? printk+0xa7/0xcf [ 26.873169] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 26.877902] ? pdu_read+0x90/0xd0 [ 26.881333] print_address_description+0x6c/0x20b [ 26.886155] ? pdu_read+0x90/0xd0 [ 26.889589] kasan_report.cold.7+0x242/0x30d [ 26.893991] check_memory_region+0x13e/0x1b0 [ 26.898387] memcpy+0x23/0x50 [ 26.901475] pdu_read+0x90/0xd0 [ 26.904737] p9pdu_readf+0x579/0x2170 [ 26.908522] ? p9pdu_writef+0xe0/0xe0 [ 26.912305] ? ksys_dup3+0x690/0x690 [ 26.915999] ? check_same_owner+0x340/0x340 [ 26.920295] ? p9_fd_poll+0x2b0/0x2b0 [ 26.924073] ? kasan_kmalloc+0xc4/0xe0 [ 26.927944] ? p9_fd_show_options+0x1c0/0x1c0 [ 26.932416] p9_client_create+0x6d0/0x1537 [ 26.936629] ? p9_client_read+0xbb0/0xbb0 [ 26.940762] ? lock_acquire+0x1e4/0x540 [ 26.944712] ? fs_reclaim_acquire+0x20/0x20 [ 26.949019] ? lock_release+0xa30/0xa30 [ 26.952979] ? __lockdep_init_map+0x105/0x590 [ 26.957462] ? kasan_check_write+0x14/0x20 [ 26.961672] ? __init_rwsem+0x1cc/0x2a0 [ 26.965623] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 26.970618] ? __kmalloc_track_caller+0x311/0x760 [ 26.975449] ? save_stack+0xa9/0xd0 [ 26.979054] ? save_stack+0x43/0xd0 [ 26.982654] ? kasan_kmalloc+0xc4/0xe0 [ 26.986515] ? memcpy+0x45/0x50 [ 26.989773] v9fs_session_init+0x21a/0x1a80 [ 26.994073] ? rcu_note_context_switch+0x730/0x730 [ 26.998980] ? legacy_parse_monolithic+0xde/0x1e0 [ 27.003808] ? v9fs_show_options+0x7e0/0x7e0 [ 27.008196] ? lock_release+0xa30/0xa30 [ 27.012153] ? lock_downgrade+0x8f0/0x8f0 [ 27.016281] ? check_same_owner+0x340/0x340 [ 27.020586] ? kasan_unpoison_shadow+0x35/0x50 [ 27.025146] ? kasan_kmalloc+0xc4/0xe0 [ 27.029020] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.033869] ? kasan_unpoison_shadow+0x35/0x50 [ 27.038439] ? kasan_kmalloc+0xc4/0xe0 [ 27.042307] v9fs_mount+0x7c/0x900 [ 27.045830] ? v9fs_drop_inode+0x150/0x150 [ 27.050042] legacy_get_tree+0x131/0x460 [ 27.054093] vfs_get_tree+0x1cb/0x5c0 [ 27.057881] do_mount+0x6f2/0x1e20 [ 27.061401] ? do_raw_spin_unlock+0xa7/0x2f0 [ 27.065791] ? copy_mount_string+0x40/0x40 [ 27.070012] ? kasan_kmalloc+0xc4/0xe0 [ 27.073896] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.078729] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 27.084251] ? copy_mount_options+0x285/0x380 [ 27.088736] ksys_mount+0x12d/0x140 [ 27.092346] __x64_sys_mount+0xbe/0x150 [ 27.096307] do_syscall_64+0x1b9/0x820 [ 27.100184] ? syscall_return_slowpath+0x5e0/0x5e0 [ 27.105095] ? syscall_return_slowpath+0x31d/0x5e0 [ 27.110013] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 27.115017] ? prepare_exit_to_usermode+0x291/0x3b0 [ 27.120012] ? perf_trace_sys_enter+0xb10/0xb10 [ 27.124659] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.129482] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.134645] RIP: 0033:0x440199 [ 27.137809] 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.156925] RSP: 002b:00007ffeb557bbb8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 27.164612] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000440199 [ 27.171858] RDX: 0000000020000900 RSI: 0000000020000000 RDI: 0000000000000000 [ 27.179103] RBP: 0030656c69662f2e R08: 0000000020000380 R09: 0000000000000001 [ 27.186352] R10: 0000000000000000 R11: 0000000000000206 R12: 73663d6568636163 [ 27.193600] R13: 64663d736e617274 R14: 0000000000000000 R15: 0000000000000000 [ 27.200848] [ 27.202451] Allocated by task 4456: [ 27.206057] save_stack+0x43/0xd0 [ 27.209483] kasan_kmalloc+0xc4/0xe0 [ 27.213171] __kmalloc+0x14e/0x760 [ 27.216688] p9_fcall_alloc+0x1e/0x90 [ 27.220468] p9_client_prepare_req.part.8+0x132/0xa00 [ 27.225648] p9_client_rpc+0x242/0x1330 [ 27.229602] p9_client_create+0xca4/0x1537 [ 27.233827] v9fs_session_init+0x21a/0x1a80 [ 27.238128] v9fs_mount+0x7c/0x900 [ 27.241660] legacy_get_tree+0x131/0x460 [ 27.245703] vfs_get_tree+0x1cb/0x5c0 [ 27.249488] do_mount+0x6f2/0x1e20 [ 27.253021] ksys_mount+0x12d/0x140 [ 27.256637] __x64_sys_mount+0xbe/0x150 [ 27.260592] do_syscall_64+0x1b9/0x820 [ 27.264461] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.269623] [ 27.271234] Freed by task 0: [ 27.274230] (stack is not available) [ 27.277915] [ 27.279522] The buggy address belongs to the object at ffff8801bbeb0b80 [ 27.279522] which belongs to the cache kmalloc-16384 of size 16384 [ 27.292508] The buggy address is located 45 bytes inside of [ 27.292508] 16384-byte region [ffff8801bbeb0b80, ffff8801bbeb4b80) [ 27.304443] The buggy address belongs to the page: [ 27.309351] page:ffffea0006efac00 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 27.319297] flags: 0x2fffc0000010200(slab|head) [ 27.323951] raw: 02fffc0000010200 ffffea0006efc208 ffffea0006ef1c08 ffff8801da802200 [ 27.331816] raw: 0000000000000000 ffff8801bbeb0b80 0000000100000001 0000000000000000 [ 27.339669] page dumped because: kasan: bad access detected [ 27.345355] [ 27.346961] Memory state around the buggy address: [ 27.351869] ffff8801bbeb2a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.359207] ffff8801bbeb2b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.366546] >ffff8801bbeb2b80: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 27.373879] ^ [ 27.378264] ffff8801bbeb2c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.385603] ffff8801bbeb2c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.392939] ================================================================== [ 27.400466] Kernel panic - not syncing: panic_on_warn set ... [ 27.400466] [ 27.407835] CPU: 1 PID: 4456 Comm: syz-executor996 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 27.417775] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.427104] Call Trace: [ 27.429672] dump_stack+0x1c9/0x2b4 [ 27.433279] ? dump_stack_print_info.cold.2+0x52/0x52 [ 27.438452] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.443192] panic+0x238/0x4e7 [ 27.446367] ? add_taint.cold.5+0x16/0x16 [ 27.450499] ? do_raw_spin_unlock+0xa7/0x2f0 [ 27.454888] ? pdu_read+0x90/0xd0 [ 27.458322] kasan_end_report+0x47/0x4f [ 27.462276] kasan_report.cold.7+0x76/0x30d [ 27.466595] check_memory_region+0x13e/0x1b0 [ 27.470982] memcpy+0x23/0x50 [ 27.474072] pdu_read+0x90/0xd0 [ 27.477332] p9pdu_readf+0x579/0x2170 [ 27.481116] ? p9pdu_writef+0xe0/0xe0 [ 27.484898] ? ksys_dup3+0x690/0x690 [ 27.488594] ? check_same_owner+0x340/0x340 [ 27.492893] ? p9_fd_poll+0x2b0/0x2b0 [ 27.496676] ? kasan_kmalloc+0xc4/0xe0 [ 27.500550] ? p9_fd_show_options+0x1c0/0x1c0 [ 27.505035] p9_client_create+0x6d0/0x1537 [ 27.509254] ? p9_client_read+0xbb0/0xbb0 [ 27.513383] ? lock_acquire+0x1e4/0x540 [ 27.517335] ? fs_reclaim_acquire+0x20/0x20 [ 27.521909] ? lock_release+0xa30/0xa30 [ 27.525867] ? __lockdep_init_map+0x105/0x590 [ 27.530347] ? kasan_check_write+0x14/0x20 [ 27.534562] ? __init_rwsem+0x1cc/0x2a0 [ 27.538522] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 27.543522] ? __kmalloc_track_caller+0x311/0x760 [ 27.548343] ? save_stack+0xa9/0xd0 [ 27.551947] ? save_stack+0x43/0xd0 [ 27.555551] ? kasan_kmalloc+0xc4/0xe0 [ 27.559415] ? memcpy+0x45/0x50 [ 27.562677] v9fs_session_init+0x21a/0x1a80 [ 27.566977] ? rcu_note_context_switch+0x730/0x730 [ 27.571887] ? legacy_parse_monolithic+0xde/0x1e0 [ 27.576711] ? v9fs_show_options+0x7e0/0x7e0 [ 27.581101] ? lock_release+0xa30/0xa30 [ 27.585058] ? lock_downgrade+0x8f0/0x8f0 [ 27.589185] ? check_same_owner+0x340/0x340 [ 27.593487] ? kasan_unpoison_shadow+0x35/0x50 [ 27.598050] ? kasan_kmalloc+0xc4/0xe0 [ 27.601920] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.606741] ? kasan_unpoison_shadow+0x35/0x50 [ 27.611306] ? kasan_kmalloc+0xc4/0xe0 [ 27.615178] v9fs_mount+0x7c/0x900 [ 27.618704] ? v9fs_drop_inode+0x150/0x150 [ 27.622920] legacy_get_tree+0x131/0x460 [ 27.626976] vfs_get_tree+0x1cb/0x5c0 [ 27.630758] do_mount+0x6f2/0x1e20 [ 27.634282] ? do_raw_spin_unlock+0xa7/0x2f0 [ 27.638671] ? copy_mount_string+0x40/0x40 [ 27.642884] ? kasan_kmalloc+0xc4/0xe0 [ 27.646753] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.651580] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 27.657097] ? copy_mount_options+0x285/0x380 [ 27.661577] ksys_mount+0x12d/0x140 [ 27.665184] __x64_sys_mount+0xbe/0x150 [ 27.669144] do_syscall_64+0x1b9/0x820 [ 27.673017] ? syscall_return_slowpath+0x5e0/0x5e0 [ 27.677931] ? syscall_return_slowpath+0x31d/0x5e0 [ 27.682849] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 27.687849] ? prepare_exit_to_usermode+0x291/0x3b0 [ 27.692846] ? perf_trace_sys_enter+0xb10/0xb10 [ 27.697494] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.702319] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.707487] RIP: 0033:0x440199 [ 27.710655] 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.729793] RSP: 002b:00007ffeb557bbb8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 27.737480] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000440199 [ 27.744726] RDX: 0000000020000900 RSI: 0000000020000000 RDI: 0000000000000000 [ 27.751979] RBP: 0030656c69662f2e R08: 0000000020000380 R09: 0000000000000001 [ 27.759229] R10: 0000000000000000 R11: 0000000000000206 R12: 73663d6568636163 [ 27.766481] R13: 64663d736e617274 R14: 0000000000000000 R15: 0000000000000000 [ 27.774189] Dumping ftrace buffer: [ 27.777712] (ftrace buffer empty) [ 27.781401] Kernel Offset: disabled [ 27.785007] Rebooting in 86400 seconds..