[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.511099] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 17.034650] random: sshd: uninitialized urandom read (32 bytes read) [ 17.326794] random: sshd: uninitialized urandom read (32 bytes read) [ 18.066137] random: sshd: uninitialized urandom read (32 bytes read) [ 35.318973] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.37' (ECDSA) to the list of known hosts. [ 40.695053] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 40.774149] 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 [ 43.470723] ================================================================== [ 43.478152] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 43.484273] Read of size 57684 at addr ffff8801adb6aaed by task syz-executor164/4598 [ 43.492125] [ 43.493759] CPU: 1 PID: 4598 Comm: syz-executor164 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 43.502306] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.511633] Call Trace: [ 43.514199] dump_stack+0x1c9/0x2b4 [ 43.517805] ? dump_stack_print_info.cold.2+0x52/0x52 [ 43.522971] ? printk+0xa7/0xcf [ 43.526226] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 43.530959] ? pdu_read+0x90/0xd0 [ 43.534397] print_address_description+0x6c/0x20b [ 43.539216] ? pdu_read+0x90/0xd0 [ 43.542644] kasan_report.cold.7+0x242/0x30d [ 43.547030] check_memory_region+0x13e/0x1b0 [ 43.551414] memcpy+0x23/0x50 [ 43.554494] pdu_read+0x90/0xd0 [ 43.557751] p9pdu_readf+0x579/0x2170 [ 43.561534] ? p9pdu_writef+0xe0/0xe0 [ 43.565310] ? ksys_dup3+0x690/0x690 [ 43.569022] ? check_same_owner+0x340/0x340 [ 43.573394] ? p9_fd_poll+0x2b0/0x2b0 [ 43.577173] ? finish_wait+0x430/0x430 [ 43.581049] ? p9_fd_show_options+0x1c0/0x1c0 [ 43.585537] p9_client_create+0x6d0/0x1537 [ 43.589754] ? p9_client_read+0xbb0/0xbb0 [ 43.593901] ? lock_acquire+0x1e4/0x540 [ 43.597861] ? fs_reclaim_acquire+0x20/0x20 [ 43.602170] ? lock_release+0xa30/0xa30 [ 43.606127] ? __lockdep_init_map+0x105/0x590 [ 43.610604] ? kasan_check_write+0x14/0x20 [ 43.614819] ? __init_rwsem+0x1cc/0x2a0 [ 43.618772] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 43.623771] ? __kmalloc_track_caller+0x311/0x760 [ 43.628631] ? save_stack+0xa9/0xd0 [ 43.632250] ? save_stack+0x43/0xd0 [ 43.635866] ? kasan_kmalloc+0xc4/0xe0 [ 43.639729] ? memcpy+0x45/0x50 [ 43.642988] v9fs_session_init+0x21a/0x1a80 [ 43.647294] ? rcu_note_context_switch+0x730/0x730 [ 43.652203] ? legacy_parse_monolithic+0xde/0x1e0 [ 43.657024] ? v9fs_show_options+0x7e0/0x7e0 [ 43.661409] ? lock_release+0xa30/0xa30 [ 43.665358] ? lock_downgrade+0x8f0/0x8f0 [ 43.669484] ? check_same_owner+0x340/0x340 [ 43.673961] ? kasan_unpoison_shadow+0x35/0x50 [ 43.678523] ? kasan_kmalloc+0xc4/0xe0 [ 43.682589] ? kmem_cache_alloc_trace+0x318/0x780 [ 43.687414] ? kasan_unpoison_shadow+0x35/0x50 [ 43.691982] ? kasan_kmalloc+0xc4/0xe0 [ 43.695848] v9fs_mount+0x7c/0x900 [ 43.699378] ? v9fs_drop_inode+0x150/0x150 [ 43.703590] legacy_get_tree+0x131/0x460 [ 43.707636] vfs_get_tree+0x1cb/0x5c0 [ 43.711416] do_mount+0x6f2/0x1e20 [ 43.714937] ? copy_mount_string+0x40/0x40 [ 43.719147] ? kasan_kmalloc+0xc4/0xe0 [ 43.723014] ? kmem_cache_alloc_trace+0x318/0x780 [ 43.727840] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 43.733356] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.738869] ? copy_mount_options+0x285/0x380 [ 43.743342] ksys_mount+0x12d/0x140 [ 43.746960] __x64_sys_mount+0xbe/0x150 [ 43.750917] do_syscall_64+0x1b9/0x820 [ 43.754780] ? finish_task_switch+0x1d3/0x870 [ 43.759270] ? syscall_return_slowpath+0x5e0/0x5e0 [ 43.764179] ? syscall_return_slowpath+0x31d/0x5e0 [ 43.769103] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 43.774099] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.779612] ? prepare_exit_to_usermode+0x291/0x3b0 [ 43.784605] ? perf_trace_sys_enter+0xb10/0xb10 [ 43.789250] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.794075] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.799239] RIP: 0033:0x446ab9 [ 43.802401] Code: e8 ac 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 [ 43.821516] RSP: 002b:00007f0c668f9da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 43.829201] RAX: ffffffffffffffda RBX: 00000000006e29e4 RCX: 0000000000446ab9 [ 43.836456] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 43.843705] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 43.850953] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006e29e0 [ 43.858198] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 43.865445] [ 43.867048] Allocated by task 4598: [ 43.870653] save_stack+0x43/0xd0 [ 43.874079] kasan_kmalloc+0xc4/0xe0 [ 43.877770] __kmalloc+0x14e/0x760 [ 43.881285] p9_fcall_alloc+0x1e/0x90 [ 43.885062] p9_client_prepare_req.part.8+0x132/0xa00 [ 43.890226] p9_client_rpc+0x242/0x1330 [ 43.894175] p9_client_create+0xca4/0x1537 [ 43.898389] v9fs_session_init+0x21a/0x1a80 [ 43.902700] v9fs_mount+0x7c/0x900 [ 43.906234] legacy_get_tree+0x131/0x460 [ 43.910273] vfs_get_tree+0x1cb/0x5c0 [ 43.914050] do_mount+0x6f2/0x1e20 [ 43.917568] ksys_mount+0x12d/0x140 [ 43.921171] __x64_sys_mount+0xbe/0x150 [ 43.925132] do_syscall_64+0x1b9/0x820 [ 43.928998] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.934169] [ 43.935769] Freed by task 0: [ 43.938757] (stack is not available) [ 43.942452] [ 43.944059] The buggy address belongs to the object at ffff8801adb6aac0 [ 43.944059] which belongs to the cache kmalloc-16384 of size 16384 [ 43.957040] The buggy address is located 45 bytes inside of [ 43.957040] 16384-byte region [ffff8801adb6aac0, ffff8801adb6eac0) [ 43.968985] The buggy address belongs to the page: [ 43.973893] page:ffffea0006b6da00 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 43.983845] flags: 0x2fffc0000010200(slab|head) [ 43.988505] raw: 02fffc0000010200 ffffea0006eae608 ffff8801da801c48 ffff8801da802200 [ 43.996370] raw: 0000000000000000 ffff8801adb6aac0 0000000100000001 0000000000000000 [ 44.004228] page dumped because: kasan: bad access detected [ 44.009914] [ 44.011517] Memory state around the buggy address: [ 44.016423] ffff8801adb6c980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.023779] ffff8801adb6ca00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.031117] >ffff8801adb6ca80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 44.038448] ^ [ 44.044915] ffff8801adb6cb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.052249] ffff8801adb6cb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 44.059581] ================================================================== [ 44.067040] Kernel panic - not syncing: panic_on_warn set ... [ 44.067040] [ 44.074391] CPU: 1 PID: 4598 Comm: syz-executor164 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 44.084333] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.093663] Call Trace: [ 44.096246] dump_stack+0x1c9/0x2b4 [ 44.099858] ? dump_stack_print_info.cold.2+0x52/0x52 [ 44.105032] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 44.109769] panic+0x238/0x4e7 [ 44.112939] ? add_taint.cold.5+0x16/0x16 [ 44.117065] ? do_raw_spin_unlock+0xa7/0x2f0 [ 44.121464] ? pdu_read+0x90/0xd0 [ 44.124895] kasan_end_report+0x47/0x4f [ 44.128847] kasan_report.cold.7+0x76/0x30d [ 44.133150] check_memory_region+0x13e/0x1b0 [ 44.137534] memcpy+0x23/0x50 [ 44.140621] pdu_read+0x90/0xd0 [ 44.143891] p9pdu_readf+0x579/0x2170 [ 44.147684] ? p9pdu_writef+0xe0/0xe0 [ 44.151461] ? ksys_dup3+0x690/0x690 [ 44.155155] ? check_same_owner+0x340/0x340 [ 44.159451] ? p9_fd_poll+0x2b0/0x2b0 [ 44.163233] ? finish_wait+0x430/0x430 [ 44.167106] ? p9_fd_show_options+0x1c0/0x1c0 [ 44.171585] p9_client_create+0x6d0/0x1537 [ 44.175814] ? p9_client_read+0xbb0/0xbb0 [ 44.179939] ? lock_acquire+0x1e4/0x540 [ 44.183893] ? fs_reclaim_acquire+0x20/0x20 [ 44.188195] ? lock_release+0xa30/0xa30 [ 44.192162] ? __lockdep_init_map+0x105/0x590 [ 44.196638] ? kasan_check_write+0x14/0x20 [ 44.200849] ? __init_rwsem+0x1cc/0x2a0 [ 44.204813] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 44.209807] ? __kmalloc_track_caller+0x311/0x760 [ 44.214627] ? save_stack+0xa9/0xd0 [ 44.218230] ? save_stack+0x43/0xd0 [ 44.221831] ? kasan_kmalloc+0xc4/0xe0 [ 44.225695] ? memcpy+0x45/0x50 [ 44.228965] v9fs_session_init+0x21a/0x1a80 [ 44.233263] ? rcu_note_context_switch+0x730/0x730 [ 44.238170] ? legacy_parse_monolithic+0xde/0x1e0 [ 44.243002] ? v9fs_show_options+0x7e0/0x7e0 [ 44.247399] ? lock_release+0xa30/0xa30 [ 44.251351] ? lock_downgrade+0x8f0/0x8f0 [ 44.255478] ? check_same_owner+0x340/0x340 [ 44.259778] ? kasan_unpoison_shadow+0x35/0x50 [ 44.264348] ? kasan_kmalloc+0xc4/0xe0 [ 44.268227] ? kmem_cache_alloc_trace+0x318/0x780 [ 44.273046] ? kasan_unpoison_shadow+0x35/0x50 [ 44.277606] ? kasan_kmalloc+0xc4/0xe0 [ 44.281471] v9fs_mount+0x7c/0x900 [ 44.284991] ? v9fs_drop_inode+0x150/0x150 [ 44.289202] legacy_get_tree+0x131/0x460 [ 44.293242] vfs_get_tree+0x1cb/0x5c0 [ 44.297022] do_mount+0x6f2/0x1e20 [ 44.300548] ? copy_mount_string+0x40/0x40 [ 44.304773] ? kasan_kmalloc+0xc4/0xe0 [ 44.308641] ? kmem_cache_alloc_trace+0x318/0x780 [ 44.313465] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 44.318996] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.324510] ? copy_mount_options+0x285/0x380 [ 44.328986] ksys_mount+0x12d/0x140 [ 44.332590] __x64_sys_mount+0xbe/0x150 [ 44.336545] do_syscall_64+0x1b9/0x820 [ 44.340408] ? finish_task_switch+0x1d3/0x870 [ 44.344895] ? syscall_return_slowpath+0x5e0/0x5e0 [ 44.349812] ? syscall_return_slowpath+0x31d/0x5e0 [ 44.354720] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 44.359722] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.365235] ? prepare_exit_to_usermode+0x291/0x3b0 [ 44.370229] ? perf_trace_sys_enter+0xb10/0xb10 [ 44.374875] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 44.379703] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.384868] RIP: 0033:0x446ab9 [ 44.388043] Code: e8 ac 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 [ 44.407162] RSP: 002b:00007f0c668f9da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 44.414858] RAX: ffffffffffffffda RBX: 00000000006e29e4 RCX: 0000000000446ab9 [ 44.422104] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 44.429349] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 44.436595] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006e29e0 [ 44.443841] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 44.451427] Dumping ftrace buffer: [ 44.454940] (ftrace buffer empty) [ 44.458629] Kernel Offset: disabled [ 44.462247] Rebooting in 86400 seconds..