[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 14.700139] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 15.365277] random: sshd: uninitialized urandom read (32 bytes read) [ 15.671139] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 16.455262] random: sshd: uninitialized urandom read (32 bytes read) [ 39.620262] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.47' (ECDSA) to the list of known hosts. [ 45.051432] 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 [ 45.135279] ================================================================== [ 45.142671] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 45.148810] Read of size 27608 at addr ffff8801c35f8bad by task syz-executor451/4373 [ 45.156832] [ 45.158448] CPU: 0 PID: 4373 Comm: syz-executor451 Not tainted 4.18.0-rc5-next-20180719+ #11 [ 45.167002] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.176344] Call Trace: [ 45.178921] dump_stack+0x1c9/0x2b4 [ 45.182528] ? dump_stack_print_info.cold.2+0x52/0x52 [ 45.187698] ? printk+0xa7/0xcf [ 45.190957] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 45.195695] ? pdu_read+0x90/0xd0 [ 45.199126] print_address_description+0x6c/0x20b [ 45.203953] ? pdu_read+0x90/0xd0 [ 45.207382] kasan_report.cold.7+0x242/0x30d [ 45.211774] check_memory_region+0x13e/0x1b0 [ 45.216161] memcpy+0x23/0x50 [ 45.219244] pdu_read+0x90/0xd0 [ 45.222516] p9pdu_readf+0x579/0x2170 [ 45.226297] ? p9pdu_writef+0xe0/0xe0 [ 45.230076] ? ksys_dup3+0x690/0x690 [ 45.233778] ? check_same_owner+0x340/0x340 [ 45.238078] ? p9_fd_poll+0x2b0/0x2b0 [ 45.241865] ? kasan_kmalloc+0xc4/0xe0 [ 45.245734] ? p9_fd_show_options+0x1c0/0x1c0 [ 45.250206] p9_client_create+0x6d0/0x1537 [ 45.254421] ? p9_client_read+0xbb0/0xbb0 [ 45.258551] ? lock_acquire+0x1e4/0x540 [ 45.262508] ? fs_reclaim_acquire+0x20/0x20 [ 45.266809] ? lock_release+0xa30/0xa30 [ 45.270760] ? __lockdep_init_map+0x105/0x590 [ 45.275234] ? kasan_check_write+0x14/0x20 [ 45.279446] ? __init_rwsem+0x1cc/0x2a0 [ 45.283400] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 45.288743] ? __kmalloc_track_caller+0x311/0x760 [ 45.293563] ? save_stack+0xa9/0xd0 [ 45.297164] ? save_stack+0x43/0xd0 [ 45.300767] ? kasan_kmalloc+0xc4/0xe0 [ 45.304628] ? memcpy+0x45/0x50 [ 45.307897] v9fs_session_init+0x21a/0x1a80 [ 45.312197] ? rcu_note_context_switch+0x730/0x730 [ 45.317104] ? legacy_parse_monolithic+0xde/0x1e0 [ 45.321937] ? v9fs_show_options+0x7e0/0x7e0 [ 45.326333] ? lock_release+0xa30/0xa30 [ 45.330285] ? check_same_owner+0x340/0x340 [ 45.334586] ? lock_downgrade+0x8f0/0x8f0 [ 45.338711] ? kasan_unpoison_shadow+0x35/0x50 [ 45.343269] ? kasan_kmalloc+0xc4/0xe0 [ 45.347135] ? kmem_cache_alloc_trace+0x318/0x780 [ 45.351952] ? kasan_unpoison_shadow+0x35/0x50 [ 45.356603] ? kasan_kmalloc+0xc4/0xe0 [ 45.360470] v9fs_mount+0x7c/0x900 [ 45.363991] ? v9fs_drop_inode+0x150/0x150 [ 45.368217] legacy_get_tree+0x131/0x460 [ 45.372271] vfs_get_tree+0x1cb/0x5c0 [ 45.376056] do_mount+0x6f2/0x1e20 [ 45.379575] ? check_same_owner+0x340/0x340 [ 45.383873] ? lock_release+0xa30/0xa30 [ 45.387825] ? copy_mount_string+0x40/0x40 [ 45.392037] ? kasan_kmalloc+0xc4/0xe0 [ 45.395910] ? kmem_cache_alloc_trace+0x318/0x780 [ 45.400729] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 45.406243] ? _copy_from_user+0xdf/0x150 [ 45.410369] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.415882] ? copy_mount_options+0x285/0x380 [ 45.420355] ksys_mount+0x12d/0x140 [ 45.423973] __x64_sys_mount+0xbe/0x150 [ 45.427936] do_syscall_64+0x1b9/0x820 [ 45.431801] ? syscall_slow_exit_work+0x500/0x500 [ 45.436640] ? syscall_return_slowpath+0x5e0/0x5e0 [ 45.441546] ? syscall_return_slowpath+0x31d/0x5e0 [ 45.446454] ? prepare_exit_to_usermode+0x291/0x3b0 [ 45.451446] ? perf_trace_sys_enter+0xb10/0xb10 [ 45.456093] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.460917] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.466083] RIP: 0033:0x440159 [ 45.469246] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 45.488362] RSP: 002b:00007ffc75e47688 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 45.496049] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000440159 [ 45.503294] RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000000000000 [ 45.510544] RBP: 0030656c69662f2e R08: 0000000020000380 R09: 00000000004002c8 [ 45.517789] R10: 0000000000000000 R11: 0000000000000206 R12: 64663d736e617274 [ 45.525034] R13: 0000000000401a70 R14: 0000000000000000 R15: 0000000000000000 [ 45.532289] [ 45.533897] Allocated by task 4373: [ 45.537502] save_stack+0x43/0xd0 [ 45.540936] kasan_kmalloc+0xc4/0xe0 [ 45.544628] __kmalloc+0x14e/0x760 [ 45.548147] p9_fcall_alloc+0x1e/0x90 [ 45.551923] p9_client_prepare_req.part.8+0x132/0xa00 [ 45.557105] p9_client_rpc+0x242/0x1330 [ 45.561057] p9_client_create+0xca4/0x1537 [ 45.565269] v9fs_session_init+0x21a/0x1a80 [ 45.569574] v9fs_mount+0x7c/0x900 [ 45.573091] legacy_get_tree+0x131/0x460 [ 45.577139] vfs_get_tree+0x1cb/0x5c0 [ 45.580916] do_mount+0x6f2/0x1e20 [ 45.584431] ksys_mount+0x12d/0x140 [ 45.588039] __x64_sys_mount+0xbe/0x150 [ 45.591994] do_syscall_64+0x1b9/0x820 [ 45.595860] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.601021] [ 45.602623] Freed by task 0: [ 45.605614] (stack is not available) [ 45.609298] [ 45.610902] The buggy address belongs to the object at ffff8801c35f8b80 [ 45.610902] which belongs to the cache kmalloc-16384 of size 16384 [ 45.623883] The buggy address is located 45 bytes inside of [ 45.623883] 16384-byte region [ffff8801c35f8b80, ffff8801c35fcb80) [ 45.635828] The buggy address belongs to the page: [ 45.640736] page:ffffea00070d7e00 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 45.650689] flags: 0x2fffc0000010200(slab|head) [ 45.655339] raw: 02fffc0000010200 ffffea0007085208 ffff8801da801c48 ffff8801da802200 [ 45.663199] raw: 0000000000000000 ffff8801c35f8b80 0000000100000001 0000000000000000 [ 45.671051] page dumped because: kasan: bad access detected [ 45.676732] [ 45.678331] Memory state around the buggy address: [ 45.683256] ffff8801c35faa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.690592] ffff8801c35fab00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.697929] >ffff8801c35fab80: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 45.705260] ^ [ 45.709651] ffff8801c35fac00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.716990] ffff8801c35fac80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.724321] ================================================================== [ 45.731783] Kernel panic - not syncing: panic_on_warn set ... [ 45.731783] [ 45.739134] CPU: 0 PID: 4373 Comm: syz-executor451 Tainted: G B 4.18.0-rc5-next-20180719+ #11 [ 45.749074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.758406] Call Trace: [ 45.760980] dump_stack+0x1c9/0x2b4 [ 45.764598] ? dump_stack_print_info.cold.2+0x52/0x52 [ 45.770207] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 45.774946] panic+0x238/0x4e7 [ 45.778126] ? add_taint.cold.5+0x16/0x16 [ 45.782256] ? do_raw_spin_unlock+0xa7/0x2f0 [ 45.786650] ? pdu_read+0x90/0xd0 [ 45.790081] kasan_end_report+0x47/0x4f [ 45.794031] kasan_report.cold.7+0x76/0x30d [ 45.798469] check_memory_region+0x13e/0x1b0 [ 45.802858] memcpy+0x23/0x50 [ 45.805939] pdu_read+0x90/0xd0 [ 45.809197] p9pdu_readf+0x579/0x2170 [ 45.812974] ? p9pdu_writef+0xe0/0xe0 [ 45.816788] ? ksys_dup3+0x690/0x690 [ 45.820483] ? check_same_owner+0x340/0x340 [ 45.824782] ? p9_fd_poll+0x2b0/0x2b0 [ 45.828561] ? kasan_kmalloc+0xc4/0xe0 [ 45.832440] ? p9_fd_show_options+0x1c0/0x1c0 [ 45.836916] p9_client_create+0x6d0/0x1537 [ 45.841130] ? p9_client_read+0xbb0/0xbb0 [ 45.845276] ? lock_acquire+0x1e4/0x540 [ 45.849233] ? fs_reclaim_acquire+0x20/0x20 [ 45.853543] ? lock_release+0xa30/0xa30 [ 45.857494] ? __lockdep_init_map+0x105/0x590 [ 45.861967] ? kasan_check_write+0x14/0x20 [ 45.866178] ? __init_rwsem+0x1cc/0x2a0 [ 45.870139] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 45.875140] ? __kmalloc_track_caller+0x311/0x760 [ 45.879960] ? save_stack+0xa9/0xd0 [ 45.883562] ? save_stack+0x43/0xd0 [ 45.887175] ? kasan_kmalloc+0xc4/0xe0 [ 45.891042] ? memcpy+0x45/0x50 [ 45.894301] v9fs_session_init+0x21a/0x1a80 [ 45.898601] ? rcu_note_context_switch+0x730/0x730 [ 45.903517] ? legacy_parse_monolithic+0xde/0x1e0 [ 45.908355] ? v9fs_show_options+0x7e0/0x7e0 [ 45.912746] ? lock_release+0xa30/0xa30 [ 45.916718] ? check_same_owner+0x340/0x340 [ 45.921018] ? lock_downgrade+0x8f0/0x8f0 [ 45.925151] ? kasan_unpoison_shadow+0x35/0x50 [ 45.929728] ? kasan_kmalloc+0xc4/0xe0 [ 45.933596] ? kmem_cache_alloc_trace+0x318/0x780 [ 45.938422] ? kasan_unpoison_shadow+0x35/0x50 [ 45.942981] ? kasan_kmalloc+0xc4/0xe0 [ 45.946936] v9fs_mount+0x7c/0x900 [ 45.950454] ? v9fs_drop_inode+0x150/0x150 [ 45.954666] legacy_get_tree+0x131/0x460 [ 45.958708] vfs_get_tree+0x1cb/0x5c0 [ 45.962494] do_mount+0x6f2/0x1e20 [ 45.966014] ? check_same_owner+0x340/0x340 [ 45.970313] ? lock_release+0xa30/0xa30 [ 45.974262] ? copy_mount_string+0x40/0x40 [ 45.978473] ? kasan_kmalloc+0xc4/0xe0 [ 45.982348] ? kmem_cache_alloc_trace+0x318/0x780 [ 45.987179] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 45.992699] ? _copy_from_user+0xdf/0x150 [ 45.996833] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.002345] ? copy_mount_options+0x285/0x380 [ 46.006818] ksys_mount+0x12d/0x140 [ 46.010425] __x64_sys_mount+0xbe/0x150 [ 46.014382] do_syscall_64+0x1b9/0x820 [ 46.018254] ? syscall_slow_exit_work+0x500/0x500 [ 46.023089] ? syscall_return_slowpath+0x5e0/0x5e0 [ 46.028031] ? syscall_return_slowpath+0x31d/0x5e0 [ 46.033026] ? prepare_exit_to_usermode+0x291/0x3b0 [ 46.038023] ? perf_trace_sys_enter+0xb10/0xb10 [ 46.042692] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.047523] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.052697] RIP: 0033:0x440159 [ 46.055862] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 46.074984] RSP: 002b:00007ffc75e47688 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 [ 46.082673] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000440159 [ 46.089928] RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000000000000 [ 46.097173] RBP: 0030656c69662f2e R08: 0000000020000380 R09: 00000000004002c8 [ 46.104418] R10: 0000000000000000 R11: 0000000000000206 R12: 64663d736e617274 [ 46.111670] R13: 0000000000401a70 R14: 0000000000000000 R15: 0000000000000000 [ 46.119316] Dumping ftrace buffer: [ 46.122832] (ftrace buffer empty) [ 46.126525] Kernel Offset: disabled [ 46.130133] Rebooting in 86400 seconds..