[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 20.403604] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 24.592868] random: sshd: uninitialized urandom read (32 bytes read) [ 24.966782] random: sshd: uninitialized urandom read (32 bytes read) [ 25.820637] random: sshd: uninitialized urandom read (32 bytes read) [ 25.974692] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.2' (ECDSA) to the list of known hosts. [ 31.457292] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program [ 31.553708] IPVS: ftp: loaded support on port[0] = 21 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 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 [ 33.056285] ================================================================== [ 33.063745] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 33.069889] Read of size 54405 at addr ffff8801c3a4a62d by task syz-executor110/4606 [ 33.077758] [ 33.079404] CPU: 1 PID: 4606 Comm: syz-executor110 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 33.088178] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.097545] Call Trace: [ 33.100140] dump_stack+0x1c9/0x2b4 [ 33.103768] ? dump_stack_print_info.cold.2+0x52/0x52 [ 33.108965] ? printk+0xa7/0xcf [ 33.112247] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 33.117049] ? pdu_read+0x90/0xd0 [ 33.120530] print_address_description+0x6c/0x20b [ 33.125399] ? pdu_read+0x90/0xd0 [ 33.128862] kasan_report.cold.7+0x242/0x30d [ 33.133292] check_memory_region+0x13e/0x1b0 [ 33.137795] memcpy+0x23/0x50 [ 33.140902] pdu_read+0x90/0xd0 [ 33.144176] p9pdu_readf+0x579/0x2170 [ 33.148066] ? p9pdu_writef+0xe0/0xe0 [ 33.151946] ? ksys_dup3+0x690/0x690 [ 33.155666] ? check_same_owner+0x340/0x340 [ 33.159995] ? p9_fd_poll+0x2b0/0x2b0 [ 33.163799] ? finish_wait+0x430/0x430 [ 33.167710] ? p9_fd_show_options+0x1c0/0x1c0 [ 33.172205] p9_client_create+0x6d0/0x1537 [ 33.176437] ? p9_client_read+0xbb0/0xbb0 [ 33.180587] ? lock_acquire+0x1e4/0x540 [ 33.184579] ? fs_reclaim_acquire+0x20/0x20 [ 33.188902] ? lock_release+0xa30/0xa30 [ 33.192884] ? __lockdep_init_map+0x105/0x590 [ 33.197395] ? kasan_check_write+0x14/0x20 [ 33.201630] ? __init_rwsem+0x1cc/0x2a0 [ 33.205595] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 33.210613] ? __kmalloc_track_caller+0x311/0x760 [ 33.215464] ? save_stack+0xa9/0xd0 [ 33.219104] ? save_stack+0x43/0xd0 [ 33.222734] ? kasan_kmalloc+0xc4/0xe0 [ 33.226623] ? memcpy+0x45/0x50 [ 33.229894] v9fs_session_init+0x21a/0x1a80 [ 33.234228] ? rcu_note_context_switch+0x730/0x730 [ 33.239171] ? cache_grow_end.part.37+0x95/0x170 [ 33.244033] ? lock_downgrade+0x8f0/0x8f0 [ 33.248196] ? v9fs_show_options+0x7e0/0x7e0 [ 33.252619] ? kasan_check_read+0x11/0x20 [ 33.256779] ? do_raw_spin_unlock+0xa7/0x2f0 [ 33.261196] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 33.265774] ? kasan_check_write+0x14/0x20 [ 33.270007] ? do_raw_spin_lock+0xc1/0x200 [ 33.274243] ? kasan_unpoison_shadow+0x35/0x50 [ 33.278829] ? kasan_kmalloc+0xc4/0xe0 [ 33.282728] ? kmem_cache_alloc_trace+0x318/0x780 [ 33.287576] ? kasan_unpoison_shadow+0x35/0x50 [ 33.292160] ? kasan_kmalloc+0xc4/0xe0 [ 33.296065] v9fs_mount+0x7c/0x900 [ 33.299617] ? v9fs_drop_inode+0x150/0x150 [ 33.303888] legacy_get_tree+0x131/0x460 [ 33.307970] vfs_get_tree+0x1cb/0x5c0 [ 33.311776] do_mount+0x6f2/0x1e20 [ 33.315406] ? check_same_owner+0x340/0x340 [ 33.319889] ? lock_release+0xa30/0xa30 [ 33.323877] ? copy_mount_string+0x40/0x40 [ 33.328124] ? kasan_kmalloc+0xc4/0xe0 [ 33.332017] ? kmem_cache_alloc_trace+0x318/0x780 [ 33.336882] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 33.342424] ? _copy_from_user+0xdf/0x150 [ 33.346575] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.352131] ? copy_mount_options+0x285/0x380 [ 33.356634] ksys_mount+0x12d/0x140 [ 33.360438] __x64_sys_mount+0xbe/0x150 [ 33.364424] do_syscall_64+0x1b9/0x820 [ 33.368315] ? syscall_return_slowpath+0x5e0/0x5e0 [ 33.373268] ? syscall_return_slowpath+0x31d/0x5e0 [ 33.378214] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 33.383227] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.388789] ? prepare_exit_to_usermode+0x291/0x3b0 [ 33.393833] ? perf_trace_sys_enter+0xb10/0xb10 [ 33.398520] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.403491] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.408680] RIP: 0033:0x4463b9 [ 33.411863] Code: e8 fc bb 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 6b 0e fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 33.431089] RSP: 002b:00007f3ccd72bce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 33.438832] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 00000000004463b9 [ 33.446199] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 33.453510] RBP: 00000000006dbc20 R08: 00000000200001c0 R09: 0000000000000000 [ 33.460799] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 33.468098] R13: 00007ffeeaef820f R14: 00007f3ccd72c9c0 R15: 0000000000000001 [ 33.475395] [ 33.477027] Allocated by task 4606: [ 33.480676] save_stack+0x43/0xd0 [ 33.484132] kasan_kmalloc+0xc4/0xe0 [ 33.487840] __kmalloc+0x14e/0x760 [ 33.491461] p9_fcall_alloc+0x1e/0x90 [ 33.495254] p9_client_prepare_req.part.8+0x132/0xa00 [ 33.500446] p9_client_rpc+0x242/0x1330 [ 33.504421] p9_client_create+0xca4/0x1537 [ 33.508664] v9fs_session_init+0x21a/0x1a80 [ 33.512987] v9fs_mount+0x7c/0x900 [ 33.516535] legacy_get_tree+0x131/0x460 [ 33.520600] vfs_get_tree+0x1cb/0x5c0 [ 33.524412] do_mount+0x6f2/0x1e20 [ 33.527943] ksys_mount+0x12d/0x140 [ 33.531572] __x64_sys_mount+0xbe/0x150 [ 33.535543] do_syscall_64+0x1b9/0x820 [ 33.539424] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.544597] [ 33.546213] Freed by task 0: [ 33.549220] (stack is not available) [ 33.552932] [ 33.554552] The buggy address belongs to the object at ffff8801c3a4a600 [ 33.554552] which belongs to the cache kmalloc-16384 of size 16384 [ 33.567560] The buggy address is located 45 bytes inside of [ 33.567560] 16384-byte region [ffff8801c3a4a600, ffff8801c3a4e600) [ 33.579617] The buggy address belongs to the page: [ 33.584577] page:ffffea00070e9200 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 33.594548] flags: 0x2fffc0000010200(slab|head) [ 33.599217] raw: 02fffc0000010200 ffffea000717c608 ffff8801da801c48 ffff8801da802200 [ 33.607131] raw: 0000000000000000 ffff8801c3a4a600 0000000100000001 0000000000000000 [ 33.615002] page dumped because: kasan: bad access detected [ 33.620727] [ 33.622342] Memory state around the buggy address: [ 33.627292] ffff8801c3a4c500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.634665] ffff8801c3a4c580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.642046] >ffff8801c3a4c600: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 33.649426] ^ [ 33.655057] ffff8801c3a4c680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.662429] ffff8801c3a4c700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.669801] ================================================================== [ 33.677356] Kernel panic - not syncing: panic_on_warn set ... [ 33.677356] [ 33.684738] CPU: 1 PID: 4606 Comm: syz-executor110 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 33.694745] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.704115] Call Trace: [ 33.706706] dump_stack+0x1c9/0x2b4 [ 33.710331] ? dump_stack_print_info.cold.2+0x52/0x52 [ 33.715530] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.720306] panic+0x238/0x4e7 [ 33.723510] ? add_taint.cold.5+0x16/0x16 [ 33.727656] ? do_raw_spin_unlock+0xa7/0x2f0 [ 33.732077] ? pdu_read+0x90/0xd0 [ 33.735562] kasan_end_report+0x47/0x4f [ 33.739537] kasan_report.cold.7+0x76/0x30d [ 33.743869] check_memory_region+0x13e/0x1b0 [ 33.748286] memcpy+0x23/0x50 [ 33.751399] pdu_read+0x90/0xd0 [ 33.754707] p9pdu_readf+0x579/0x2170 [ 33.758513] ? p9pdu_writef+0xe0/0xe0 [ 33.762334] ? ksys_dup3+0x690/0x690 [ 33.766140] ? check_same_owner+0x340/0x340 [ 33.770476] ? p9_fd_poll+0x2b0/0x2b0 [ 33.774371] ? finish_wait+0x430/0x430 [ 33.778281] ? p9_fd_show_options+0x1c0/0x1c0 [ 33.782808] p9_client_create+0x6d0/0x1537 [ 33.787093] ? p9_client_read+0xbb0/0xbb0 [ 33.791257] ? lock_acquire+0x1e4/0x540 [ 33.795429] ? fs_reclaim_acquire+0x20/0x20 [ 33.799758] ? lock_release+0xa30/0xa30 [ 33.803735] ? __lockdep_init_map+0x105/0x590 [ 33.808249] ? kasan_check_write+0x14/0x20 [ 33.812521] ? __init_rwsem+0x1cc/0x2a0 [ 33.816511] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 33.821539] ? __kmalloc_track_caller+0x311/0x760 [ 33.826382] ? save_stack+0xa9/0xd0 [ 33.830011] ? save_stack+0x43/0xd0 [ 33.833656] ? kasan_kmalloc+0xc4/0xe0 [ 33.837555] ? memcpy+0x45/0x50 [ 33.840863] v9fs_session_init+0x21a/0x1a80 [ 33.845192] ? rcu_note_context_switch+0x730/0x730 [ 33.850142] ? cache_grow_end.part.37+0x95/0x170 [ 33.854913] ? lock_downgrade+0x8f0/0x8f0 [ 33.859080] ? v9fs_show_options+0x7e0/0x7e0 [ 33.863494] ? kasan_check_read+0x11/0x20 [ 33.867641] ? do_raw_spin_unlock+0xa7/0x2f0 [ 33.872057] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 33.876645] ? kasan_check_write+0x14/0x20 [ 33.880874] ? do_raw_spin_lock+0xc1/0x200 [ 33.885109] ? kasan_unpoison_shadow+0x35/0x50 [ 33.889705] ? kasan_kmalloc+0xc4/0xe0 [ 33.893614] ? kmem_cache_alloc_trace+0x318/0x780 [ 33.898456] ? kasan_unpoison_shadow+0x35/0x50 [ 33.903045] ? kasan_kmalloc+0xc4/0xe0 [ 33.907048] v9fs_mount+0x7c/0x900 [ 33.910611] ? v9fs_drop_inode+0x150/0x150 [ 33.914841] legacy_get_tree+0x131/0x460 [ 33.919033] vfs_get_tree+0x1cb/0x5c0 [ 33.922848] do_mount+0x6f2/0x1e20 [ 33.926385] ? check_same_owner+0x340/0x340 [ 33.930719] ? lock_release+0xa30/0xa30 [ 33.934725] ? copy_mount_string+0x40/0x40 [ 33.938977] ? kasan_kmalloc+0xc4/0xe0 [ 33.942873] ? kmem_cache_alloc_trace+0x318/0x780 [ 33.947740] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 33.953400] ? _copy_from_user+0xdf/0x150 [ 33.957588] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.963138] ? copy_mount_options+0x285/0x380 [ 33.967651] ksys_mount+0x12d/0x140 [ 33.971306] __x64_sys_mount+0xbe/0x150 [ 33.975281] do_syscall_64+0x1b9/0x820 [ 33.979179] ? syscall_return_slowpath+0x5e0/0x5e0 [ 33.984108] ? syscall_return_slowpath+0x31d/0x5e0 [ 33.989076] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 33.994105] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.999648] ? prepare_exit_to_usermode+0x291/0x3b0 [ 34.004682] ? perf_trace_sys_enter+0xb10/0xb10 [ 34.009368] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.014262] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.019551] RIP: 0033:0x4463b9 [ 34.022742] Code: e8 fc bb 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 6b 0e fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 34.041934] RSP: 002b:00007f3ccd72bce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 34.049734] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 00000000004463b9 [ 34.057013] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 34.064474] RBP: 00000000006dbc20 R08: 00000000200001c0 R09: 0000000000000000 [ 34.071879] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 34.079160] R13: 00007ffeeaef820f R14: 00007f3ccd72c9c0 R15: 0000000000000001 [ 34.087719] Dumping ftrace buffer: [ 34.091268] (ftrace buffer empty) [ 34.094986] Kernel Offset: disabled [ 34.098611] Rebooting in 86400 seconds..