[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 16.772343] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 17.367217] random: sshd: uninitialized urandom read (32 bytes read) [ 17.712750] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.459359] random: sshd: uninitialized urandom read (32 bytes read) [ 18.599559] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.12' (ECDSA) to the list of known hosts. [ 24.074882] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 29.104004] ================================================================== [ 29.111444] BUG: KASAN: use-after-free in work_is_static_object+0x39/0x40 [ 29.118408] Read of size 8 at addr ffff8801c3dff160 by task kworker/0:2/2138 [ 29.125617] [ 29.127235] CPU: 0 PID: 2138 Comm: kworker/0:2 Not tainted 4.18.0-rc4-next-20180713+ #7 [ 29.135360] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.144711] Workqueue: events p9_poll_workfn [ 29.149101] Call Trace: [ 29.151675] dump_stack+0x1c9/0x2b4 [ 29.155300] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.160486] ? printk+0xa7/0xcf [ 29.163761] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 29.168506] ? work_is_static_object+0x39/0x40 [ 29.173075] print_address_description+0x6c/0x20b [ 29.177904] ? work_is_static_object+0x39/0x40 [ 29.182488] kasan_report.cold.7+0x242/0x30d [ 29.186889] __asan_report_load8_noabort+0x14/0x20 [ 29.191804] work_is_static_object+0x39/0x40 [ 29.196213] debug_object_activate+0x2fc/0x690 [ 29.200790] ? __wake_up_common+0x740/0x740 [ 29.205095] ? debug_object_assert_init+0x4b0/0x4b0 [ 29.210187] __queue_work+0x1ca/0x1410 [ 29.214058] ? __wake_up+0xe/0x10 [ 29.217495] ? p9_client_cb+0x62/0x80 [ 29.221284] ? flush_rcu_work+0x90/0x90 [ 29.225255] ? p9_fd_cancelled+0x2f0/0x2f0 [ 29.229491] ? lock_acquire+0x1e4/0x540 [ 29.233461] ? p9_poll_workfn+0x3ec/0x6d0 [ 29.237607] ? lock_downgrade+0x8f0/0x8f0 [ 29.241741] ? kasan_check_read+0x11/0x20 [ 29.246575] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.250971] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 29.255542] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.261155] queue_work_on+0x19a/0x1e0 [ 29.265034] p9_poll_workfn+0x55e/0x6d0 [ 29.268998] ? p9_read_work+0x1060/0x1060 [ 29.273154] ? lock_acquire+0x1e4/0x540 [ 29.277144] ? process_one_work+0xb9b/0x1ba0 [ 29.281551] ? kasan_check_read+0x11/0x20 [ 29.285690] ? lock_release+0xa30/0xa30 [ 29.289670] ? kasan_check_read+0x11/0x20 [ 29.293890] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.298287] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 29.302870] ? read_word_at_a_time+0x20/0x20 [ 29.307444] ? compat_start_thread+0x80/0x80 [ 29.311856] ? dequeue_entity+0x15e0/0x15e0 [ 29.316169] process_one_work+0xc73/0x1ba0 [ 29.320627] ? trace_hardirqs_on+0x10/0x10 [ 29.325089] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 29.329744] ? lock_repin_lock+0x430/0x430 [ 29.333979] ? __sched_text_start+0x8/0x8 [ 29.338112] ? lock_downgrade+0x8f0/0x8f0 [ 29.342268] ? lock_acquire+0x1e4/0x540 [ 29.346450] ? __update_idle_core+0x304/0x610 [ 29.350947] ? kasan_check_write+0x14/0x20 [ 29.355168] ? __mutex_unlock_slowpath+0x197/0x8c0 [ 29.360109] ? lock_downgrade+0x8f0/0x8f0 [ 29.364245] ? lock_acquire+0x1e4/0x540 [ 29.368218] ? worker_thread+0x3dc/0x13c0 [ 29.372354] ? lock_downgrade+0x8f0/0x8f0 [ 29.377459] ? lock_release+0xa30/0xa30 [ 29.381444] ? kasan_check_read+0x11/0x20 [ 29.385582] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.389975] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 29.394544] ? kasan_check_write+0x14/0x20 [ 29.398765] ? do_raw_spin_lock+0xc1/0x200 [ 29.402999] worker_thread+0x189/0x13c0 [ 29.406980] ? process_one_work+0x1ba0/0x1ba0 [ 29.411484] ? finish_task_switch+0x1d3/0x870 [ 29.415988] ? lock_acquire+0x1e4/0x540 [ 29.419953] ? __kthread_parkme+0xd7/0x1b0 [ 29.424176] ? lock_downgrade+0x8f0/0x8f0 [ 29.428324] ? kasan_check_read+0x11/0x20 [ 29.432471] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.436870] ? kasan_check_write+0x14/0x20 [ 29.441093] ? trace_hardirqs_on+0xd/0x10 [ 29.445228] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.450752] ? __kthread_parkme+0x106/0x1b0 [ 29.455059] kthread+0x345/0x410 [ 29.458427] ? process_one_work+0x1ba0/0x1ba0 [ 29.462924] ? kthread_bind+0x40/0x40 [ 29.466730] ret_from_fork+0x3a/0x50 [ 29.470441] [ 29.472053] Allocated by task 7361: [ 29.475681] save_stack+0x43/0xd0 [ 29.479137] kasan_kmalloc+0xc4/0xe0 [ 29.482851] kmem_cache_alloc_trace+0x152/0x780 [ 29.487525] p9_fd_create+0x1a7/0x3f0 [ 29.491339] p9_client_create+0x8ed/0x1770 [ 29.495570] v9fs_session_init+0x21a/0x1a80 [ 29.499879] v9fs_mount+0x7c/0x900 [ 29.503405] legacy_get_tree+0x118/0x440 [ 29.507449] vfs_get_tree+0x1cb/0x5c0 [ 29.511245] do_mount+0x6c1/0x1fb0 [ 29.514768] ksys_mount+0x12d/0x140 [ 29.518382] __x64_sys_mount+0xbe/0x150 [ 29.522353] do_syscall_64+0x1b9/0x820 [ 29.526230] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.531410] [ 29.533022] Freed by task 7361: [ 29.536290] save_stack+0x43/0xd0 [ 29.539734] __kasan_slab_free+0x11a/0x170 [ 29.544049] kasan_slab_free+0xe/0x10 [ 29.547844] kfree+0xd9/0x260 [ 29.550955] p9_fd_close+0x416/0x5b0 [ 29.554653] p9_client_create+0xa9a/0x1770 [ 29.558873] v9fs_session_init+0x21a/0x1a80 [ 29.563179] v9fs_mount+0x7c/0x900 [ 29.566704] legacy_get_tree+0x118/0x440 [ 29.570751] vfs_get_tree+0x1cb/0x5c0 [ 29.574538] do_mount+0x6c1/0x1fb0 [ 29.578164] ksys_mount+0x12d/0x140 [ 29.581788] __x64_sys_mount+0xbe/0x150 [ 29.585752] do_syscall_64+0x1b9/0x820 [ 29.589627] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.594796] [ 29.596428] The buggy address belongs to the object at ffff8801c3dff040 [ 29.596428] which belongs to the cache kmalloc-512 of size 512 [ 29.609075] The buggy address is located 288 bytes inside of [ 29.609075] 512-byte region [ffff8801c3dff040, ffff8801c3dff240) [ 29.620966] The buggy address belongs to the page: [ 29.625910] page:ffffea00070f7fc0 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 29.634042] flags: 0x2fffc0000000100(slab) [ 29.638265] raw: 02fffc0000000100 ffffea000728cc48 ffffea00070f8148 ffff8801da800940 [ 29.646133] raw: 0000000000000000 ffff8801c3dff040 0000000100000006 0000000000000000 [ 29.653992] page dumped because: kasan: bad access detected [ 29.659684] [ 29.661306] Memory state around the buggy address: [ 29.666218] ffff8801c3dff000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 29.673574] ffff8801c3dff080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.680917] >ffff8801c3dff100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.688280] ^ [ 29.694780] ffff8801c3dff180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.702842] ffff8801c3dff200: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 29.710206] ================================================================== [ 29.717555] Kernel panic - not syncing: panic_on_warn set ... [ 29.717555] [ 29.724923] CPU: 0 PID: 2138 Comm: kworker/0:2 Tainted: G B 4.18.0-rc4-next-20180713+ #7 [ 29.734448] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.743801] Workqueue: events p9_poll_workfn [ 29.748218] Call Trace: [ 29.750816] dump_stack+0x1c9/0x2b4 [ 29.754461] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.759653] ? lock_downgrade+0x8f0/0x8f0 [ 29.763787] ? work_is_static_object+0x39/0x40 [ 29.768372] panic+0x238/0x4e7 [ 29.771638] ? add_taint.cold.5+0x16/0x16 [ 29.775789] ? print_shadow_for_address+0xba/0x116 [ 29.780708] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.785115] ? work_is_static_object+0x39/0x40 [ 29.789680] kasan_end_report+0x47/0x4f [ 29.793653] kasan_report.cold.7+0x76/0x30d [ 29.797963] __asan_report_load8_noabort+0x14/0x20 [ 29.802881] work_is_static_object+0x39/0x40 [ 29.807286] debug_object_activate+0x2fc/0x690 [ 29.811859] ? __wake_up_common+0x740/0x740 [ 29.816170] ? debug_object_assert_init+0x4b0/0x4b0 [ 29.821614] __queue_work+0x1ca/0x1410 [ 29.825507] ? __wake_up+0xe/0x10 [ 29.828969] ? p9_client_cb+0x62/0x80 [ 29.832762] ? flush_rcu_work+0x90/0x90 [ 29.836726] ? p9_fd_cancelled+0x2f0/0x2f0 [ 29.840985] ? lock_acquire+0x1e4/0x540 [ 29.844956] ? p9_poll_workfn+0x3ec/0x6d0 [ 29.849108] ? lock_downgrade+0x8f0/0x8f0 [ 29.853262] ? kasan_check_read+0x11/0x20 [ 29.857401] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.861798] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 29.866384] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.871928] queue_work_on+0x19a/0x1e0 [ 29.875821] p9_poll_workfn+0x55e/0x6d0 [ 29.879803] ? p9_read_work+0x1060/0x1060 [ 29.883942] ? lock_acquire+0x1e4/0x540 [ 29.887905] ? process_one_work+0xb9b/0x1ba0 [ 29.892316] ? kasan_check_read+0x11/0x20 [ 29.896457] ? lock_release+0xa30/0xa30 [ 29.900419] ? kasan_check_read+0x11/0x20 [ 29.904557] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.908966] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 29.913549] ? read_word_at_a_time+0x20/0x20 [ 29.917949] ? compat_start_thread+0x80/0x80 [ 29.922345] ? dequeue_entity+0x15e0/0x15e0 [ 29.927003] process_one_work+0xc73/0x1ba0 [ 29.931230] ? trace_hardirqs_on+0x10/0x10 [ 29.935474] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 29.940127] ? lock_repin_lock+0x430/0x430 [ 29.944541] ? __sched_text_start+0x8/0x8 [ 29.948686] ? lock_downgrade+0x8f0/0x8f0 [ 29.952827] ? lock_acquire+0x1e4/0x540 [ 29.956802] ? __update_idle_core+0x304/0x610 [ 29.961298] ? kasan_check_write+0x14/0x20 [ 29.965522] ? __mutex_unlock_slowpath+0x197/0x8c0 [ 29.970540] ? lock_downgrade+0x8f0/0x8f0 [ 29.974689] ? lock_acquire+0x1e4/0x540 [ 29.978649] ? worker_thread+0x3dc/0x13c0 [ 29.982802] ? lock_downgrade+0x8f0/0x8f0 [ 29.986963] ? lock_release+0xa30/0xa30 [ 29.990925] ? kasan_check_read+0x11/0x20 [ 29.995071] ? do_raw_spin_unlock+0xa7/0x2f0 [ 29.999468] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.004039] ? kasan_check_write+0x14/0x20 [ 30.008276] ? do_raw_spin_lock+0xc1/0x200 [ 30.012588] worker_thread+0x189/0x13c0 [ 30.016568] ? process_one_work+0x1ba0/0x1ba0 [ 30.021070] ? finish_task_switch+0x1d3/0x870 [ 30.025571] ? lock_acquire+0x1e4/0x540 [ 30.029546] ? __kthread_parkme+0xd7/0x1b0 [ 30.033785] ? lock_downgrade+0x8f0/0x8f0 [ 30.037927] ? kasan_check_read+0x11/0x20 [ 30.042167] ? do_raw_spin_unlock+0xa7/0x2f0 [ 30.046563] ? kasan_check_write+0x14/0x20 [ 30.050800] ? trace_hardirqs_on+0xd/0x10 [ 30.054940] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.060473] ? __kthread_parkme+0x106/0x1b0 [ 30.064799] kthread+0x345/0x410 [ 30.068154] ? process_one_work+0x1ba0/0x1ba0 [ 30.072651] ? kthread_bind+0x40/0x40 [ 30.076441] ret_from_fork+0x3a/0x50 [ 30.080708] Dumping ftrace buffer: [ 30.084244] (ftrace buffer empty) [ 30.088027] Kernel Offset: disabled [ 30.091643] Rebooting in 86400 seconds..