[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 14.999622] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 17.075351] random: sshd: uninitialized urandom read (32 bytes read) [ 17.215554] random: sshd: uninitialized urandom read (32 bytes read) [ 17.946122] random: sshd: uninitialized urandom read (32 bytes read) [ 18.082787] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.49' (ECDSA) to the list of known hosts. [ 23.526878] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 23.608922] 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 [ 25.265457] ================================================================== [ 25.272872] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 25.279001] Read of size 30123 at addr ffff8801cab92aed by task syz-executor877/4539 [ 25.286872] [ 25.288495] CPU: 0 PID: 4539 Comm: syz-executor877 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 25.297066] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.306402] Call Trace: [ 25.308990] dump_stack+0x1c9/0x2b4 [ 25.312605] ? dump_stack_print_info.cold.2+0x52/0x52 [ 25.317791] ? printk+0xa7/0xcf [ 25.321064] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 25.325819] ? pdu_read+0x90/0xd0 [ 25.329284] print_address_description+0x6c/0x20b [ 25.334110] ? pdu_read+0x90/0xd0 [ 25.337548] kasan_report.cold.7+0x242/0x30d [ 25.341963] check_memory_region+0x13e/0x1b0 [ 25.346362] memcpy+0x23/0x50 [ 25.349451] pdu_read+0x90/0xd0 [ 25.352714] p9pdu_readf+0x579/0x2170 [ 25.356501] ? p9pdu_writef+0xe0/0xe0 [ 25.360307] ? ksys_dup3+0x690/0x690 [ 25.364014] ? check_same_owner+0x340/0x340 [ 25.368331] ? p9_fd_poll+0x2b0/0x2b0 [ 25.372127] ? finish_wait+0x430/0x430 [ 25.376012] ? p9_fd_show_options+0x1c0/0x1c0 [ 25.380514] p9_client_create+0x6d0/0x1537 [ 25.384742] ? p9_client_read+0xbb0/0xbb0 [ 25.388881] ? lock_acquire+0x1e4/0x540 [ 25.392838] ? fs_reclaim_acquire+0x20/0x20 [ 25.397148] ? lock_release+0xa30/0xa30 [ 25.401102] ? __lockdep_init_map+0x105/0x590 [ 25.405582] ? kasan_check_write+0x14/0x20 [ 25.409809] ? __init_rwsem+0x1cc/0x2a0 [ 25.413763] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 25.418763] ? __kmalloc_track_caller+0x311/0x760 [ 25.423588] ? save_stack+0xa9/0xd0 [ 25.427204] ? save_stack+0x43/0xd0 [ 25.430818] ? kasan_kmalloc+0xc4/0xe0 [ 25.434869] ? memcpy+0x45/0x50 [ 25.438229] v9fs_session_init+0x21a/0x1a80 [ 25.442536] ? rcu_note_context_switch+0x730/0x730 [ 25.447459] ? legacy_parse_monolithic+0xde/0x1e0 [ 25.452291] ? v9fs_show_options+0x7e0/0x7e0 [ 25.456690] ? lock_release+0xa30/0xa30 [ 25.460653] ? check_same_owner+0x340/0x340 [ 25.464973] ? lock_downgrade+0x8f0/0x8f0 [ 25.469119] ? kasan_unpoison_shadow+0x35/0x50 [ 25.473689] ? kasan_kmalloc+0xc4/0xe0 [ 25.477561] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.482400] ? kasan_unpoison_shadow+0x35/0x50 [ 25.486966] ? kasan_kmalloc+0xc4/0xe0 [ 25.490858] v9fs_mount+0x7c/0x900 [ 25.494393] ? v9fs_drop_inode+0x150/0x150 [ 25.498616] legacy_get_tree+0x131/0x460 [ 25.502671] vfs_get_tree+0x1cb/0x5c0 [ 25.506466] do_mount+0x6f2/0x1e20 [ 25.509988] ? check_same_owner+0x340/0x340 [ 25.514296] ? lock_release+0xa30/0xa30 [ 25.518256] ? copy_mount_string+0x40/0x40 [ 25.522472] ? kasan_kmalloc+0xc4/0xe0 [ 25.526352] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.531190] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 25.536718] ? _copy_from_user+0xdf/0x150 [ 25.540852] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.546384] ? copy_mount_options+0x285/0x380 [ 25.550868] ksys_mount+0x12d/0x140 [ 25.554577] __x64_sys_mount+0xbe/0x150 [ 25.558552] do_syscall_64+0x1b9/0x820 [ 25.562425] ? syscall_return_slowpath+0x5e0/0x5e0 [ 25.567348] ? syscall_return_slowpath+0x31d/0x5e0 [ 25.572264] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 25.577274] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.582801] ? prepare_exit_to_usermode+0x291/0x3b0 [ 25.587800] ? perf_trace_sys_enter+0xb10/0xb10 [ 25.592457] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.597287] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.602456] RIP: 0033:0x445e69 [ 25.605622] 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 [ 25.624756] RSP: 002b:00007f6022f07da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 25.632459] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445e69 [ 25.639732] RDX: 0000000020000040 RSI: 00000000200002c0 RDI: 0000000000000000 [ 25.647072] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 25.654331] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dbc20 [ 25.661584] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 25.668851] [ 25.670461] Allocated by task 4539: [ 25.674076] save_stack+0x43/0xd0 [ 25.677522] kasan_kmalloc+0xc4/0xe0 [ 25.681217] __kmalloc+0x14e/0x760 [ 25.684753] p9_fcall_alloc+0x1e/0x90 [ 25.688554] p9_client_prepare_req.part.8+0x132/0xa00 [ 25.693723] p9_client_rpc+0x242/0x1330 [ 25.697693] p9_client_create+0xca4/0x1537 [ 25.701908] v9fs_session_init+0x21a/0x1a80 [ 25.706211] v9fs_mount+0x7c/0x900 [ 25.709730] legacy_get_tree+0x131/0x460 [ 25.713787] vfs_get_tree+0x1cb/0x5c0 [ 25.717575] do_mount+0x6f2/0x1e20 [ 25.721101] ksys_mount+0x12d/0x140 [ 25.724707] __x64_sys_mount+0xbe/0x150 [ 25.728671] do_syscall_64+0x1b9/0x820 [ 25.732543] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.737714] [ 25.739318] Freed by task 0: [ 25.742308] (stack is not available) [ 25.746003] [ 25.747631] The buggy address belongs to the object at ffff8801cab92ac0 [ 25.747631] which belongs to the cache kmalloc-16384 of size 16384 [ 25.760802] The buggy address is located 45 bytes inside of [ 25.760802] 16384-byte region [ffff8801cab92ac0, ffff8801cab96ac0) [ 25.772751] The buggy address belongs to the page: [ 25.777755] page:ffffea00072ae400 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 25.787707] flags: 0x2fffc0000010200(slab|head) [ 25.792363] raw: 02fffc0000010200 ffffea0006aeec08 ffff8801da801c48 ffff8801da802200 [ 25.800235] raw: 0000000000000000 ffff8801cab92ac0 0000000100000001 0000000000000000 [ 25.808097] page dumped because: kasan: bad access detected [ 25.813783] [ 25.815396] Memory state around the buggy address: [ 25.820306] ffff8801cab94980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.827645] ffff8801cab94a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.834985] >ffff8801cab94a80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.842333] ^ [ 25.848821] ffff8801cab94b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.856161] ffff8801cab94b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.863498] ================================================================== [ 25.870955] Kernel panic - not syncing: panic_on_warn set ... [ 25.870955] [ 25.878327] CPU: 0 PID: 4539 Comm: syz-executor877 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 25.888275] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.897700] Call Trace: [ 25.900277] dump_stack+0x1c9/0x2b4 [ 25.903888] ? dump_stack_print_info.cold.2+0x52/0x52 [ 25.909063] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.913803] panic+0x238/0x4e7 [ 25.916977] ? add_taint.cold.5+0x16/0x16 [ 25.921110] ? do_raw_spin_unlock+0xa7/0x2f0 [ 25.925509] ? pdu_read+0x90/0xd0 [ 25.928954] kasan_end_report+0x47/0x4f [ 25.932912] kasan_report.cold.7+0x76/0x30d [ 25.937220] check_memory_region+0x13e/0x1b0 [ 25.941620] memcpy+0x23/0x50 [ 25.944708] pdu_read+0x90/0xd0 [ 25.947975] p9pdu_readf+0x579/0x2170 [ 25.951757] ? p9pdu_writef+0xe0/0xe0 [ 25.955545] ? ksys_dup3+0x690/0x690 [ 25.959244] ? check_same_owner+0x340/0x340 [ 25.963553] ? p9_fd_poll+0x2b0/0x2b0 [ 25.967360] ? finish_wait+0x430/0x430 [ 25.971236] ? p9_fd_show_options+0x1c0/0x1c0 [ 25.975744] p9_client_create+0x6d0/0x1537 [ 25.979964] ? p9_client_read+0xbb0/0xbb0 [ 25.984111] ? lock_acquire+0x1e4/0x540 [ 25.988076] ? fs_reclaim_acquire+0x20/0x20 [ 25.992385] ? lock_release+0xa30/0xa30 [ 25.996342] ? __lockdep_init_map+0x105/0x590 [ 26.000824] ? kasan_check_write+0x14/0x20 [ 26.005049] ? __init_rwsem+0x1cc/0x2a0 [ 26.009021] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 26.014208] ? __kmalloc_track_caller+0x311/0x760 [ 26.019034] ? save_stack+0xa9/0xd0 [ 26.022641] ? save_stack+0x43/0xd0 [ 26.026254] ? kasan_kmalloc+0xc4/0xe0 [ 26.030123] ? memcpy+0x45/0x50 [ 26.033400] v9fs_session_init+0x21a/0x1a80 [ 26.037701] ? rcu_note_context_switch+0x730/0x730 [ 26.042612] ? legacy_parse_monolithic+0xde/0x1e0 [ 26.047448] ? v9fs_show_options+0x7e0/0x7e0 [ 26.051842] ? lock_release+0xa30/0xa30 [ 26.055798] ? check_same_owner+0x340/0x340 [ 26.060101] ? lock_downgrade+0x8f0/0x8f0 [ 26.064236] ? kasan_unpoison_shadow+0x35/0x50 [ 26.068795] ? kasan_kmalloc+0xc4/0xe0 [ 26.072671] ? kmem_cache_alloc_trace+0x318/0x780 [ 26.077507] ? kasan_unpoison_shadow+0x35/0x50 [ 26.082069] ? kasan_kmalloc+0xc4/0xe0 [ 26.085941] v9fs_mount+0x7c/0x900 [ 26.089463] ? v9fs_drop_inode+0x150/0x150 [ 26.093694] legacy_get_tree+0x131/0x460 [ 26.097758] vfs_get_tree+0x1cb/0x5c0 [ 26.101549] do_mount+0x6f2/0x1e20 [ 26.105076] ? check_same_owner+0x340/0x340 [ 26.109378] ? lock_release+0xa30/0xa30 [ 26.113336] ? copy_mount_string+0x40/0x40 [ 26.117571] ? kasan_kmalloc+0xc4/0xe0 [ 26.121445] ? kmem_cache_alloc_trace+0x318/0x780 [ 26.126272] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 26.131794] ? _copy_from_user+0xdf/0x150 [ 26.135929] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 26.141458] ? copy_mount_options+0x285/0x380 [ 26.145937] ksys_mount+0x12d/0x140 [ 26.149566] __x64_sys_mount+0xbe/0x150 [ 26.153522] do_syscall_64+0x1b9/0x820 [ 26.157392] ? syscall_return_slowpath+0x5e0/0x5e0 [ 26.162313] ? syscall_return_slowpath+0x31d/0x5e0 [ 26.167225] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 26.172236] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 26.177768] ? prepare_exit_to_usermode+0x291/0x3b0 [ 26.182771] ? perf_trace_sys_enter+0xb10/0xb10 [ 26.187445] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.192307] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 26.197479] RIP: 0033:0x445e69 [ 26.200667] 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 [ 26.219796] RSP: 002b:00007f6022f07da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 26.227502] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445e69 [ 26.234765] RDX: 0000000020000040 RSI: 00000000200002c0 RDI: 0000000000000000 [ 26.242031] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 26.249289] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dbc20 [ 26.256543] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 26.264266] Dumping ftrace buffer: [ 26.267793] (ftrace buffer empty) [ 26.271480] Kernel Offset: disabled [ 26.275083] Rebooting in 86400 seconds..