[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.868256] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 17.121321] random: sshd: uninitialized urandom read (32 bytes read) [ 17.328364] random: sshd: uninitialized urandom read (32 bytes read) [ 18.088484] random: sshd: uninitialized urandom read (32 bytes read) [ 35.553480] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.37' (ECDSA) to the list of known hosts. [ 40.985700] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 41.070768] 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 [ 42.919572] ================================================================== [ 42.926987] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 42.933112] Read of size 55954 at addr ffff8801b02433ad by task syz-executor802/4567 [ 42.940974] [ 42.942597] CPU: 0 PID: 4567 Comm: syz-executor802 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 42.951149] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.960481] Call Trace: [ 42.963055] dump_stack+0x1c9/0x2b4 [ 42.966663] ? dump_stack_print_info.cold.2+0x52/0x52 [ 42.971830] ? printk+0xa7/0xcf [ 42.975089] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 42.979826] ? pdu_read+0x90/0xd0 [ 42.983260] print_address_description+0x6c/0x20b [ 42.988086] ? pdu_read+0x90/0xd0 [ 42.991517] kasan_report.cold.7+0x242/0x30d [ 42.995922] check_memory_region+0x13e/0x1b0 [ 43.000311] memcpy+0x23/0x50 [ 43.003396] pdu_read+0x90/0xd0 [ 43.006661] p9pdu_readf+0x579/0x2170 [ 43.010455] ? p9pdu_writef+0xe0/0xe0 [ 43.014246] ? ksys_dup3+0x690/0x690 [ 43.017946] ? check_same_owner+0x340/0x340 [ 43.022247] ? p9_fd_poll+0x2b0/0x2b0 [ 43.026027] ? finish_wait+0x430/0x430 [ 43.029900] ? p9_fd_show_options+0x1c0/0x1c0 [ 43.034375] p9_client_create+0x6d0/0x1537 [ 43.038642] ? p9_client_read+0xbb0/0xbb0 [ 43.042787] ? lock_acquire+0x1e4/0x540 [ 43.046750] ? fs_reclaim_acquire+0x20/0x20 [ 43.051063] ? lock_release+0xa30/0xa30 [ 43.055015] ? __lockdep_init_map+0x105/0x590 [ 43.059494] ? kasan_check_write+0x14/0x20 [ 43.063713] ? __init_rwsem+0x1cc/0x2a0 [ 43.067764] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 43.072778] ? __kmalloc_track_caller+0x311/0x760 [ 43.077698] ? save_stack+0xa9/0xd0 [ 43.081315] ? save_stack+0x43/0xd0 [ 43.084927] ? kasan_kmalloc+0xc4/0xe0 [ 43.088799] ? memcpy+0x45/0x50 [ 43.092170] v9fs_session_init+0x21a/0x1a80 [ 43.096484] ? rcu_note_context_switch+0x730/0x730 [ 43.101482] ? legacy_parse_monolithic+0xde/0x1e0 [ 43.106315] ? v9fs_show_options+0x7e0/0x7e0 [ 43.110713] ? lock_release+0xa30/0xa30 [ 43.114677] ? lock_downgrade+0x8f0/0x8f0 [ 43.118813] ? check_same_owner+0x340/0x340 [ 43.123112] ? kasan_unpoison_shadow+0x35/0x50 [ 43.127673] ? kasan_kmalloc+0xc4/0xe0 [ 43.131540] ? kmem_cache_alloc_trace+0x318/0x780 [ 43.136359] ? kasan_unpoison_shadow+0x35/0x50 [ 43.140930] ? kasan_kmalloc+0xc4/0xe0 [ 43.144814] v9fs_mount+0x7c/0x900 [ 43.148346] ? v9fs_drop_inode+0x150/0x150 [ 43.152564] legacy_get_tree+0x131/0x460 [ 43.156721] vfs_get_tree+0x1cb/0x5c0 [ 43.160517] do_mount+0x6f2/0x1e20 [ 43.164039] ? do_raw_spin_unlock+0xa7/0x2f0 [ 43.168430] ? copy_mount_string+0x40/0x40 [ 43.172659] ? kasan_kmalloc+0xc4/0xe0 [ 43.176530] ? kmem_cache_alloc_trace+0x318/0x780 [ 43.181361] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.186882] ? copy_mount_options+0x285/0x380 [ 43.191359] ksys_mount+0x12d/0x140 [ 43.194970] __x64_sys_mount+0xbe/0x150 [ 43.198926] do_syscall_64+0x1b9/0x820 [ 43.202797] ? finish_task_switch+0x1d3/0x870 [ 43.207273] ? syscall_return_slowpath+0x5e0/0x5e0 [ 43.212183] ? syscall_return_slowpath+0x31d/0x5e0 [ 43.217106] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 43.222101] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.227654] ? prepare_exit_to_usermode+0x291/0x3b0 [ 43.232654] ? perf_trace_sys_enter+0xb10/0xb10 [ 43.237302] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.242148] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.247318] RIP: 0033:0x445eb9 [ 43.250500] 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 [ 43.269622] RSP: 002b:00007fc9ee8a7da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 43.277312] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445eb9 [ 43.284564] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 43.291832] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 43.299091] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dbc20 [ 43.306343] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 43.313595] [ 43.315202] Allocated by task 4567: [ 43.318812] save_stack+0x43/0xd0 [ 43.322241] kasan_kmalloc+0xc4/0xe0 [ 43.325934] __kmalloc+0x14e/0x760 [ 43.329467] p9_fcall_alloc+0x1e/0x90 [ 43.333258] p9_client_prepare_req.part.8+0x132/0xa00 [ 43.338432] p9_client_rpc+0x242/0x1330 [ 43.342397] p9_client_create+0xca4/0x1537 [ 43.346703] v9fs_session_init+0x21a/0x1a80 [ 43.351004] v9fs_mount+0x7c/0x900 [ 43.354523] legacy_get_tree+0x131/0x460 [ 43.358571] vfs_get_tree+0x1cb/0x5c0 [ 43.362365] do_mount+0x6f2/0x1e20 [ 43.365884] ksys_mount+0x12d/0x140 [ 43.369490] __x64_sys_mount+0xbe/0x150 [ 43.373444] do_syscall_64+0x1b9/0x820 [ 43.377399] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.382563] [ 43.384175] Freed by task 0: [ 43.387167] (stack is not available) [ 43.390865] [ 43.392470] The buggy address belongs to the object at ffff8801b0243380 [ 43.392470] which belongs to the cache kmalloc-16384 of size 16384 [ 43.405453] The buggy address is located 45 bytes inside of [ 43.405453] 16384-byte region [ffff8801b0243380, ffff8801b0247380) [ 43.417406] The buggy address belongs to the page: [ 43.422329] page:ffffea0006c09000 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 43.432364] flags: 0x2fffc0000010200(slab|head) [ 43.437028] raw: 02fffc0000010200 ffffea0006c03808 ffff8801da801c48 ffff8801da802200 [ 43.444900] raw: 0000000000000000 ffff8801b0243380 0000000100000001 0000000000000000 [ 43.452773] page dumped because: kasan: bad access detected [ 43.458719] [ 43.460321] Memory state around the buggy address: [ 43.465242] ffff8801b0245280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.472615] ffff8801b0245300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.479964] >ffff8801b0245380: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 43.487306] ^ [ 43.491703] ffff8801b0245400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 43.499058] ffff8801b0245480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 43.506397] ================================================================== [ 43.513999] Kernel panic - not syncing: panic_on_warn set ... [ 43.513999] [ 43.521362] CPU: 0 PID: 4567 Comm: syz-executor802 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 43.531838] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.541186] Call Trace: [ 43.543761] dump_stack+0x1c9/0x2b4 [ 43.547369] ? dump_stack_print_info.cold.2+0x52/0x52 [ 43.552543] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 43.557313] panic+0x238/0x4e7 [ 43.560500] ? add_taint.cold.5+0x16/0x16 [ 43.564634] ? do_raw_spin_unlock+0xa7/0x2f0 [ 43.569022] ? pdu_read+0x90/0xd0 [ 43.572452] kasan_end_report+0x47/0x4f [ 43.576407] kasan_report.cold.7+0x76/0x30d [ 43.580727] check_memory_region+0x13e/0x1b0 [ 43.585116] memcpy+0x23/0x50 [ 43.588212] pdu_read+0x90/0xd0 [ 43.591471] p9pdu_readf+0x579/0x2170 [ 43.595254] ? p9pdu_writef+0xe0/0xe0 [ 43.599035] ? ksys_dup3+0x690/0x690 [ 43.602740] ? check_same_owner+0x340/0x340 [ 43.607064] ? p9_fd_poll+0x2b0/0x2b0 [ 43.610857] ? finish_wait+0x430/0x430 [ 43.614732] ? p9_fd_show_options+0x1c0/0x1c0 [ 43.619213] p9_client_create+0x6d0/0x1537 [ 43.623433] ? p9_client_read+0xbb0/0xbb0 [ 43.627702] ? lock_acquire+0x1e4/0x540 [ 43.631676] ? fs_reclaim_acquire+0x20/0x20 [ 43.636007] ? lock_release+0xa30/0xa30 [ 43.639962] ? __lockdep_init_map+0x105/0x590 [ 43.650102] ? kasan_check_write+0x14/0x20 [ 43.654333] ? __init_rwsem+0x1cc/0x2a0 [ 43.658290] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 43.663552] ? __kmalloc_track_caller+0x311/0x760 [ 43.668377] ? save_stack+0xa9/0xd0 [ 43.672025] ? save_stack+0x43/0xd0 [ 43.675629] ? kasan_kmalloc+0xc4/0xe0 [ 43.679494] ? memcpy+0x45/0x50 [ 43.682772] v9fs_session_init+0x21a/0x1a80 [ 43.687084] ? rcu_note_context_switch+0x730/0x730 [ 43.691990] ? legacy_parse_monolithic+0xde/0x1e0 [ 43.696826] ? v9fs_show_options+0x7e0/0x7e0 [ 43.701218] ? lock_release+0xa30/0xa30 [ 43.705180] ? lock_downgrade+0x8f0/0x8f0 [ 43.709313] ? check_same_owner+0x340/0x340 [ 43.713614] ? kasan_unpoison_shadow+0x35/0x50 [ 43.718185] ? kasan_kmalloc+0xc4/0xe0 [ 43.722066] ? kmem_cache_alloc_trace+0x318/0x780 [ 43.726888] ? kasan_unpoison_shadow+0x35/0x50 [ 43.731455] ? kasan_kmalloc+0xc4/0xe0 [ 43.735338] v9fs_mount+0x7c/0x900 [ 43.738862] ? v9fs_drop_inode+0x150/0x150 [ 43.743077] legacy_get_tree+0x131/0x460 [ 43.747136] vfs_get_tree+0x1cb/0x5c0 [ 43.750922] do_mount+0x6f2/0x1e20 [ 43.754441] ? do_raw_spin_unlock+0xa7/0x2f0 [ 43.758846] ? copy_mount_string+0x40/0x40 [ 43.763063] ? kasan_kmalloc+0xc4/0xe0 [ 43.766951] ? kmem_cache_alloc_trace+0x318/0x780 [ 43.771788] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.777322] ? copy_mount_options+0x285/0x380 [ 43.781799] ksys_mount+0x12d/0x140 [ 43.785410] __x64_sys_mount+0xbe/0x150 [ 43.789365] do_syscall_64+0x1b9/0x820 [ 43.793232] ? finish_task_switch+0x1d3/0x870 [ 43.797707] ? syscall_return_slowpath+0x5e0/0x5e0 [ 43.802614] ? syscall_return_slowpath+0x31d/0x5e0 [ 43.807986] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 43.813266] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.819332] ? prepare_exit_to_usermode+0x291/0x3b0 [ 43.825318] ? perf_trace_sys_enter+0xb10/0xb10 [ 43.830078] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.835013] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.840323] RIP: 0033:0x445eb9 [ 43.843500] 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 [ 43.862802] RSP: 002b:00007fc9ee8a7da8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 43.871278] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000445eb9 [ 43.878629] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 43.885877] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 43.893395] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dbc20 [ 43.900991] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 43.908764] Dumping ftrace buffer: [ 43.912400] (ftrace buffer empty) [ 43.916116] Kernel Offset: disabled [ 43.919737] Rebooting in 86400 seconds..