[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.849938] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 17.883863] random: sshd: uninitialized urandom read (32 bytes read) [ 18.218735] random: sshd: uninitialized urandom read (32 bytes read) [ 18.968879] random: sshd: uninitialized urandom read (32 bytes read) [ 19.103397] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.15.200' (ECDSA) to the list of known hosts. [ 24.506480] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.600401] ================================================================== [ 26.607834] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 26.613959] Read of size 53791 at addr ffff8801b755a1ed by task syz-executor789/4577 [ 26.621818] [ 26.623430] CPU: 1 PID: 4577 Comm: syz-executor789 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 26.631987] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.641314] Call Trace: [ 26.643882] dump_stack+0x1c9/0x2b4 [ 26.647538] ? dump_stack_print_info.cold.2+0x52/0x52 [ 26.652706] ? printk+0xa7/0xcf [ 26.655977] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 26.660714] ? pdu_read+0x90/0xd0 [ 26.664147] print_address_description+0x6c/0x20b [ 26.668967] ? pdu_read+0x90/0xd0 [ 26.672398] kasan_report.cold.7+0x242/0x30d [ 26.677220] check_memory_region+0x13e/0x1b0 [ 26.681612] memcpy+0x23/0x50 [ 26.685224] pdu_read+0x90/0xd0 [ 26.688504] p9pdu_readf+0x579/0x2170 [ 26.692287] ? p9pdu_writef+0xe0/0xe0 [ 26.696071] ? ksys_dup3+0x690/0x690 [ 26.699763] ? check_same_owner+0x340/0x340 [ 26.704063] ? p9_fd_poll+0x2b0/0x2b0 [ 26.707841] ? finish_wait+0x430/0x430 [ 26.711705] ? kasan_unpoison_shadow+0x35/0x50 [ 26.716267] ? p9_fd_show_options+0x1c0/0x1c0 [ 26.720740] p9_client_create+0x6d0/0x1537 [ 26.724954] ? p9_client_read+0xbb0/0xbb0 [ 26.729088] ? lock_acquire+0x1e4/0x540 [ 26.733057] ? fs_reclaim_acquire+0x20/0x20 [ 26.737358] ? lock_release+0xa30/0xa30 [ 26.741310] ? __lockdep_init_map+0x105/0x590 [ 26.745785] ? kasan_check_write+0x14/0x20 [ 26.749999] ? __init_rwsem+0x1cc/0x2a0 [ 26.753955] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 26.758954] ? __kmalloc_track_caller+0x311/0x760 [ 26.763774] ? save_stack+0xa9/0xd0 [ 26.767474] ? save_stack+0x43/0xd0 [ 26.771081] ? kasan_kmalloc+0xc4/0xe0 [ 26.774952] ? memcpy+0x45/0x50 [ 26.778210] v9fs_session_init+0x21a/0x1a80 [ 26.782522] ? rcu_note_context_switch+0x730/0x730 [ 26.787429] ? legacy_parse_monolithic+0xde/0x1e0 [ 26.792253] ? v9fs_show_options+0x7e0/0x7e0 [ 26.796641] ? lock_release+0xa30/0xa30 [ 26.800600] ? check_same_owner+0x340/0x340 [ 26.804898] ? lock_downgrade+0x8f0/0x8f0 [ 26.809022] ? kasan_unpoison_shadow+0x35/0x50 [ 26.813580] ? kasan_kmalloc+0xc4/0xe0 [ 26.817447] ? kmem_cache_alloc_trace+0x318/0x780 [ 26.822265] ? kasan_unpoison_shadow+0x35/0x50 [ 26.826824] ? kasan_kmalloc+0xc4/0xe0 [ 26.830702] v9fs_mount+0x7c/0x900 [ 26.834224] ? v9fs_drop_inode+0x150/0x150 [ 26.838438] legacy_get_tree+0x131/0x460 [ 26.842486] vfs_get_tree+0x1cb/0x5c0 [ 26.846266] do_mount+0x6f2/0x1e20 [ 26.849791] ? check_same_owner+0x340/0x340 [ 26.854097] ? lock_release+0xa30/0xa30 [ 26.858050] ? copy_mount_string+0x40/0x40 [ 26.862265] ? kasan_kmalloc+0xc4/0xe0 [ 26.866148] ? kmem_cache_alloc_trace+0x318/0x780 [ 26.871156] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 26.876693] ? _copy_from_user+0xdf/0x150 [ 26.880832] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 26.886351] ? copy_mount_options+0x285/0x380 [ 26.890829] ksys_mount+0x12d/0x140 [ 26.894445] __x64_sys_mount+0xbe/0x150 [ 26.898407] do_syscall_64+0x1b9/0x820 [ 26.902270] ? finish_task_switch+0x1d3/0x870 [ 26.906750] ? syscall_return_slowpath+0x5e0/0x5e0 [ 26.911657] ? syscall_return_slowpath+0x31d/0x5e0 [ 26.916563] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 26.921560] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 26.927083] ? prepare_exit_to_usermode+0x291/0x3b0 [ 26.932084] ? perf_trace_sys_enter+0xb10/0xb10 [ 26.936825] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.941664] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 26.946848] RIP: 0033:0x446869 [ 26.950014] Code: e8 dc 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 ab 0e fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 26.969146] RSP: 002b:00007fba69bc8ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 26.976927] RAX: ffffffffffffffda RBX: 00000000006dcc44 RCX: 0000000000446869 [ 26.984176] RDX: 0000000020000180 RSI: 00000000200005c0 RDI: 0000000000000000 [ 26.991555] RBP: 00000000006dcc40 R08: 0000000020000240 R09: 0000000000000000 [ 26.998900] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 27.006149] R13: 00007ffee9dddadf R14: 00007fba69bc99c0 R15: 0000000000000001 [ 27.013401] [ 27.015094] Allocated by task 4577: [ 27.018707] save_stack+0x43/0xd0 [ 27.022164] kasan_kmalloc+0xc4/0xe0 [ 27.025872] __kmalloc+0x14e/0x760 [ 27.029392] p9_fcall_alloc+0x1e/0x90 [ 27.033187] p9_client_prepare_req.part.8+0x132/0xa00 [ 27.038367] p9_client_rpc+0x242/0x1330 [ 27.042337] p9_client_create+0xca4/0x1537 [ 27.046555] v9fs_session_init+0x21a/0x1a80 [ 27.050864] v9fs_mount+0x7c/0x900 [ 27.054386] legacy_get_tree+0x131/0x460 [ 27.058428] vfs_get_tree+0x1cb/0x5c0 [ 27.062215] do_mount+0x6f2/0x1e20 [ 27.065748] ksys_mount+0x12d/0x140 [ 27.069360] __x64_sys_mount+0xbe/0x150 [ 27.073314] do_syscall_64+0x1b9/0x820 [ 27.077193] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.082362] [ 27.083966] Freed by task 0: [ 27.086963] (stack is not available) [ 27.090656] [ 27.092261] The buggy address belongs to the object at ffff8801b755a1c0 [ 27.092261] which belongs to the cache kmalloc-16384 of size 16384 [ 27.105338] The buggy address is located 45 bytes inside of [ 27.105338] 16384-byte region [ffff8801b755a1c0, ffff8801b755e1c0) [ 27.117278] The buggy address belongs to the page: [ 27.122196] page:ffffea0006dd5600 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 27.132146] flags: 0x2fffc0000010200(slab|head) [ 27.136810] raw: 02fffc0000010200 ffffea0006dd7208 ffff8801da801c48 ffff8801da802200 [ 27.144761] raw: 0000000000000000 ffff8801b755a1c0 0000000100000001 0000000000000000 [ 27.152673] page dumped because: kasan: bad access detected [ 27.158366] [ 27.160026] Memory state around the buggy address: [ 27.164930] ffff8801b755c080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.172274] ffff8801b755c100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.179616] >ffff8801b755c180: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.186961] ^ [ 27.193429] ffff8801b755c200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.200781] ffff8801b755c280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.208120] ================================================================== [ 27.215565] Kernel panic - not syncing: panic_on_warn set ... [ 27.215565] [ 27.222998] CPU: 1 PID: 4577 Comm: syz-executor789 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 27.233034] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.242461] Call Trace: [ 27.245169] dump_stack+0x1c9/0x2b4 [ 27.248786] ? dump_stack_print_info.cold.2+0x52/0x52 [ 27.253984] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.258723] panic+0x238/0x4e7 [ 27.261894] ? add_taint.cold.5+0x16/0x16 [ 27.266030] ? do_raw_spin_unlock+0xa7/0x2f0 [ 27.270425] ? pdu_read+0x90/0xd0 [ 27.273962] kasan_end_report+0x47/0x4f [ 27.277912] kasan_report.cold.7+0x76/0x30d [ 27.282215] check_memory_region+0x13e/0x1b0 [ 27.286598] memcpy+0x23/0x50 [ 27.289683] pdu_read+0x90/0xd0 [ 27.292948] p9pdu_readf+0x579/0x2170 [ 27.296728] ? p9pdu_writef+0xe0/0xe0 [ 27.300505] ? ksys_dup3+0x690/0x690 [ 27.304200] ? check_same_owner+0x340/0x340 [ 27.308546] ? p9_fd_poll+0x2b0/0x2b0 [ 27.312324] ? finish_wait+0x430/0x430 [ 27.316195] ? kasan_unpoison_shadow+0x35/0x50 [ 27.320773] ? p9_fd_show_options+0x1c0/0x1c0 [ 27.325246] p9_client_create+0x6d0/0x1537 [ 27.329473] ? p9_client_read+0xbb0/0xbb0 [ 27.333612] ? lock_acquire+0x1e4/0x540 [ 27.337574] ? fs_reclaim_acquire+0x20/0x20 [ 27.341883] ? lock_release+0xa30/0xa30 [ 27.345921] ? __lockdep_init_map+0x105/0x590 [ 27.350570] ? kasan_check_write+0x14/0x20 [ 27.354782] ? __init_rwsem+0x1cc/0x2a0 [ 27.358736] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 27.363743] ? __kmalloc_track_caller+0x311/0x760 [ 27.368562] ? save_stack+0xa9/0xd0 [ 27.372184] ? save_stack+0x43/0xd0 [ 27.375893] ? kasan_kmalloc+0xc4/0xe0 [ 27.379757] ? memcpy+0x45/0x50 [ 27.383026] v9fs_session_init+0x21a/0x1a80 [ 27.387596] ? rcu_note_context_switch+0x730/0x730 [ 27.392527] ? legacy_parse_monolithic+0xde/0x1e0 [ 27.397439] ? v9fs_show_options+0x7e0/0x7e0 [ 27.402006] ? lock_release+0xa30/0xa30 [ 27.405966] ? check_same_owner+0x340/0x340 [ 27.410278] ? lock_downgrade+0x8f0/0x8f0 [ 27.414411] ? kasan_unpoison_shadow+0x35/0x50 [ 27.419056] ? kasan_kmalloc+0xc4/0xe0 [ 27.422923] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.427749] ? kasan_unpoison_shadow+0x35/0x50 [ 27.432307] ? kasan_kmalloc+0xc4/0xe0 [ 27.436176] v9fs_mount+0x7c/0x900 [ 27.439697] ? v9fs_drop_inode+0x150/0x150 [ 27.443908] legacy_get_tree+0x131/0x460 [ 27.447947] vfs_get_tree+0x1cb/0x5c0 [ 27.451725] do_mount+0x6f2/0x1e20 [ 27.455328] ? check_same_owner+0x340/0x340 [ 27.459628] ? lock_release+0xa30/0xa30 [ 27.463577] ? copy_mount_string+0x40/0x40 [ 27.467796] ? kasan_kmalloc+0xc4/0xe0 [ 27.471767] ? kmem_cache_alloc_trace+0x318/0x780 [ 27.476599] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 27.482131] ? _copy_from_user+0xdf/0x150 [ 27.486258] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 27.491784] ? copy_mount_options+0x285/0x380 [ 27.496279] ksys_mount+0x12d/0x140 [ 27.499890] __x64_sys_mount+0xbe/0x150 [ 27.503953] do_syscall_64+0x1b9/0x820 [ 27.507830] ? finish_task_switch+0x1d3/0x870 [ 27.512317] ? syscall_return_slowpath+0x5e0/0x5e0 [ 27.517226] ? syscall_return_slowpath+0x31d/0x5e0 [ 27.522138] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 27.527141] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 27.532755] ? prepare_exit_to_usermode+0x291/0x3b0 [ 27.537758] ? perf_trace_sys_enter+0xb10/0xb10 [ 27.542414] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.547250] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.552417] RIP: 0033:0x446869 [ 27.555578] Code: e8 dc 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 ab 0e fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 27.574692] RSP: 002b:00007fba69bc8ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 27.582380] RAX: ffffffffffffffda RBX: 00000000006dcc44 RCX: 0000000000446869 [ 27.589628] RDX: 0000000020000180 RSI: 00000000200005c0 RDI: 0000000000000000 [ 27.596875] RBP: 00000000006dcc40 R08: 0000000020000240 R09: 0000000000000000 [ 27.604133] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 27.611388] R13: 00007ffee9dddadf R14: 00007fba69bc99c0 R15: 0000000000000001 [ 27.619119] Dumping ftrace buffer: [ 27.622648] (ftrace buffer empty) [ 27.626338] Kernel Offset: disabled [ 27.629952] Rebooting in 86400 seconds..