[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 18.754255] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.420964] random: sshd: uninitialized urandom read (32 bytes read) [ 22.638424] random: sshd: uninitialized urandom read (32 bytes read) [ 23.519759] random: sshd: uninitialized urandom read (32 bytes read) [ 106.667848] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.55' (ECDSA) to the list of known hosts. [ 112.145874] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 112.238182] 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 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 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 [ 122.041214] ================================================================== [ 122.048696] BUG: KASAN: use-after-free in p9_poll_workfn+0x660/0x6d0 [ 122.055175] Read of size 4 at addr ffff8801aad35dc4 by task kworker/0:2/26 [ 122.062163] [ 122.063774] CPU: 0 PID: 26 Comm: kworker/0:2 Not tainted 4.18.0-rc6+ #160 [ 122.070683] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 122.080022] Workqueue: events p9_poll_workfn [ 122.084417] Call Trace: [ 122.087002] dump_stack+0x1c9/0x2b4 [ 122.090608] ? dump_stack_print_info.cold.2+0x52/0x52 [ 122.095776] ? printk+0xa7/0xcf [ 122.099035] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 122.103773] ? p9_poll_workfn+0x660/0x6d0 [ 122.107901] print_address_description+0x6c/0x20b [ 122.112722] ? p9_poll_workfn+0x660/0x6d0 [ 122.116855] kasan_report.cold.7+0x242/0x2fe [ 122.121242] __asan_report_load4_noabort+0x14/0x20 [ 122.126149] p9_poll_workfn+0x660/0x6d0 [ 122.130105] ? p9_read_work+0x1060/0x1060 [ 122.134241] ? graph_lock+0x170/0x170 [ 122.138043] ? lock_acquire+0x1e4/0x540 [ 122.141994] ? process_one_work+0xb9b/0x1ba0 [ 122.146389] ? kasan_check_read+0x11/0x20 [ 122.150521] ? __lock_is_held+0xb5/0x140 [ 122.154575] process_one_work+0xc73/0x1ba0 [ 122.158786] ? trace_hardirqs_on+0x10/0x10 [ 122.163001] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 122.167648] ? lock_repin_lock+0x430/0x430 [ 122.171874] ? __sched_text_start+0x8/0x8 [ 122.176001] ? lock_downgrade+0x8f0/0x8f0 [ 122.180130] ? graph_lock+0x170/0x170 [ 122.183913] ? graph_lock+0x170/0x170 [ 122.187704] ? lock_acquire+0x1e4/0x540 [ 122.191664] ? worker_thread+0x3dc/0x13c0 [ 122.195803] ? lock_downgrade+0x8f0/0x8f0 [ 122.199944] ? lock_release+0xa30/0xa30 [ 122.203911] ? kasan_check_read+0x11/0x20 [ 122.208038] ? do_raw_spin_unlock+0xa7/0x2f0 [ 122.212432] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 122.216996] ? kasan_check_write+0x14/0x20 [ 122.221206] ? do_raw_spin_lock+0xc1/0x200 [ 122.225423] worker_thread+0x189/0x13c0 [ 122.229388] ? process_one_work+0x1ba0/0x1ba0 [ 122.233881] ? graph_lock+0x170/0x170 [ 122.237666] ? graph_lock+0x170/0x170 [ 122.241454] ? find_held_lock+0x36/0x1c0 [ 122.245511] ? find_held_lock+0x36/0x1c0 [ 122.249576] ? kasan_check_read+0x11/0x20 [ 122.253710] ? do_raw_spin_unlock+0xa7/0x2f0 [ 122.258099] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 122.263179] ? __kthread_parkme+0x58/0x1b0 [ 122.267403] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 122.272398] ? trace_hardirqs_on+0xd/0x10 [ 122.276531] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 122.282046] ? __kthread_parkme+0x106/0x1b0 [ 122.286347] kthread+0x345/0x410 [ 122.289695] ? process_one_work+0x1ba0/0x1ba0 [ 122.294170] ? kthread_bind+0x40/0x40 [ 122.297952] ret_from_fork+0x3a/0x50 [ 122.301643] [ 122.303248] Allocated by task 5063: [ 122.306857] save_stack+0x43/0xd0 [ 122.310288] kasan_kmalloc+0xc4/0xe0 [ 122.313980] kmem_cache_alloc_trace+0x152/0x780 [ 122.318635] p9_fd_create+0x1a7/0x3f0 [ 122.322414] p9_client_create+0x8ed/0x1770 [ 122.326634] v9fs_session_init+0x21a/0x1a80 [ 122.330940] v9fs_mount+0x7c/0x900 [ 122.334483] mount_fs+0xae/0x328 [ 122.337843] vfs_kern_mount.part.34+0xdc/0x4e0 [ 122.342410] do_mount+0x581/0x30e0 [ 122.345933] ksys_mount+0x12d/0x140 [ 122.349556] __x64_sys_mount+0xbe/0x150 [ 122.353524] do_syscall_64+0x1b9/0x820 [ 122.357392] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 122.362564] [ 122.364175] Freed by task 5063: [ 122.367435] save_stack+0x43/0xd0 [ 122.370868] __kasan_slab_free+0x11a/0x170 [ 122.375078] kasan_slab_free+0xe/0x10 [ 122.378862] kfree+0xd9/0x260 [ 122.381952] p9_fd_close+0x416/0x5b0 [ 122.385643] p9_client_create+0xa9a/0x1770 [ 122.389857] v9fs_session_init+0x21a/0x1a80 [ 122.394160] v9fs_mount+0x7c/0x900 [ 122.397691] mount_fs+0xae/0x328 [ 122.401035] vfs_kern_mount.part.34+0xdc/0x4e0 [ 122.405595] do_mount+0x581/0x30e0 [ 122.409112] ksys_mount+0x12d/0x140 [ 122.412716] __x64_sys_mount+0xbe/0x150 [ 122.416668] do_syscall_64+0x1b9/0x820 [ 122.420537] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 122.425698] [ 122.427303] The buggy address belongs to the object at ffff8801aad35d40 [ 122.427303] which belongs to the cache kmalloc-512 of size 512 [ 122.439937] The buggy address is located 132 bytes inside of [ 122.439937] 512-byte region [ffff8801aad35d40, ffff8801aad35f40) [ 122.451793] The buggy address belongs to the page: [ 122.456710] page:ffffea0006ab4d40 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 122.464828] flags: 0x2fffc0000000100(slab) [ 122.469045] raw: 02fffc0000000100 ffffea0006ab35c8 ffff8801da801748 ffff8801da800940 [ 122.476903] raw: 0000000000000000 ffff8801aad350c0 0000000100000006 0000000000000000 [ 122.484757] page dumped because: kasan: bad access detected [ 122.490440] [ 122.492043] Memory state around the buggy address: [ 122.496951] ffff8801aad35c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 122.504459] ffff8801aad35d00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 122.511795] >ffff8801aad35d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 122.519136] ^ [ 122.524571] ffff8801aad35e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 122.531916] ffff8801aad35e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program [ 122.539255] ================================================================== [ 122.546588] Disabling lock debugging due to kernel taint [ 122.552202] Kernel panic - not syncing: panic_on_warn set ... [ 122.552202] [ 122.559558] CPU: 0 PID: 26 Comm: kworker/0:2 Tainted: G B 4.18.0-rc6+ #160 [ 122.567850] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 122.577197] Workqueue: events p9_poll_workfn [ 122.581583] Call Trace: [ 122.582735] 9pnet: Insufficient options for proto=fd [ 122.584153] dump_stack+0x1c9/0x2b4 [ 122.584163] ? dump_stack_print_info.cold.2+0x52/0x52 [ 122.584183] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 122.602811] panic+0x238/0x4e7 [ 122.605997] ? add_taint.cold.5+0x16/0x16 [ 122.610123] ? do_raw_spin_unlock+0xa7/0x2f0 [ 122.614509] ? do_raw_spin_unlock+0xa7/0x2f0 [ 122.618895] ? p9_poll_workfn+0x660/0x6d0 [ 122.623019] kasan_end_report+0x47/0x4f [ 122.626969] kasan_report.cold.7+0x76/0x2fe [ 122.631268] __asan_report_load4_noabort+0x14/0x20 [ 122.636173] p9_poll_workfn+0x660/0x6d0 [ 122.640123] ? p9_read_work+0x1060/0x1060 [ 122.644256] ? graph_lock+0x170/0x170 [ 122.648033] ? lock_acquire+0x1e4/0x540 [ 122.651985] ? process_one_work+0xb9b/0x1ba0 [ 122.656379] ? kasan_check_read+0x11/0x20 [ 122.660505] ? __lock_is_held+0xb5/0x140 [ 122.664555] process_one_work+0xc73/0x1ba0 [ 122.668775] ? trace_hardirqs_on+0x10/0x10 [ 122.672988] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 122.677634] ? lock_repin_lock+0x430/0x430 [ 122.681855] ? __sched_text_start+0x8/0x8 [ 122.685988] ? lock_downgrade+0x8f0/0x8f0 [ 122.690112] ? graph_lock+0x170/0x170 [ 122.693888] ? graph_lock+0x170/0x170 [ 122.697673] ? lock_acquire+0x1e4/0x540 [ 122.701623] ? worker_thread+0x3dc/0x13c0 [ 122.705744] ? lock_downgrade+0x8f0/0x8f0 [ 122.710042] ? lock_release+0xa30/0xa30 [ 122.713993] ? kasan_check_read+0x11/0x20 [ 122.718118] ? do_raw_spin_unlock+0xa7/0x2f0 [ 122.722505] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 122.727081] ? kasan_check_write+0x14/0x20 [ 122.731300] ? do_raw_spin_lock+0xc1/0x200 [ 122.735526] worker_thread+0x189/0x13c0 [ 122.739492] ? process_one_work+0x1ba0/0x1ba0 [ 122.743969] ? graph_lock+0x170/0x170 [ 122.747749] ? graph_lock+0x170/0x170 [ 122.751526] ? find_held_lock+0x36/0x1c0 [ 122.755580] ? find_held_lock+0x36/0x1c0 [ 122.759637] ? kasan_check_read+0x11/0x20 [ 122.763760] ? do_raw_spin_unlock+0xa7/0x2f0 [ 122.768157] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 122.773236] ? __kthread_parkme+0x58/0x1b0 [ 122.777448] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 122.783065] ? trace_hardirqs_on+0xd/0x10 [ 122.787193] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 122.792705] ? __kthread_parkme+0x106/0x1b0 [ 122.797005] kthread+0x345/0x410 [ 122.800351] ? process_one_work+0x1ba0/0x1ba0 [ 122.804821] ? kthread_bind+0x40/0x40 [ 122.808600] ret_from_fork+0x3a/0x50 [ 122.812659] Dumping ftrace buffer: [ 122.816173] (ftrace buffer empty) [ 122.819858] Kernel Offset: disabled [ 122.823460] Rebooting in 86400 seconds..