[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 14.436414] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.767804] random: sshd: uninitialized urandom read (32 bytes read) [ 22.091347] random: sshd: uninitialized urandom read (32 bytes read) [ 22.797363] random: sshd: uninitialized urandom read (32 bytes read) [ 37.060008] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.25' (ECDSA) to the list of known hosts. [ 42.482674] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 42.561964] 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 [ 44.767037] ================================================================== [ 44.774445] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 44.780575] Read of size 12330 at addr ffff8801cb9b352d by task syz-executor921/4590 [ 44.788425] [ 44.790032] CPU: 1 PID: 4590 Comm: syz-executor921 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 44.798579] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.807904] Call Trace: [ 44.810471] dump_stack+0x1c9/0x2b4 [ 44.814076] ? dump_stack_print_info.cold.2+0x52/0x52 [ 44.819269] ? printk+0xa7/0xcf [ 44.822527] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 44.827261] ? pdu_read+0x90/0xd0 [ 44.830690] print_address_description+0x6c/0x20b [ 44.835519] ? pdu_read+0x90/0xd0 [ 44.838955] kasan_report.cold.7+0x242/0x30d [ 44.843340] check_memory_region+0x13e/0x1b0 [ 44.847723] memcpy+0x23/0x50 [ 44.850807] pdu_read+0x90/0xd0 [ 44.854063] p9pdu_readf+0x579/0x2170 [ 44.857840] ? p9pdu_writef+0xe0/0xe0 [ 44.861619] ? ksys_dup3+0x690/0x690 [ 44.865322] ? check_same_owner+0x340/0x340 [ 44.869618] ? p9_fd_poll+0x2b0/0x2b0 [ 44.873398] ? finish_wait+0x430/0x430 [ 44.877267] ? p9_fd_show_options+0x1c0/0x1c0 [ 44.881744] p9_client_create+0x6d0/0x1537 [ 44.885956] ? p9_client_read+0xbb0/0xbb0 [ 44.890088] ? lock_acquire+0x1e4/0x540 [ 44.894040] ? fs_reclaim_acquire+0x20/0x20 [ 44.898336] ? lock_release+0xa30/0xa30 [ 44.902288] ? __lockdep_init_map+0x105/0x590 [ 44.906763] ? kasan_check_write+0x14/0x20 [ 44.910975] ? __init_rwsem+0x1cc/0x2a0 [ 44.914927] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 44.919939] ? __kmalloc_track_caller+0x311/0x760 [ 44.924754] ? save_stack+0xa9/0xd0 [ 44.928358] ? save_stack+0x43/0xd0 [ 44.931960] ? kasan_kmalloc+0xc4/0xe0 [ 44.935823] ? memcpy+0x45/0x50 [ 44.939080] v9fs_session_init+0x21a/0x1a80 [ 44.943377] ? rcu_note_context_switch+0x730/0x730 [ 44.948287] ? legacy_parse_monolithic+0xde/0x1e0 [ 44.953112] ? v9fs_show_options+0x7e0/0x7e0 [ 44.957501] ? lock_release+0xa30/0xa30 [ 44.961456] ? check_same_owner+0x340/0x340 [ 44.965759] ? lock_downgrade+0x8f0/0x8f0 [ 44.969886] ? kasan_unpoison_shadow+0x35/0x50 [ 44.974443] ? kasan_kmalloc+0xc4/0xe0 [ 44.978308] ? kmem_cache_alloc_trace+0x318/0x780 [ 44.983125] ? kasan_unpoison_shadow+0x35/0x50 [ 44.987690] ? kasan_kmalloc+0xc4/0xe0 [ 44.991556] v9fs_mount+0x7c/0x900 [ 44.995078] ? v9fs_drop_inode+0x150/0x150 [ 44.999293] legacy_get_tree+0x131/0x460 [ 45.003335] vfs_get_tree+0x1cb/0x5c0 [ 45.007115] do_mount+0x6f2/0x1e20 [ 45.010633] ? check_same_owner+0x340/0x340 [ 45.014950] ? lock_release+0xa30/0xa30 [ 45.018901] ? copy_mount_string+0x40/0x40 [ 45.023116] ? kasan_kmalloc+0xc4/0xe0 [ 45.026984] ? kmem_cache_alloc_trace+0x318/0x780 [ 45.031804] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 45.037320] ? _copy_from_user+0xdf/0x150 [ 45.041456] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.046981] ? copy_mount_options+0x285/0x380 [ 45.051456] ksys_mount+0x12d/0x140 [ 45.055058] __x64_sys_mount+0xbe/0x150 [ 45.059011] do_syscall_64+0x1b9/0x820 [ 45.062874] ? syscall_return_slowpath+0x5e0/0x5e0 [ 45.067781] ? syscall_return_slowpath+0x31d/0x5e0 [ 45.072686] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 45.077685] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.083200] ? prepare_exit_to_usermode+0x291/0x3b0 [ 45.088194] ? perf_trace_sys_enter+0xb10/0xb10 [ 45.092840] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.097663] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.102825] RIP: 0033:0x445ef9 [ 45.105988] Code: e8 0c 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 [ 45.125102] RSP: 002b:00007ff6b2249da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 45.132787] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445ef9 [ 45.140042] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 45.147288] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 45.154541] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dbc20 [ 45.161797] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 45.169044] [ 45.170659] Allocated by task 4590: [ 45.174265] save_stack+0x43/0xd0 [ 45.177693] kasan_kmalloc+0xc4/0xe0 [ 45.181388] __kmalloc+0x14e/0x760 [ 45.184905] p9_fcall_alloc+0x1e/0x90 [ 45.188683] p9_client_prepare_req.part.8+0x132/0xa00 [ 45.193854] p9_client_rpc+0x242/0x1330 [ 45.197806] p9_client_create+0xca4/0x1537 [ 45.202015] v9fs_session_init+0x21a/0x1a80 [ 45.206314] v9fs_mount+0x7c/0x900 [ 45.209832] legacy_get_tree+0x131/0x460 [ 45.213884] vfs_get_tree+0x1cb/0x5c0 [ 45.217660] do_mount+0x6f2/0x1e20 [ 45.221176] ksys_mount+0x12d/0x140 [ 45.224780] __x64_sys_mount+0xbe/0x150 [ 45.228741] do_syscall_64+0x1b9/0x820 [ 45.232691] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.237854] [ 45.239459] Freed by task 0: [ 45.242447] (stack is not available) [ 45.246132] [ 45.247736] The buggy address belongs to the object at ffff8801cb9b3500 [ 45.247736] which belongs to the cache kmalloc-16384 of size 16384 [ 45.260721] The buggy address is located 45 bytes inside of [ 45.260721] 16384-byte region [ffff8801cb9b3500, ffff8801cb9b7500) [ 45.272656] The buggy address belongs to the page: [ 45.277560] page:ffffea00072e6c00 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 45.287501] flags: 0x2fffc0000010200(slab|head) [ 45.292149] raw: 02fffc0000010200 ffffea0006a2d608 ffffea00072cca08 ffff8801da802200 [ 45.300008] raw: 0000000000000000 ffff8801cb9b3500 0000000100000001 0000000000000000 [ 45.307862] page dumped because: kasan: bad access detected [ 45.313543] [ 45.315145] Memory state around the buggy address: [ 45.320048] ffff8801cb9b5400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.327384] ffff8801cb9b5480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.334718] >ffff8801cb9b5500: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 45.342064] ^ [ 45.346456] ffff8801cb9b5580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.353791] ffff8801cb9b5600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.361120] ================================================================== [ 45.368509] Kernel panic - not syncing: panic_on_warn set ... [ 45.368509] [ 45.375876] CPU: 1 PID: 4590 Comm: syz-executor921 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 45.385819] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.395148] Call Trace: [ 45.397717] dump_stack+0x1c9/0x2b4 [ 45.401324] ? dump_stack_print_info.cold.2+0x52/0x52 [ 45.406491] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 45.411226] panic+0x238/0x4e7 [ 45.414395] ? add_taint.cold.5+0x16/0x16 [ 45.418520] ? do_raw_spin_unlock+0xa7/0x2f0 [ 45.422911] ? pdu_read+0x90/0xd0 [ 45.426340] kasan_end_report+0x47/0x4f [ 45.430292] kasan_report.cold.7+0x76/0x30d [ 45.434593] check_memory_region+0x13e/0x1b0 [ 45.438991] memcpy+0x23/0x50 [ 45.442074] pdu_read+0x90/0xd0 [ 45.445330] p9pdu_readf+0x579/0x2170 [ 45.451197] ? p9pdu_writef+0xe0/0xe0 [ 45.454975] ? ksys_dup3+0x690/0x690 [ 45.458665] ? check_same_owner+0x340/0x340 [ 45.462962] ? p9_fd_poll+0x2b0/0x2b0 [ 45.466741] ? finish_wait+0x430/0x430 [ 45.470612] ? p9_fd_show_options+0x1c0/0x1c0 [ 45.475086] p9_client_create+0x6d0/0x1537 [ 45.479300] ? p9_client_read+0xbb0/0xbb0 [ 45.483425] ? lock_acquire+0x1e4/0x540 [ 45.487376] ? fs_reclaim_acquire+0x20/0x20 [ 45.491677] ? lock_release+0xa30/0xa30 [ 45.495626] ? __lockdep_init_map+0x105/0x590 [ 45.500103] ? kasan_check_write+0x14/0x20 [ 45.504314] ? __init_rwsem+0x1cc/0x2a0 [ 45.508264] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 45.513255] ? __kmalloc_track_caller+0x311/0x760 [ 45.518074] ? save_stack+0xa9/0xd0 [ 45.521802] ? save_stack+0x43/0xd0 [ 45.525404] ? kasan_kmalloc+0xc4/0xe0 [ 45.529265] ? memcpy+0x45/0x50 [ 45.532523] v9fs_session_init+0x21a/0x1a80 [ 45.536836] ? rcu_note_context_switch+0x730/0x730 [ 45.541753] ? legacy_parse_monolithic+0xde/0x1e0 [ 45.546577] ? v9fs_show_options+0x7e0/0x7e0 [ 45.550974] ? lock_release+0xa30/0xa30 [ 45.554932] ? check_same_owner+0x340/0x340 [ 45.559228] ? lock_downgrade+0x8f0/0x8f0 [ 45.563353] ? kasan_unpoison_shadow+0x35/0x50 [ 45.567917] ? kasan_kmalloc+0xc4/0xe0 [ 45.571781] ? kmem_cache_alloc_trace+0x318/0x780 [ 45.576600] ? kasan_unpoison_shadow+0x35/0x50 [ 45.581158] ? kasan_kmalloc+0xc4/0xe0 [ 45.585024] v9fs_mount+0x7c/0x900 [ 45.588543] ? v9fs_drop_inode+0x150/0x150 [ 45.592764] legacy_get_tree+0x131/0x460 [ 45.596805] vfs_get_tree+0x1cb/0x5c0 [ 45.600582] do_mount+0x6f2/0x1e20 [ 45.604098] ? check_same_owner+0x340/0x340 [ 45.608396] ? lock_release+0xa30/0xa30 [ 45.612347] ? copy_mount_string+0x40/0x40 [ 45.616556] ? kasan_kmalloc+0xc4/0xe0 [ 45.620422] ? kmem_cache_alloc_trace+0x318/0x780 [ 45.625252] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 45.630777] ? _copy_from_user+0xdf/0x150 [ 45.634911] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.640425] ? copy_mount_options+0x285/0x380 [ 45.644901] ksys_mount+0x12d/0x140 [ 45.648504] __x64_sys_mount+0xbe/0x150 [ 45.652456] do_syscall_64+0x1b9/0x820 [ 45.656320] ? syscall_return_slowpath+0x5e0/0x5e0 [ 45.661236] ? syscall_return_slowpath+0x31d/0x5e0 [ 45.666143] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 45.671136] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.676649] ? prepare_exit_to_usermode+0x291/0x3b0 [ 45.681642] ? perf_trace_sys_enter+0xb10/0xb10 [ 45.686291] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.691115] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.696279] RIP: 0033:0x445ef9 [ 45.699441] Code: e8 0c 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 [ 45.718551] RSP: 002b:00007ff6b2249da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 45.726235] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445ef9 [ 45.733479] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 45.740724] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 45.747970] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dbc20 [ 45.755214] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 45.762839] Dumping ftrace buffer: [ 45.766352] (ftrace buffer empty) [ 45.770038] Kernel Offset: disabled [ 45.773641] Rebooting in 86400 seconds..