[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 16.442749] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 20.848925] random: sshd: uninitialized urandom read (32 bytes read) [ 21.274329] random: sshd: uninitialized urandom read (32 bytes read) [ 22.018205] random: sshd: uninitialized urandom read (32 bytes read) [ 22.157279] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.42' (ECDSA) to the list of known hosts. [ 27.602794] 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 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 [ 31.849614] ================================================================== [ 31.857059] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 31.863193] Read of size 19388 at addr ffff8801af86aa6d by task syz-executor744/4699 [ 31.871052] [ 31.872680] CPU: 0 PID: 4699 Comm: syz-executor744 Not tainted 4.18.0-rc5-next-20180720+ #12 [ 31.881232] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.890568] Call Trace: [ 31.893147] dump_stack+0x1c9/0x2b4 [ 31.896766] ? dump_stack_print_info.cold.2+0x52/0x52 [ 31.901961] ? printk+0xa7/0xcf [ 31.905238] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 31.909990] ? pdu_read+0x90/0xd0 [ 31.913432] print_address_description+0x6c/0x20b [ 31.918271] ? pdu_read+0x90/0xd0 [ 31.921805] kasan_report.cold.7+0x242/0x30d [ 31.926212] check_memory_region+0x13e/0x1b0 [ 31.930622] memcpy+0x23/0x50 [ 31.933713] pdu_read+0x90/0xd0 [ 31.936985] p9pdu_readf+0x579/0x2170 [ 31.940781] ? p9pdu_writef+0xe0/0xe0 [ 31.944568] ? ksys_dup3+0x690/0x690 [ 31.948265] ? check_same_owner+0x340/0x340 [ 31.952570] ? p9_fd_poll+0x2b0/0x2b0 [ 31.956364] ? finish_wait+0x430/0x430 [ 31.960240] ? p9_fd_show_options+0x1c0/0x1c0 [ 31.964720] p9_client_create+0x6d0/0x1537 [ 31.968942] ? p9_client_read+0xbb0/0xbb0 [ 31.973074] ? lock_acquire+0x1e4/0x540 [ 31.977054] ? fs_reclaim_acquire+0x20/0x20 [ 31.981368] ? lock_release+0xa30/0xa30 [ 31.985321] ? __lockdep_init_map+0x105/0x590 [ 31.989801] ? kasan_check_write+0x14/0x20 [ 31.994034] ? __init_rwsem+0x1cc/0x2a0 [ 31.998010] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 32.003034] ? __kmalloc_track_caller+0x311/0x760 [ 32.007858] ? save_stack+0xa9/0xd0 [ 32.011476] ? save_stack+0x43/0xd0 [ 32.015092] ? kasan_kmalloc+0xc4/0xe0 [ 32.018968] ? memcpy+0x45/0x50 [ 32.022236] v9fs_session_init+0x21a/0x1a80 [ 32.026544] ? rcu_note_context_switch+0x730/0x730 [ 32.031467] ? legacy_parse_monolithic+0xde/0x1e0 [ 32.036295] ? v9fs_show_options+0x7e0/0x7e0 [ 32.040689] ? lock_release+0xa30/0xa30 [ 32.044657] ? check_same_owner+0x340/0x340 [ 32.048960] ? lock_downgrade+0x8f0/0x8f0 [ 32.053092] ? kasan_unpoison_shadow+0x35/0x50 [ 32.057654] ? kasan_kmalloc+0xc4/0xe0 [ 32.061527] ? kmem_cache_alloc_trace+0x318/0x780 [ 32.066351] ? kasan_unpoison_shadow+0x35/0x50 [ 32.070915] ? kasan_kmalloc+0xc4/0xe0 [ 32.074792] v9fs_mount+0x7c/0x900 [ 32.078324] ? v9fs_drop_inode+0x150/0x150 [ 32.082554] legacy_get_tree+0x131/0x460 [ 32.086615] vfs_get_tree+0x1cb/0x5c0 [ 32.090406] do_mount+0x6f2/0x1e20 [ 32.093950] ? check_same_owner+0x340/0x340 [ 32.098257] ? lock_release+0xa30/0xa30 [ 32.102218] ? copy_mount_string+0x40/0x40 [ 32.106444] ? kasan_kmalloc+0xc4/0xe0 [ 32.110325] ? kmem_cache_alloc_trace+0x318/0x780 [ 32.115155] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 32.120696] ? _copy_from_user+0xdf/0x150 [ 32.124841] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.130375] ? copy_mount_options+0x285/0x380 [ 32.134874] ksys_mount+0x12d/0x140 [ 32.138484] __x64_sys_mount+0xbe/0x150 [ 32.142443] do_syscall_64+0x1b9/0x820 [ 32.146323] ? syscall_return_slowpath+0x5e0/0x5e0 [ 32.151246] ? syscall_return_slowpath+0x31d/0x5e0 [ 32.156167] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 32.161194] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.166716] ? prepare_exit_to_usermode+0x291/0x3b0 [ 32.171717] ? perf_trace_sys_enter+0xb10/0xb10 [ 32.176393] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.181230] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.186404] RIP: 0033:0x446039 [ 32.189675] 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 [ 32.208824] RSP: 002b:00007ff6f8a3bce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 32.216537] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000446039 [ 32.223790] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 32.231058] RBP: 00000000006dbc20 R08: 00000000200001c0 R09: 0000000000000000 [ 32.238323] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 32.245590] R13: 00007ffd570b3d4f R14: 00007ff6f8a3c9c0 R15: 0000000000000001 [ 32.252844] [ 32.254456] Allocated by task 4699: [ 32.258156] save_stack+0x43/0xd0 [ 32.261598] kasan_kmalloc+0xc4/0xe0 [ 32.265292] __kmalloc+0x14e/0x760 [ 32.268814] p9_fcall_alloc+0x1e/0x90 [ 32.272601] p9_client_prepare_req.part.8+0x132/0xa00 [ 32.277780] p9_client_rpc+0x242/0x1330 [ 32.281747] p9_client_create+0xca4/0x1537 [ 32.285972] v9fs_session_init+0x21a/0x1a80 [ 32.290274] v9fs_mount+0x7c/0x900 [ 32.293797] legacy_get_tree+0x131/0x460 [ 32.297843] vfs_get_tree+0x1cb/0x5c0 [ 32.301634] do_mount+0x6f2/0x1e20 [ 32.305167] ksys_mount+0x12d/0x140 [ 32.308776] __x64_sys_mount+0xbe/0x150 [ 32.312745] do_syscall_64+0x1b9/0x820 [ 32.316624] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.321792] [ 32.323410] Freed by task 0: [ 32.326674] (stack is not available) [ 32.330373] [ 32.331994] The buggy address belongs to the object at ffff8801af86aa40 [ 32.331994] which belongs to the cache kmalloc-16384 of size 16384 [ 32.344997] The buggy address is located 45 bytes inside of [ 32.344997] 16384-byte region [ffff8801af86aa40, ffff8801af86ea40) [ 32.356953] The buggy address belongs to the page: [ 32.361869] page:ffffea0006be1a00 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 32.372356] flags: 0x2fffc0000010200(slab|head) [ 32.377029] raw: 02fffc0000010200 ffffea0006be6008 ffff8801da801c48 ffff8801da802200 [ 32.384918] raw: 0000000000000000 ffff8801af86aa40 0000000100000001 0000000000000000 [ 32.392796] page dumped because: kasan: bad access detected [ 32.398498] [ 32.400119] Memory state around the buggy address: [ 32.405035] ffff8801af86c900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.412385] ffff8801af86c980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.419736] >ffff8801af86ca00: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 32.427074] ^ [ 32.433570] ffff8801af86ca80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.440936] ffff8801af86cb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.448285] ================================================================== [ 32.455711] Kernel panic - not syncing: panic_on_warn set ... [ 32.455711] [ 32.463083] CPU: 0 PID: 4699 Comm: syz-executor744 Tainted: G B 4.18.0-rc5-next-20180720+ #12 [ 32.473041] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.482397] Call Trace: [ 32.484991] dump_stack+0x1c9/0x2b4 [ 32.488622] ? dump_stack_print_info.cold.2+0x52/0x52 [ 32.493814] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.498570] panic+0x238/0x4e7 [ 32.501746] ? add_taint.cold.5+0x16/0x16 [ 32.505882] ? do_raw_spin_unlock+0xa7/0x2f0 [ 32.510289] ? pdu_read+0x90/0xd0 [ 32.513737] kasan_end_report+0x47/0x4f [ 32.517716] kasan_report.cold.7+0x76/0x30d [ 32.522043] check_memory_region+0x13e/0x1b0 [ 32.526446] memcpy+0x23/0x50 [ 32.529537] pdu_read+0x90/0xd0 [ 32.532902] p9pdu_readf+0x579/0x2170 [ 32.536689] ? p9pdu_writef+0xe0/0xe0 [ 32.540478] ? ksys_dup3+0x690/0x690 [ 32.544178] ? check_same_owner+0x340/0x340 [ 32.548487] ? p9_fd_poll+0x2b0/0x2b0 [ 32.552284] ? finish_wait+0x430/0x430 [ 32.556168] ? p9_fd_show_options+0x1c0/0x1c0 [ 32.560648] p9_client_create+0x6d0/0x1537 [ 32.564870] ? p9_client_read+0xbb0/0xbb0 [ 32.569032] ? lock_acquire+0x1e4/0x540 [ 32.573000] ? fs_reclaim_acquire+0x20/0x20 [ 32.577313] ? lock_release+0xa30/0xa30 [ 32.581280] ? __lockdep_init_map+0x105/0x590 [ 32.585768] ? kasan_check_write+0x14/0x20 [ 32.589986] ? __init_rwsem+0x1cc/0x2a0 [ 32.593948] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 32.598969] ? __kmalloc_track_caller+0x311/0x760 [ 32.603806] ? save_stack+0xa9/0xd0 [ 32.607426] ? save_stack+0x43/0xd0 [ 32.611044] ? kasan_kmalloc+0xc4/0xe0 [ 32.614921] ? memcpy+0x45/0x50 [ 32.618185] v9fs_session_init+0x21a/0x1a80 [ 32.622501] ? rcu_note_context_switch+0x730/0x730 [ 32.627429] ? legacy_parse_monolithic+0xde/0x1e0 [ 32.632273] ? v9fs_show_options+0x7e0/0x7e0 [ 32.636681] ? lock_release+0xa30/0xa30 [ 32.640661] ? check_same_owner+0x340/0x340 [ 32.644971] ? lock_downgrade+0x8f0/0x8f0 [ 32.649116] ? kasan_unpoison_shadow+0x35/0x50 [ 32.653690] ? kasan_kmalloc+0xc4/0xe0 [ 32.657569] ? kmem_cache_alloc_trace+0x318/0x780 [ 32.662397] ? kasan_unpoison_shadow+0x35/0x50 [ 32.666971] ? kasan_kmalloc+0xc4/0xe0 [ 32.670853] v9fs_mount+0x7c/0x900 [ 32.674385] ? v9fs_drop_inode+0x150/0x150 [ 32.678611] legacy_get_tree+0x131/0x460 [ 32.682673] vfs_get_tree+0x1cb/0x5c0 [ 32.686462] do_mount+0x6f2/0x1e20 [ 32.689986] ? check_same_owner+0x340/0x340 [ 32.694310] ? lock_release+0xa30/0xa30 [ 32.698286] ? copy_mount_string+0x40/0x40 [ 32.702598] ? kasan_kmalloc+0xc4/0xe0 [ 32.706478] ? kmem_cache_alloc_trace+0x318/0x780 [ 32.711309] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 32.716834] ? _copy_from_user+0xdf/0x150 [ 32.720982] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.726517] ? copy_mount_options+0x285/0x380 [ 32.731015] ksys_mount+0x12d/0x140 [ 32.734638] __x64_sys_mount+0xbe/0x150 [ 32.738608] do_syscall_64+0x1b9/0x820 [ 32.742495] ? syscall_return_slowpath+0x5e0/0x5e0 [ 32.747762] ? syscall_return_slowpath+0x31d/0x5e0 [ 32.752689] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 32.757697] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.763218] ? prepare_exit_to_usermode+0x291/0x3b0 [ 32.768223] ? perf_trace_sys_enter+0xb10/0xb10 [ 32.772880] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.777712] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.782890] RIP: 0033:0x446039 [ 32.786068] 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 [ 32.805212] RSP: 002b:00007ff6f8a3bce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 32.812909] RAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000446039 [ 32.820181] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 32.827444] RBP: 00000000006dbc20 R08: 00000000200001c0 R09: 0000000000000000 [ 32.834712] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 32.841973] R13: 00007ffd570b3d4f R14: 00007ff6f8a3c9c0 R15: 0000000000000001 [ 32.849797] Dumping ftrace buffer: [ 32.853321] (ftrace buffer empty) [ 32.857021] Kernel Offset: disabled [ 32.860627] Rebooting in 86400 seconds..