[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 20.556815] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 20.856150] random: sshd: uninitialized urandom read (32 bytes read) [ 21.175421] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.008638] random: sshd: uninitialized urandom read (32 bytes read) [ 26.354930] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.46' (ECDSA) to the list of known hosts. [ 31.856871] 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 [ 38.215211] ================================================================== [ 38.222694] BUG: KASAN: use-after-free in work_is_static_object+0x39/0x40 [ 38.229600] Read of size 8 at addr ffff8801d812d8e0 by task kworker/1:1/25 [ 38.236595] [ 38.238206] CPU: 1 PID: 25 Comm: kworker/1:1 Not tainted 4.18.0-rc4+ #139 [ 38.245109] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.254454] Workqueue: events p9_poll_workfn [ 38.258845] Call Trace: [ 38.261421] dump_stack+0x1c9/0x2b4 [ 38.265030] ? dump_stack_print_info.cold.2+0x52/0x52 [ 38.270199] ? printk+0xa7/0xcf [ 38.273462] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 38.278208] ? work_is_static_object+0x39/0x40 [ 38.282777] print_address_description+0x6c/0x20b [ 38.287599] ? work_is_static_object+0x39/0x40 [ 38.292176] kasan_report.cold.7+0x242/0x2fe [ 38.296567] __asan_report_load8_noabort+0x14/0x20 [ 38.301473] work_is_static_object+0x39/0x40 [ 38.305862] debug_object_activate+0x2fc/0x690 [ 38.310423] ? __wake_up_common+0x740/0x740 [ 38.314730] ? debug_object_assert_init+0x4b0/0x4b0 [ 38.319740] ? mark_held_locks+0xc9/0x160 [ 38.323871] __queue_work+0x1ca/0x1410 [ 38.327738] ? __wake_up+0xe/0x10 [ 38.331170] ? p9_client_cb+0x62/0x80 [ 38.334961] ? flush_rcu_work+0x90/0x90 [ 38.338917] ? p9_fd_cancelled+0x2f0/0x2f0 [ 38.343138] ? lock_downgrade+0x8f0/0x8f0 [ 38.347275] ? mark_held_locks+0xc9/0x160 [ 38.351402] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.355972] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.361491] queue_work_on+0x19a/0x1e0 [ 38.365360] p9_poll_workfn+0x55e/0x6d0 [ 38.369316] ? p9_read_work+0x1060/0x1060 [ 38.373470] ? graph_lock+0x170/0x170 [ 38.377271] ? lock_acquire+0x1e4/0x540 [ 38.381228] ? process_one_work+0xb9b/0x1ba0 [ 38.385634] ? kasan_check_read+0x11/0x20 [ 38.389768] ? __lock_is_held+0xb5/0x140 [ 38.393815] process_one_work+0xc73/0x1ba0 [ 38.398030] ? trace_hardirqs_on+0x10/0x10 [ 38.402250] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 38.406905] ? lock_repin_lock+0x430/0x430 [ 38.411130] ? __sched_text_start+0x8/0x8 [ 38.415258] ? lock_downgrade+0x8f0/0x8f0 [ 38.419388] ? retint_kernel+0x10/0x10 [ 38.423267] ? graph_lock+0x170/0x170 [ 38.427054] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.431799] ? lock_acquire+0x1e4/0x540 [ 38.435765] ? worker_thread+0x3dc/0x13c0 [ 38.439894] ? lock_downgrade+0x8f0/0x8f0 [ 38.444029] ? lock_release+0xa30/0xa30 [ 38.447988] ? kasan_check_read+0x11/0x20 [ 38.452116] ? do_raw_spin_unlock+0xa7/0x2f0 [ 38.456503] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.461877] ? kasan_check_write+0x14/0x20 [ 38.466099] ? do_raw_spin_lock+0xc1/0x200 [ 38.470328] worker_thread+0x189/0x13c0 [ 38.474292] ? process_one_work+0x1ba0/0x1ba0 [ 38.479121] ? graph_lock+0x170/0x170 [ 38.482903] ? graph_lock+0x170/0x170 [ 38.486684] ? find_held_lock+0x36/0x1c0 [ 38.490743] ? find_held_lock+0x36/0x1c0 [ 38.494798] ? kasan_check_read+0x11/0x20 [ 38.498925] ? do_raw_spin_unlock+0xa7/0x2f0 [ 38.503317] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 38.508422] ? __kthread_parkme+0x58/0x1b0 [ 38.512652] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 38.517652] ? trace_hardirqs_on+0xd/0x10 [ 38.521782] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 38.527303] ? __kthread_parkme+0x106/0x1b0 [ 38.531628] kthread+0x345/0x410 [ 38.534976] ? process_one_work+0x1ba0/0x1ba0 [ 38.539450] ? kthread_bind+0x40/0x40 [ 38.543232] ret_from_fork+0x3a/0x50 [ 38.546924] [ 38.548553] Allocated by task 4933: [ 38.552169] save_stack+0x43/0xd0 [ 38.555601] kasan_kmalloc+0xc4/0xe0 [ 38.559295] kmem_cache_alloc_trace+0x152/0x780 [ 38.563943] p9_fd_create+0x1a7/0x3f0 [ 38.567723] p9_client_create+0x915/0x16c9 [ 38.571937] v9fs_session_init+0x21a/0x1a80 [ 38.576235] v9fs_mount+0x7c/0x900 [ 38.579755] mount_fs+0xae/0x328 [ 38.583097] vfs_kern_mount.part.34+0xdc/0x4e0 [ 38.587655] do_mount+0x581/0x30e0 [ 38.591172] ksys_mount+0x12d/0x140 [ 38.594776] __x64_sys_mount+0xbe/0x150 [ 38.598727] do_syscall_64+0x1b9/0x820 [ 38.602592] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.607758] [ 38.609363] Freed by task 4933: [ 38.612627] save_stack+0x43/0xd0 [ 38.616057] __kasan_slab_free+0x11a/0x170 [ 38.620276] kasan_slab_free+0xe/0x10 [ 38.624063] kfree+0xd9/0x260 [ 38.627243] p9_fd_close+0x416/0x5b0 [ 38.630940] p9_client_create+0xac2/0x16c9 [ 38.635156] v9fs_session_init+0x21a/0x1a80 [ 38.639719] v9fs_mount+0x7c/0x900 [ 38.643239] mount_fs+0xae/0x328 [ 38.646586] vfs_kern_mount.part.34+0xdc/0x4e0 [ 38.651156] do_mount+0x581/0x30e0 [ 38.654685] ksys_mount+0x12d/0x140 [ 38.658289] __x64_sys_mount+0xbe/0x150 [ 38.662243] do_syscall_64+0x1b9/0x820 [ 38.666114] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.671289] [ 38.672897] The buggy address belongs to the object at ffff8801d812d7c0 [ 38.672897] which belongs to the cache kmalloc-512 of size 512 [ 38.685924] The buggy address is located 288 bytes inside of [ 38.685924] 512-byte region [ffff8801d812d7c0, ffff8801d812d9c0) [ 38.697782] The buggy address belongs to the page: [ 38.702691] page:ffffea0007604b40 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 38.710811] flags: 0x2fffc0000000100(slab) [ 38.715029] raw: 02fffc0000000100 ffffea0007602388 ffffea000760e348 ffff8801da800940 [ 38.722892] raw: 0000000000000000 ffff8801d812d040 0000000100000006 0000000000000000 [ 38.730745] page dumped because: kasan: bad access detected [ 38.736428] [ 38.738029] Memory state around the buggy address: [ 38.742934] ffff8801d812d780: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 38.750369] ffff8801d812d800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.757714] >ffff8801d812d880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.765048] ^ [ 38.771551] ffff8801d812d900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.778889] ffff8801d812d980: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 38.786224] ================================================================== [ 38.793559] Disabling lock debugging due to kernel taint [ 38.798984] Kernel panic - not syncing: panic_on_warn set ... [ 38.798984] [ 38.806325] CPU: 1 PID: 25 Comm: kworker/1:1 Tainted: G B 4.18.0-rc4+ #139 [ 38.814626] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.824076] Workqueue: events p9_poll_workfn [ 38.828467] Call Trace: [ 38.831045] dump_stack+0x1c9/0x2b4 [ 38.834662] ? dump_stack_print_info.cold.2+0x52/0x52 [ 38.839849] ? lock_downgrade+0x8f0/0x8f0 [ 38.843977] panic+0x238/0x4e7 [ 38.847148] ? add_taint.cold.5+0x16/0x16 [ 38.851277] ? add_taint.cold.5+0x5/0x16 [ 38.855316] ? do_raw_spin_unlock+0xa7/0x2f0 [ 38.859706] ? work_is_static_object+0x39/0x40 [ 38.864265] kasan_end_report+0x47/0x4f [ 38.868215] kasan_report.cold.7+0x76/0x2fe [ 38.872514] __asan_report_load8_noabort+0x14/0x20 [ 38.877420] work_is_static_object+0x39/0x40 [ 38.881814] debug_object_activate+0x2fc/0x690 [ 38.886382] ? __wake_up_common+0x740/0x740 [ 38.890693] ? debug_object_assert_init+0x4b0/0x4b0 [ 38.895690] ? mark_held_locks+0xc9/0x160 [ 38.899820] __queue_work+0x1ca/0x1410 [ 38.903684] ? __wake_up+0xe/0x10 [ 38.907113] ? p9_client_cb+0x62/0x80 [ 38.910902] ? flush_rcu_work+0x90/0x90 [ 38.914854] ? p9_fd_cancelled+0x2f0/0x2f0 [ 38.919094] ? lock_downgrade+0x8f0/0x8f0 [ 38.923223] ? mark_held_locks+0xc9/0x160 [ 38.927353] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.931919] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.937434] queue_work_on+0x19a/0x1e0 [ 38.941308] p9_poll_workfn+0x55e/0x6d0 [ 38.945270] ? p9_read_work+0x1060/0x1060 [ 38.949396] ? graph_lock+0x170/0x170 [ 38.953187] ? lock_acquire+0x1e4/0x540 [ 38.957146] ? process_one_work+0xb9b/0x1ba0 [ 38.961545] ? kasan_check_read+0x11/0x20 [ 38.965684] ? __lock_is_held+0xb5/0x140 [ 38.969726] process_one_work+0xc73/0x1ba0 [ 38.973938] ? trace_hardirqs_on+0x10/0x10 [ 38.978178] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 38.982858] ? lock_repin_lock+0x430/0x430 [ 38.987103] ? __sched_text_start+0x8/0x8 [ 38.991238] ? lock_downgrade+0x8f0/0x8f0 [ 38.995370] ? retint_kernel+0x10/0x10 [ 38.999246] ? graph_lock+0x170/0x170 [ 39.003030] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 39.007772] ? lock_acquire+0x1e4/0x540 [ 39.011724] ? worker_thread+0x3dc/0x13c0 [ 39.015848] ? lock_downgrade+0x8f0/0x8f0 [ 39.019976] ? lock_release+0xa30/0xa30 [ 39.023944] ? kasan_check_read+0x11/0x20 [ 39.028069] ? do_raw_spin_unlock+0xa7/0x2f0 [ 39.032454] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 39.037014] ? kasan_check_write+0x14/0x20 [ 39.041223] ? do_raw_spin_lock+0xc1/0x200 [ 39.045433] worker_thread+0x189/0x13c0 [ 39.049392] ? process_one_work+0x1ba0/0x1ba0 [ 39.053866] ? graph_lock+0x170/0x170 [ 39.057645] ? graph_lock+0x170/0x170 [ 39.061422] ? find_held_lock+0x36/0x1c0 [ 39.065463] ? find_held_lock+0x36/0x1c0 [ 39.069511] ? kasan_check_read+0x11/0x20 [ 39.073635] ? do_raw_spin_unlock+0xa7/0x2f0 [ 39.078024] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 39.083104] ? __kthread_parkme+0x58/0x1b0 [ 39.087316] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 39.092308] ? trace_hardirqs_on+0xd/0x10 [ 39.096436] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 39.101948] ? __kthread_parkme+0x106/0x1b0 [ 39.106246] kthread+0x345/0x410 [ 39.109589] ? process_one_work+0x1ba0/0x1ba0 [ 39.114059] ? kthread_bind+0x40/0x40 [ 39.117837] ret_from_fork+0x3a/0x50 [ 39.122004] Dumping ftrace buffer: [ 39.125525] (ftrace buffer empty) [ 39.129211] Kernel Offset: disabled [ 39.132821] Rebooting in 86400 seconds..