[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 17.771040] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.708532] random: sshd: uninitialized urandom read (32 bytes read) [ 24.045832] random: sshd: uninitialized urandom read (32 bytes read) [ 24.779233] random: sshd: uninitialized urandom read (32 bytes read) [ 24.915380] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.43' (ECDSA) to the list of known hosts. [ 30.375755] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 30.458954] 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 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 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 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 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 [ 36.179759] ================================================================== [ 36.187163] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 36.193298] Read of size 56026 at addr ffff8801b09693ad by task syz-executor574/4851 [ 36.201152] [ 36.202761] CPU: 1 PID: 4851 Comm: syz-executor574 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 36.211310] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.220638] Call Trace: [ 36.223216] dump_stack+0x1c9/0x2b4 [ 36.226829] ? dump_stack_print_info.cold.2+0x52/0x52 [ 36.231997] ? printk+0xa7/0xcf [ 36.235263] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 36.239998] ? pdu_read+0x90/0xd0 [ 36.243439] print_address_description+0x6c/0x20b [ 36.248267] ? pdu_read+0x90/0xd0 [ 36.251696] kasan_report.cold.7+0x242/0x30d [ 36.256097] check_memory_region+0x13e/0x1b0 [ 36.260487] memcpy+0x23/0x50 [ 36.263573] pdu_read+0x90/0xd0 [ 36.266833] p9pdu_readf+0x579/0x2170 [ 36.270613] ? p9pdu_writef+0xe0/0xe0 [ 36.274392] ? ksys_dup3+0x690/0x690 [ 36.278085] ? check_same_owner+0x340/0x340 [ 36.282385] ? p9_fd_poll+0x2b0/0x2b0 [ 36.286165] ? finish_wait+0x430/0x430 [ 36.290043] ? p9_fd_show_options+0x1c0/0x1c0 [ 36.294519] p9_client_create+0x6d0/0x1537 [ 36.298735] ? p9_client_read+0xbb0/0xbb0 [ 36.302862] ? lock_acquire+0x1e4/0x540 [ 36.306814] ? fs_reclaim_acquire+0x20/0x20 [ 36.311116] ? lock_release+0xa30/0xa30 [ 36.315069] ? __lockdep_init_map+0x105/0x590 [ 36.319546] ? kasan_check_write+0x14/0x20 [ 36.323759] ? __init_rwsem+0x1cc/0x2a0 [ 36.327714] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 36.332710] ? __kmalloc_track_caller+0x311/0x760 [ 36.337526] ? save_stack+0xa9/0xd0 [ 36.341131] ? save_stack+0x43/0xd0 [ 36.344734] ? kasan_kmalloc+0xc4/0xe0 [ 36.348603] ? memcpy+0x45/0x50 [ 36.351865] v9fs_session_init+0x21a/0x1a80 [ 36.356169] ? rcu_note_context_switch+0x730/0x730 [ 36.361077] ? legacy_parse_monolithic+0xde/0x1e0 [ 36.365900] ? v9fs_show_options+0x7e0/0x7e0 [ 36.370287] ? lock_release+0xa30/0xa30 [ 36.374239] ? check_same_owner+0x340/0x340 [ 36.378537] ? lock_downgrade+0x8f0/0x8f0 [ 36.382665] ? kasan_unpoison_shadow+0x35/0x50 [ 36.387224] ? kasan_kmalloc+0xc4/0xe0 [ 36.391089] ? kmem_cache_alloc_trace+0x318/0x780 [ 36.395906] ? kasan_unpoison_shadow+0x35/0x50 [ 36.400464] ? kasan_kmalloc+0xc4/0xe0 [ 36.404334] v9fs_mount+0x7c/0x900 [ 36.407870] ? v9fs_drop_inode+0x150/0x150 [ 36.412093] legacy_get_tree+0x131/0x460 [ 36.416138] vfs_get_tree+0x1cb/0x5c0 [ 36.419920] do_mount+0x6f2/0x1e20 [ 36.423439] ? check_same_owner+0x340/0x340 [ 36.427740] ? lock_release+0xa30/0xa30 [ 36.431696] ? copy_mount_string+0x40/0x40 [ 36.435910] ? kasan_kmalloc+0xc4/0xe0 [ 36.439778] ? kmem_cache_alloc_trace+0x318/0x780 [ 36.444602] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 36.450117] ? _copy_from_user+0xdf/0x150 [ 36.454246] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.459763] ? copy_mount_options+0x285/0x380 [ 36.464246] ksys_mount+0x12d/0x140 [ 36.467853] __x64_sys_mount+0xbe/0x150 [ 36.471808] do_syscall_64+0x1b9/0x820 [ 36.475673] ? syscall_return_slowpath+0x5e0/0x5e0 [ 36.480578] ? syscall_return_slowpath+0x31d/0x5e0 [ 36.485486] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 36.490491] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.496006] ? prepare_exit_to_usermode+0x291/0x3b0 [ 36.501013] ? perf_trace_sys_enter+0xb10/0xb10 [ 36.505667] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.510499] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.515665] RIP: 0033:0x4462e9 [ 36.518830] 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 [ 36.537964] RSP: 002b:00007f4500033ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 36.545652] RAX: ffffffffffffffda RBX: 00000000006dbc44 RCX: 00000000004462e9 [ 36.552902] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 36.560149] RBP: 00000000006dbc40 R08: 00000000200001c0 R09: 0000000000000000 [ 36.567396] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 36.574645] R13: 00007ffe409cba4f R14: 00007f45000349c0 R15: 0000000000000001 [ 36.581892] [ 36.583496] Allocated by task 4851: [ 36.587104] save_stack+0x43/0xd0 [ 36.590532] kasan_kmalloc+0xc4/0xe0 [ 36.594236] __kmalloc+0x14e/0x760 [ 36.597752] p9_fcall_alloc+0x1e/0x90 [ 36.601530] p9_client_prepare_req.part.8+0x132/0xa00 [ 36.606694] p9_client_rpc+0x242/0x1330 [ 36.610645] p9_client_create+0xca4/0x1537 [ 36.614854] v9fs_session_init+0x21a/0x1a80 [ 36.619163] v9fs_mount+0x7c/0x900 [ 36.622691] legacy_get_tree+0x131/0x460 [ 36.626740] vfs_get_tree+0x1cb/0x5c0 [ 36.630519] do_mount+0x6f2/0x1e20 [ 36.634039] ksys_mount+0x12d/0x140 [ 36.637642] __x64_sys_mount+0xbe/0x150 [ 36.641598] do_syscall_64+0x1b9/0x820 [ 36.645473] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.650633] [ 36.652233] Freed by task 0: [ 36.655221] (stack is not available) [ 36.658912] [ 36.660517] The buggy address belongs to the object at ffff8801b0969380 [ 36.660517] which belongs to the cache kmalloc-16384 of size 16384 [ 36.673509] The buggy address is located 45 bytes inside of [ 36.673509] 16384-byte region [ffff8801b0969380, ffff8801b096d380) [ 36.685444] The buggy address belongs to the page: [ 36.690353] page:ffffea0006c25a00 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 36.700296] flags: 0x2fffc0000010200(slab|head) [ 36.704946] raw: 02fffc0000010200 ffffea0006afba08 ffff8801da801c48 ffff8801da802200 [ 36.712815] raw: 0000000000000000 ffff8801b0969380 0000000100000001 0000000000000000 [ 36.720668] page dumped because: kasan: bad access detected [ 36.726348] [ 36.727947] Memory state around the buggy address: [ 36.732862] ffff8801b096b280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 36.740197] ffff8801b096b300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 36.747531] >ffff8801b096b380: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 36.754862] ^ [ 36.759247] ffff8801b096b400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.766582] ffff8801b096b480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.773924] ================================================================== [ 36.781343] Kernel panic - not syncing: panic_on_warn set ... [ 36.781343] [ 36.788720] CPU: 1 PID: 4851 Comm: syz-executor574 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 36.798666] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.808001] Call Trace: [ 36.810572] dump_stack+0x1c9/0x2b4 [ 36.814182] ? dump_stack_print_info.cold.2+0x52/0x52 [ 36.819354] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 36.824094] panic+0x238/0x4e7 [ 36.827269] ? add_taint.cold.5+0x16/0x16 [ 36.831403] ? do_raw_spin_unlock+0xa7/0x2f0 [ 36.835795] ? pdu_read+0x90/0xd0 [ 36.839227] kasan_end_report+0x47/0x4f [ 36.843179] kasan_report.cold.7+0x76/0x30d [ 36.847484] check_memory_region+0x13e/0x1b0 [ 36.851878] memcpy+0x23/0x50 [ 36.854963] pdu_read+0x90/0xd0 [ 36.858230] p9pdu_readf+0x579/0x2170 [ 36.862019] ? p9pdu_writef+0xe0/0xe0 [ 36.865797] ? ksys_dup3+0x690/0x690 [ 36.869489] ? check_same_owner+0x340/0x340 [ 36.873798] ? p9_fd_poll+0x2b0/0x2b0 [ 36.877577] ? finish_wait+0x430/0x430 [ 36.881449] ? p9_fd_show_options+0x1c0/0x1c0 [ 36.885929] p9_client_create+0x6d0/0x1537 [ 36.890149] ? p9_client_read+0xbb0/0xbb0 [ 36.894276] ? lock_acquire+0x1e4/0x540 [ 36.898231] ? fs_reclaim_acquire+0x20/0x20 [ 36.902534] ? lock_release+0xa30/0xa30 [ 36.906485] ? __lockdep_init_map+0x105/0x590 [ 36.910961] ? kasan_check_write+0x14/0x20 [ 36.915182] ? __init_rwsem+0x1cc/0x2a0 [ 36.919134] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 36.924131] ? __kmalloc_track_caller+0x311/0x760 [ 36.928951] ? save_stack+0xa9/0xd0 [ 36.932554] ? save_stack+0x43/0xd0 [ 36.936156] ? kasan_kmalloc+0xc4/0xe0 [ 36.940020] ? memcpy+0x45/0x50 [ 36.943287] v9fs_session_init+0x21a/0x1a80 [ 36.947590] ? rcu_note_context_switch+0x730/0x730 [ 36.952504] ? legacy_parse_monolithic+0xde/0x1e0 [ 36.957369] ? v9fs_show_options+0x7e0/0x7e0 [ 36.961758] ? lock_release+0xa30/0xa30 [ 36.965711] ? check_same_owner+0x340/0x340 [ 36.970013] ? lock_downgrade+0x8f0/0x8f0 [ 36.974148] ? kasan_unpoison_shadow+0x35/0x50 [ 36.978707] ? kasan_kmalloc+0xc4/0xe0 [ 36.982585] ? kmem_cache_alloc_trace+0x318/0x780 [ 36.987404] ? kasan_unpoison_shadow+0x35/0x50 [ 36.991960] ? kasan_kmalloc+0xc4/0xe0 [ 36.995827] v9fs_mount+0x7c/0x900 [ 36.999344] ? v9fs_drop_inode+0x150/0x150 [ 37.003559] legacy_get_tree+0x131/0x460 [ 37.007614] vfs_get_tree+0x1cb/0x5c0 [ 37.011404] do_mount+0x6f2/0x1e20 [ 37.014924] ? check_same_owner+0x340/0x340 [ 37.019224] ? lock_release+0xa30/0xa30 [ 37.023178] ? copy_mount_string+0x40/0x40 [ 37.027389] ? kasan_kmalloc+0xc4/0xe0 [ 37.031257] ? kmem_cache_alloc_trace+0x318/0x780 [ 37.036080] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 37.041596] ? _copy_from_user+0xdf/0x150 [ 37.045733] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.051253] ? copy_mount_options+0x285/0x380 [ 37.055727] ksys_mount+0x12d/0x140 [ 37.059340] __x64_sys_mount+0xbe/0x150 [ 37.063299] do_syscall_64+0x1b9/0x820 [ 37.067164] ? syscall_return_slowpath+0x5e0/0x5e0 [ 37.072070] ? syscall_return_slowpath+0x31d/0x5e0 [ 37.076975] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 37.081973] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.087489] ? prepare_exit_to_usermode+0x291/0x3b0 [ 37.092486] ? perf_trace_sys_enter+0xb10/0xb10 [ 37.097134] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.101962] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.107127] RIP: 0033:0x4462e9 [ 37.110292] 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 [ 37.129409] RSP: 002b:00007f4500033ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 37.137100] RAX: ffffffffffffffda RBX: 00000000006dbc44 RCX: 00000000004462e9 [ 37.144348] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 37.151594] RBP: 00000000006dbc40 R08: 00000000200001c0 R09: 0000000000000000 [ 37.158840] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 37.166104] R13: 00007ffe409cba4f R14: 00007f45000349c0 R15: 0000000000000001 [ 37.173831] Dumping ftrace buffer: [ 37.177348] (ftrace buffer empty) [ 37.181044] Kernel Offset: disabled [ 37.184651] Rebooting in 86400 seconds..