[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 18.647450] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.404664] random: sshd: uninitialized urandom read (32 bytes read) [ 23.832923] random: sshd: uninitialized urandom read (32 bytes read) [ 24.713865] random: sshd: uninitialized urandom read (32 bytes read) [ 114.023948] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.22' (ECDSA) to the list of known hosts. [ 119.440545] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 119.534222] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 164.075790] ================================================================== [ 164.083323] BUG: KASAN: use-after-free in work_is_static_object+0x39/0x40 [ 164.090245] Read of size 8 at addr ffff8801c7877e60 by task kworker/0:2/27 [ 164.097245] [ 164.098864] CPU: 0 PID: 27 Comm: kworker/0:2 Not tainted 4.18.0-rc6+ #167 [ 164.105785] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 164.115137] Workqueue: events p9_poll_workfn [ 164.119533] Call Trace: [ 164.122121] dump_stack+0x1c9/0x2b4 [ 164.125763] ? dump_stack_print_info.cold.2+0x52/0x52 [ 164.131286] ? printk+0xa7/0xcf [ 164.134547] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 164.139287] ? work_is_static_object+0x39/0x40 [ 164.143853] print_address_description+0x6c/0x20b [ 164.148682] ? work_is_static_object+0x39/0x40 [ 164.153249] kasan_report.cold.7+0x242/0x2fe [ 164.157657] __asan_report_load8_noabort+0x14/0x20 [ 164.162570] work_is_static_object+0x39/0x40 [ 164.166962] debug_object_activate+0x2fc/0x690 [ 164.171529] ? __wake_up_common+0x740/0x740 [ 164.175831] ? debug_object_assert_init+0x4b0/0x4b0 [ 164.180834] ? mark_held_locks+0xc9/0x160 [ 164.184987] __queue_work+0x1ca/0x1410 [ 164.188865] ? __wake_up+0xe/0x10 [ 164.192300] ? p9_client_cb+0x62/0x80 [ 164.196084] ? flush_rcu_work+0x90/0x90 [ 164.200042] ? p9_fd_cancelled+0x2f0/0x2f0 [ 164.204269] ? ep_eventpoll_poll+0x192/0x200 [ 164.208671] ? mounts_poll+0x1f9/0x290 [ 164.212556] ? mark_held_locks+0xc9/0x160 [ 164.216708] queue_work_on+0x19a/0x1e0 [ 164.220578] p9_poll_workfn+0x55e/0x6d0 [ 164.224546] ? p9_read_work+0x1060/0x1060 [ 164.228678] ? graph_lock+0x170/0x170 [ 164.232465] ? lock_acquire+0x1e4/0x540 [ 164.236425] ? process_one_work+0xb9b/0x1ba0 [ 164.240818] ? kasan_check_read+0x11/0x20 [ 164.244965] ? __lock_is_held+0xb5/0x140 [ 164.249027] process_one_work+0xc73/0x1ba0 [ 164.253594] ? trace_hardirqs_on+0x10/0x10 [ 164.257817] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 164.262467] ? lock_repin_lock+0x430/0x430 [ 164.266692] ? __sched_text_start+0x8/0x8 [ 164.270830] ? lock_downgrade+0x8f0/0x8f0 [ 164.274975] ? graph_lock+0x170/0x170 [ 164.278773] ? graph_lock+0x170/0x170 [ 164.282568] ? lock_acquire+0x1e4/0x540 [ 164.286528] ? worker_thread+0x3dc/0x13c0 [ 164.290664] ? lock_downgrade+0x8f0/0x8f0 [ 164.295247] ? lock_release+0xa30/0xa30 [ 164.299206] ? kasan_check_read+0x11/0x20 [ 164.303350] ? do_raw_spin_unlock+0xa7/0x2f0 [ 164.307752] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 164.312331] ? kasan_check_write+0x14/0x20 [ 164.316545] ? do_raw_spin_lock+0xc1/0x200 [ 164.320768] worker_thread+0x189/0x13c0 [ 164.324743] ? process_one_work+0x1ba0/0x1ba0 [ 164.329234] ? graph_lock+0x170/0x170 [ 164.333015] ? graph_lock+0x170/0x170 [ 164.336797] ? find_held_lock+0x36/0x1c0 [ 164.340855] ? find_held_lock+0x36/0x1c0 [ 164.344907] ? kasan_check_read+0x11/0x20 [ 164.349049] ? do_raw_spin_unlock+0xa7/0x2f0 [ 164.353439] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 164.358619] ? __kthread_parkme+0x58/0x1b0 [ 164.362837] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 164.367833] ? trace_hardirqs_on+0xd/0x10 [ 164.371963] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 164.377492] ? __kthread_parkme+0x106/0x1b0 [ 164.381808] kthread+0x345/0x410 [ 164.385160] ? process_one_work+0x1ba0/0x1ba0 [ 164.389634] ? kthread_bind+0x40/0x40 [ 164.393425] ret_from_fork+0x3a/0x50 [ 164.397122] [ 164.398732] Allocated by task 7584: [ 164.402357] save_stack+0x43/0xd0 [ 164.405792] kasan_kmalloc+0xc4/0xe0 [ 164.409490] kmem_cache_alloc_trace+0x152/0x780 [ 164.414157] p9_fd_create+0x1a7/0x3f0 [ 164.417942] p9_client_create+0x8ed/0x1770 [ 164.422165] v9fs_session_init+0x21a/0x1a80 [ 164.426468] v9fs_mount+0x7c/0x900 [ 164.429992] mount_fs+0xae/0x328 [ 164.433358] vfs_kern_mount.part.34+0xdc/0x4e0 [ 164.437921] do_mount+0x581/0x30e0 [ 164.441441] ksys_mount+0x12d/0x140 [ 164.445053] __x64_sys_mount+0xbe/0x150 [ 164.449024] do_syscall_64+0x1b9/0x820 [ 164.452908] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 164.458076] [ 164.459683] Freed by task 7584: [ 164.462952] save_stack+0x43/0xd0 [ 164.466389] __kasan_slab_free+0x11a/0x170 [ 164.470618] kasan_slab_free+0xe/0x10 [ 164.474402] kfree+0xd9/0x260 [ 164.477491] p9_fd_close+0x416/0x5b0 [ 164.481186] p9_client_create+0xa9a/0x1770 [ 164.485415] v9fs_session_init+0x21a/0x1a80 [ 164.489729] v9fs_mount+0x7c/0x900 [ 164.493252] mount_fs+0xae/0x328 [ 164.496599] vfs_kern_mount.part.34+0xdc/0x4e0 [ 164.501168] do_mount+0x581/0x30e0 [ 164.504689] ksys_mount+0x12d/0x140 [ 164.508302] __x64_sys_mount+0xbe/0x150 [ 164.512259] do_syscall_64+0x1b9/0x820 [ 164.516128] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 164.521298] [ 164.522910] The buggy address belongs to the object at ffff8801c7877d40 [ 164.522910] which belongs to the cache kmalloc-512 of size 512 [ 164.535548] The buggy address is located 288 bytes inside of [ 164.535548] 512-byte region [ffff8801c7877d40, ffff8801c7877f40) [ 164.547402] The buggy address belongs to the page: [ 164.552325] page:ffffea00071e1dc0 count:1 mapcount:0 mapping:ffff8801dac00940 index:0x0 [ 164.560448] flags: 0x2fffc0000000100(slab) [ 164.564681] raw: 02fffc0000000100 ffffea000721a988 ffffea0006d99288 ffff8801dac00940 [ 164.572545] raw: 0000000000000000 ffff8801c78770c0 0000000100000006 0000000000000000 [ 164.580401] page dumped because: kasan: bad access detected [ 164.586086] [ 164.587690] Memory state around the buggy address: [ 164.592599] ffff8801c7877d00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 164.599939] ffff8801c7877d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 164.607278] >ffff8801c7877e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 164.614630] ^ [ 164.621105] ffff8801c7877e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 164.628459] ffff8801c7877f00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 164.635882] ================================================================== [ 164.643219] Disabling lock debugging due to kernel taint [ 164.648646] Kernel panic - not syncing: panic_on_warn set ... [ 164.648646] [ 164.656005] CPU: 0 PID: 27 Comm: kworker/0:2 Tainted: G B 4.18.0-rc6+ #167 [ 164.664296] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 164.673637] Workqueue: events p9_poll_workfn [ 164.678025] Call Trace: [ 164.680591] dump_stack+0x1c9/0x2b4 [ 164.684201] ? dump_stack_print_info.cold.2+0x52/0x52 [ 164.689376] ? lock_downgrade+0x8f0/0x8f0 [ 164.693509] panic+0x238/0x4e7 [ 164.696694] ? add_taint.cold.5+0x16/0x16 [ 164.700833] ? add_taint.cold.5+0x5/0x16 [ 164.704871] ? do_raw_spin_unlock+0xa7/0x2f0 [ 164.709259] ? work_is_static_object+0x39/0x40 [ 164.713829] kasan_end_report+0x47/0x4f [ 164.718315] kasan_report.cold.7+0x76/0x2fe [ 164.722629] __asan_report_load8_noabort+0x14/0x20 [ 164.727550] work_is_static_object+0x39/0x40 [ 164.731940] debug_object_activate+0x2fc/0x690 [ 164.736514] ? __wake_up_common+0x740/0x740 [ 164.740816] ? debug_object_assert_init+0x4b0/0x4b0 [ 164.745812] ? mark_held_locks+0xc9/0x160 [ 164.749953] __queue_work+0x1ca/0x1410 [ 164.753817] ? __wake_up+0xe/0x10 [ 164.757262] ? p9_client_cb+0x62/0x80 [ 164.761043] ? flush_rcu_work+0x90/0x90 [ 164.764996] ? p9_fd_cancelled+0x2f0/0x2f0 [ 164.769216] ? ep_eventpoll_poll+0x192/0x200 [ 164.773612] ? mounts_poll+0x1f9/0x290 [ 164.777480] ? mark_held_locks+0xc9/0x160 [ 164.781607] queue_work_on+0x19a/0x1e0 [ 164.785487] p9_poll_workfn+0x55e/0x6d0 [ 164.789452] ? p9_read_work+0x1060/0x1060 [ 164.793576] ? graph_lock+0x170/0x170 [ 164.797355] ? lock_acquire+0x1e4/0x540 [ 164.801306] ? process_one_work+0xb9b/0x1ba0 [ 164.805696] ? kasan_check_read+0x11/0x20 [ 164.809827] ? __lock_is_held+0xb5/0x140 [ 164.813871] process_one_work+0xc73/0x1ba0 [ 164.818086] ? trace_hardirqs_on+0x10/0x10 [ 164.822316] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 164.826963] ? lock_repin_lock+0x430/0x430 [ 164.831184] ? __sched_text_start+0x8/0x8 [ 164.835313] ? lock_downgrade+0x8f0/0x8f0 [ 164.839639] ? graph_lock+0x170/0x170 [ 164.843421] ? graph_lock+0x170/0x170 [ 164.847206] ? lock_acquire+0x1e4/0x540 [ 164.851161] ? worker_thread+0x3dc/0x13c0 [ 164.855288] ? lock_downgrade+0x8f0/0x8f0 [ 164.859417] ? lock_release+0xa30/0xa30 [ 164.863373] ? kasan_check_read+0x11/0x20 [ 164.867503] ? do_raw_spin_unlock+0xa7/0x2f0 [ 164.871891] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 164.876454] ? kasan_check_write+0x14/0x20 [ 164.880665] ? do_raw_spin_lock+0xc1/0x200 [ 164.884882] worker_thread+0x189/0x13c0 [ 164.888841] ? process_one_work+0x1ba0/0x1ba0 [ 164.893327] ? graph_lock+0x170/0x170 [ 164.897106] ? graph_lock+0x170/0x170 [ 164.900884] ? find_held_lock+0x36/0x1c0 [ 164.904927] ? find_held_lock+0x36/0x1c0 [ 164.908971] ? kasan_check_read+0x11/0x20 [ 164.913099] ? do_raw_spin_unlock+0xa7/0x2f0 [ 164.917491] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 164.922572] ? __kthread_parkme+0x58/0x1b0 [ 164.926798] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 164.931792] ? trace_hardirqs_on+0xd/0x10 [ 164.935920] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 164.941445] ? __kthread_parkme+0x106/0x1b0 [ 164.945754] kthread+0x345/0x410 [ 164.949102] ? process_one_work+0x1ba0/0x1ba0 [ 164.953590] ? kthread_bind+0x40/0x40 [ 164.957373] ret_from_fork+0x3a/0x50 [ 164.961468] Dumping ftrace buffer: [ 164.965010] (ftrace buffer empty) [ 164.968710] Kernel Offset: disabled [ 164.972317] Rebooting in 86400 seconds..