[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 16.738562] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 17.352736] random: sshd: uninitialized urandom read (32 bytes read) [ 17.671977] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.414637] random: sshd: uninitialized urandom read (32 bytes read) [ 18.549491] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.19' (ECDSA) to the list of known hosts. [ 24.050905] 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 [ 24.830629] ================================================================== [ 24.838047] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 24.844190] Read of size 57931 at addr ffff8801ae5995ad by task syz-executor543/4511 [ 24.852056] [ 24.853674] CPU: 1 PID: 4511 Comm: syz-executor543 Not tainted 4.18.0-rc5-next-20180719+ #11 [ 24.862231] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.871586] Call Trace: [ 24.874182] dump_stack+0x1c9/0x2b4 [ 24.877806] ? dump_stack_print_info.cold.2+0x52/0x52 [ 24.883016] ? printk+0xa7/0xcf [ 24.886295] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 24.891050] ? pdu_read+0x90/0xd0 [ 24.894502] print_address_description+0x6c/0x20b [ 24.899341] ? pdu_read+0x90/0xd0 [ 24.902780] kasan_report.cold.7+0x242/0x30d [ 24.907192] check_memory_region+0x13e/0x1b0 [ 24.911596] memcpy+0x23/0x50 [ 24.914696] pdu_read+0x90/0xd0 [ 24.918043] p9pdu_readf+0x579/0x2170 [ 24.921860] ? p9pdu_writef+0xe0/0xe0 [ 24.925651] ? ksys_dup3+0x690/0x690 [ 24.929358] ? check_same_owner+0x340/0x340 [ 24.933681] ? p9_fd_poll+0x2b0/0x2b0 [ 24.937468] ? finish_wait+0x430/0x430 [ 24.941349] ? p9_fd_show_options+0x1c0/0x1c0 [ 24.945861] p9_client_create+0x6d0/0x1537 [ 24.950114] ? p9_client_read+0xbb0/0xbb0 [ 24.954270] ? lock_acquire+0x1e4/0x540 [ 24.958249] ? fs_reclaim_acquire+0x20/0x20 [ 24.962587] ? lock_release+0xa30/0xa30 [ 24.966577] ? __lockdep_init_map+0x105/0x590 [ 24.971083] ? kasan_check_write+0x14/0x20 [ 24.975323] ? __init_rwsem+0x1cc/0x2a0 [ 24.979305] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 24.984327] ? __kmalloc_track_caller+0x311/0x760 [ 24.989176] ? save_stack+0xa9/0xd0 [ 24.992793] ? save_stack+0x43/0xd0 [ 24.996420] ? kasan_kmalloc+0xc4/0xe0 [ 25.000307] ? memcpy+0x45/0x50 [ 25.003588] v9fs_session_init+0x21a/0x1a80 [ 25.007920] ? rcu_note_context_switch+0x730/0x730 [ 25.012844] ? legacy_parse_monolithic+0xde/0x1e0 [ 25.017678] ? v9fs_show_options+0x7e0/0x7e0 [ 25.022078] ? lock_release+0xa30/0xa30 [ 25.026048] ? lock_downgrade+0x8f0/0x8f0 [ 25.030188] ? check_same_owner+0x340/0x340 [ 25.034496] ? kasan_unpoison_shadow+0x35/0x50 [ 25.039068] ? kasan_kmalloc+0xc4/0xe0 [ 25.042945] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.047775] ? kasan_unpoison_shadow+0x35/0x50 [ 25.052348] ? kasan_kmalloc+0xc4/0xe0 [ 25.056237] v9fs_mount+0x7c/0x900 [ 25.059778] ? v9fs_drop_inode+0x150/0x150 [ 25.064000] legacy_get_tree+0x131/0x460 [ 25.068063] vfs_get_tree+0x1cb/0x5c0 [ 25.071857] do_mount+0x6f2/0x1e20 [ 25.075385] ? do_raw_spin_unlock+0xa7/0x2f0 [ 25.079791] ? copy_mount_string+0x40/0x40 [ 25.084013] ? kasan_kmalloc+0xc4/0xe0 [ 25.087894] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.092746] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.098280] ? copy_mount_options+0x285/0x380 [ 25.102773] ksys_mount+0x12d/0x140 [ 25.106406] __x64_sys_mount+0xbe/0x150 [ 25.110381] do_syscall_64+0x1b9/0x820 [ 25.114270] ? finish_task_switch+0x1d3/0x870 [ 25.118764] ? syscall_return_slowpath+0x5e0/0x5e0 [ 25.123690] ? syscall_return_slowpath+0x31d/0x5e0 [ 25.128608] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 25.133611] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.139138] ? prepare_exit_to_usermode+0x291/0x3b0 [ 25.144147] ? perf_trace_sys_enter+0xb10/0xb10 [ 25.148810] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.154373] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.159550] RIP: 0033:0x4468e9 [ 25.162740] Code: e8 dc bc 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 2b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 25.181914] RSP: 002b:00007f750c60ada8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 25.189619] RAX: ffffffffffffffda RBX: 00000000006dcc44 RCX: 00000000004468e9 [ 25.196899] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 25.204175] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 25.211462] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dcc40 [ 25.218738] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 25.226002] [ 25.227630] Allocated by task 4511: [ 25.231262] save_stack+0x43/0xd0 [ 25.234702] kasan_kmalloc+0xc4/0xe0 [ 25.238403] __kmalloc+0x14e/0x760 [ 25.241934] p9_fcall_alloc+0x1e/0x90 [ 25.245741] p9_client_prepare_req.part.8+0x132/0xa00 [ 25.250924] p9_client_rpc+0x242/0x1330 [ 25.254906] p9_client_create+0xca4/0x1537 [ 25.259134] v9fs_session_init+0x21a/0x1a80 [ 25.263451] v9fs_mount+0x7c/0x900 [ 25.267084] legacy_get_tree+0x131/0x460 [ 25.271132] vfs_get_tree+0x1cb/0x5c0 [ 25.274927] do_mount+0x6f2/0x1e20 [ 25.278451] ksys_mount+0x12d/0x140 [ 25.282061] __x64_sys_mount+0xbe/0x150 [ 25.286028] do_syscall_64+0x1b9/0x820 [ 25.289907] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.295078] [ 25.296705] Freed by task 0: [ 25.299729] (stack is not available) [ 25.303433] [ 25.305051] The buggy address belongs to the object at ffff8801ae599580 [ 25.305051] which belongs to the cache kmalloc-16384 of size 16384 [ 25.318059] The buggy address is located 45 bytes inside of [ 25.318059] 16384-byte region [ffff8801ae599580, ffff8801ae59d580) [ 25.330031] The buggy address belongs to the page: [ 25.334958] page:ffffea0006b96600 count:1 mapcount:0 mapping:ffff8801da802200 index:0x0 compound_mapcount: 0 [ 25.344924] flags: 0x2fffc0000010200(slab|head) [ 25.349592] raw: 02fffc0000010200 ffffea0006b9f008 ffff8801da801c48 ffff8801da802200 [ 25.357466] raw: 0000000000000000 ffff8801ae599580 0000000100000001 0000000000000000 [ 25.365338] page dumped because: kasan: bad access detected [ 25.371055] [ 25.372669] Memory state around the buggy address: [ 25.377680] ffff8801ae59b480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.385034] ffff8801ae59b500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.392394] >ffff8801ae59b580: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 25.399737] ^ [ 25.404133] ffff8801ae59b600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.411918] ffff8801ae59b680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.419360] ================================================================== [ 25.426794] Kernel panic - not syncing: panic_on_warn set ... [ 25.426794] [ 25.434173] CPU: 1 PID: 4511 Comm: syz-executor543 Tainted: G B 4.18.0-rc5-next-20180719+ #11 [ 25.444129] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.453500] Call Trace: [ 25.456112] dump_stack+0x1c9/0x2b4 [ 25.459752] ? dump_stack_print_info.cold.2+0x52/0x52 [ 25.464960] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.469742] panic+0x238/0x4e7 [ 25.472961] ? add_taint.cold.5+0x16/0x16 [ 25.477137] ? do_raw_spin_unlock+0xa7/0x2f0 [ 25.481571] ? pdu_read+0x90/0xd0 [ 25.485044] kasan_end_report+0x47/0x4f [ 25.489040] kasan_report.cold.7+0x76/0x30d [ 25.493381] check_memory_region+0x13e/0x1b0 [ 25.497788] memcpy+0x23/0x50 [ 25.501152] pdu_read+0x90/0xd0 [ 25.504425] p9pdu_readf+0x579/0x2170 [ 25.508235] ? p9pdu_writef+0xe0/0xe0 [ 25.512052] ? ksys_dup3+0x690/0x690 [ 25.515768] ? check_same_owner+0x340/0x340 [ 25.520094] ? p9_fd_poll+0x2b0/0x2b0 [ 25.523888] ? finish_wait+0x430/0x430 [ 25.527783] ? p9_fd_show_options+0x1c0/0x1c0 [ 25.532271] p9_client_create+0x6d0/0x1537 [ 25.536498] ? p9_client_read+0xbb0/0xbb0 [ 25.540657] ? lock_acquire+0x1e4/0x540 [ 25.544639] ? fs_reclaim_acquire+0x20/0x20 [ 25.548976] ? lock_release+0xa30/0xa30 [ 25.552945] ? __lockdep_init_map+0x105/0x590 [ 25.557432] ? kasan_check_write+0x14/0x20 [ 25.561660] ? __init_rwsem+0x1cc/0x2a0 [ 25.565634] ? do_raw_write_unlock.cold.8+0x49/0x49 [ 25.570646] ? __kmalloc_track_caller+0x311/0x760 [ 25.575486] ? save_stack+0xa9/0xd0 [ 25.579125] ? save_stack+0x43/0xd0 [ 25.582750] ? kasan_kmalloc+0xc4/0xe0 [ 25.586631] ? memcpy+0x45/0x50 [ 25.589924] v9fs_session_init+0x21a/0x1a80 [ 25.594237] ? rcu_note_context_switch+0x730/0x730 [ 25.599176] ? legacy_parse_monolithic+0xde/0x1e0 [ 25.604017] ? v9fs_show_options+0x7e0/0x7e0 [ 25.608426] ? lock_release+0xa30/0xa30 [ 25.612420] ? lock_downgrade+0x8f0/0x8f0 [ 25.616567] ? check_same_owner+0x340/0x340 [ 25.620880] ? kasan_unpoison_shadow+0x35/0x50 [ 25.625458] ? kasan_kmalloc+0xc4/0xe0 [ 25.629334] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.634172] ? kasan_unpoison_shadow+0x35/0x50 [ 25.638759] ? kasan_kmalloc+0xc4/0xe0 [ 25.642663] v9fs_mount+0x7c/0x900 [ 25.646217] ? v9fs_drop_inode+0x150/0x150 [ 25.650447] legacy_get_tree+0x131/0x460 [ 25.654518] vfs_get_tree+0x1cb/0x5c0 [ 25.658310] do_mount+0x6f2/0x1e20 [ 25.661841] ? do_raw_spin_unlock+0xa7/0x2f0 [ 25.666243] ? copy_mount_string+0x40/0x40 [ 25.670465] ? kasan_kmalloc+0xc4/0xe0 [ 25.674349] ? kmem_cache_alloc_trace+0x318/0x780 [ 25.679193] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.684718] ? copy_mount_options+0x285/0x380 [ 25.689215] ksys_mount+0x12d/0x140 [ 25.692831] __x64_sys_mount+0xbe/0x150 [ 25.696799] do_syscall_64+0x1b9/0x820 [ 25.700686] ? finish_task_switch+0x1d3/0x870 [ 25.705179] ? syscall_return_slowpath+0x5e0/0x5e0 [ 25.710118] ? syscall_return_slowpath+0x31d/0x5e0 [ 25.715066] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 25.720093] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 25.725633] ? prepare_exit_to_usermode+0x291/0x3b0 [ 25.730652] ? perf_trace_sys_enter+0xb10/0xb10 [ 25.735343] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.740187] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 25.745366] RIP: 0033:0x4468e9 [ 25.748558] Code: e8 dc bc 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 2b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 25.767926] RSP: 002b:00007f750c60ada8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 25.775635] RAX: ffffffffffffffda RBX: 00000000006dcc44 RCX: 00000000004468e9 [ 25.782915] RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 [ 25.790172] RBP: 0000000000000000 R08: 00000000200001c0 R09: 0000000000000000 [ 25.797524] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000006dcc40 [ 25.804787] R13: 0030656c69662f2e R14: 64663d736e617274 R15: 0000000000000001 [ 25.812699] Dumping ftrace buffer: [ 25.816246] (ftrace buffer empty) [ 25.819955] Kernel Offset: disabled [ 25.823565] Rebooting in 86400 seconds..