[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 20.038413] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.579315] random: sshd: uninitialized urandom read (32 bytes read) [ 23.973402] random: sshd: uninitialized urandom read (32 bytes read) [ 24.838167] random: sshd: uninitialized urandom read (32 bytes read) [ 24.994681] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.1' (ECDSA) to the list of known hosts. [ 30.516218] 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 [ 36.427087] ================================================================== [ 36.434612] BUG: KASAN: use-after-free in p9_conn_cancel+0xc9e/0xd30 [ 36.441104] Read of size 8 at addr ffff8801c4ac82a0 by task kworker/0:2/27 [ 36.448098] [ 36.449715] CPU: 0 PID: 27 Comm: kworker/0:2 Not tainted 4.18.0-rc4+ #141 [ 36.456634] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.465994] Workqueue: events p9_poll_workfn [ 36.470404] Call Trace: [ 36.472981] dump_stack+0x1c9/0x2b4 [ 36.476616] ? dump_stack_print_info.cold.2+0x52/0x52 [ 36.481803] ? printk+0xa7/0xcf [ 36.485070] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 36.489814] ? p9_conn_cancel+0xc9e/0xd30 [ 36.493948] print_address_description+0x6c/0x20b [ 36.498793] ? p9_conn_cancel+0xc9e/0xd30 [ 36.502926] kasan_report.cold.7+0x242/0x2fe [ 36.507322] __asan_report_load8_noabort+0x14/0x20 [ 36.512240] p9_conn_cancel+0xc9e/0xd30 [ 36.516207] ? p9_fd_cancelled+0x2f0/0x2f0 [ 36.520445] ? lock_downgrade+0x8f0/0x8f0 [ 36.524591] ? mark_held_locks+0xc9/0x160 [ 36.528730] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 36.533315] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 36.538426] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 36.543431] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.548968] p9_poll_workfn+0x4b2/0x6d0 [ 36.552944] ? p9_read_work+0x1060/0x1060 [ 36.557179] ? graph_lock+0x170/0x170 [ 36.560971] ? lock_acquire+0x1e4/0x540 [ 36.565026] ? process_one_work+0xb9b/0x1ba0 [ 36.569434] ? kasan_check_read+0x11/0x20 [ 36.573572] ? __lock_is_held+0xb5/0x140 [ 36.577625] process_one_work+0xc73/0x1ba0 [ 36.581847] ? trace_hardirqs_on+0x10/0x10 [ 36.586074] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 36.590730] ? lock_repin_lock+0x430/0x430 [ 36.594965] ? __sched_text_start+0x8/0x8 [ 36.599110] ? lock_downgrade+0x8f0/0x8f0 [ 36.603267] ? graph_lock+0x170/0x170 [ 36.607054] ? graph_lock+0x170/0x170 [ 36.611037] ? lock_acquire+0x1e4/0x540 [ 36.614998] ? worker_thread+0x3dc/0x13c0 [ 36.619149] ? lock_downgrade+0x8f0/0x8f0 [ 36.623287] ? lock_release+0xa30/0xa30 [ 36.627261] ? kasan_check_read+0x11/0x20 [ 36.631398] ? do_raw_spin_unlock+0xa7/0x2f0 [ 36.635800] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 36.640384] ? kasan_check_write+0x14/0x20 [ 36.644616] ? do_raw_spin_lock+0xc1/0x200 [ 36.648841] worker_thread+0x189/0x13c0 [ 36.652811] ? process_one_work+0x1ba0/0x1ba0 [ 36.657293] ? graph_lock+0x170/0x170 [ 36.661083] ? graph_lock+0x170/0x170 [ 36.664893] ? find_held_lock+0x36/0x1c0 [ 36.668946] ? find_held_lock+0x36/0x1c0 [ 36.673022] ? kasan_check_read+0x11/0x20 [ 36.677165] ? do_raw_spin_unlock+0xa7/0x2f0 [ 36.681571] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 36.686759] ? __kthread_parkme+0x58/0x1b0 [ 36.691001] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 36.696011] ? trace_hardirqs_on+0xd/0x10 [ 36.700155] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 36.705680] ? __kthread_parkme+0x106/0x1b0 [ 36.709990] kthread+0x345/0x410 [ 36.713350] ? process_one_work+0x1ba0/0x1ba0 [ 36.717844] ? kthread_bind+0x40/0x40 [ 36.721634] ret_from_fork+0x3a/0x50 [ 36.725334] [ 36.726948] Allocated by task 7244: [ 36.730581] save_stack+0x43/0xd0 [ 36.734279] kasan_kmalloc+0xc4/0xe0 [ 36.737979] kmem_cache_alloc_trace+0x152/0x780 [ 36.742648] p9_fd_create+0x1a7/0x3f0 [ 36.746445] p9_client_create+0x915/0x16c9 [ 36.750667] v9fs_session_init+0x21a/0x1a80 [ 36.754983] v9fs_mount+0x7c/0x900 [ 36.758596] mount_fs+0xae/0x328 [ 36.761957] vfs_kern_mount.part.34+0xdc/0x4e0 [ 36.766523] do_mount+0x581/0x30e0 [ 36.770047] ksys_mount+0x12d/0x140 [ 36.773670] __x64_sys_mount+0xbe/0x150 [ 36.777630] do_syscall_64+0x1b9/0x820 [ 36.781521] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.786774] [ 36.788386] Freed by task 7244: [ 36.791662] save_stack+0x43/0xd0 [ 36.795111] __kasan_slab_free+0x11a/0x170 [ 36.799428] kasan_slab_free+0xe/0x10 [ 36.803210] kfree+0xd9/0x260 [ 36.806312] p9_fd_close+0x416/0x5b0 [ 36.810011] p9_client_create+0xac2/0x16c9 [ 36.814855] v9fs_session_init+0x21a/0x1a80 [ 36.819173] v9fs_mount+0x7c/0x900 [ 36.822696] mount_fs+0xae/0x328 [ 36.826047] vfs_kern_mount.part.34+0xdc/0x4e0 [ 36.830609] do_mount+0x581/0x30e0 [ 36.834151] ksys_mount+0x12d/0x140 [ 36.837767] __x64_sys_mount+0xbe/0x150 [ 36.841725] do_syscall_64+0x1b9/0x820 [ 36.845598] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.850764] [ 36.852388] The buggy address belongs to the object at ffff8801c4ac8280 [ 36.852388] which belongs to the cache kmalloc-512 of size 512 [ 36.865044] The buggy address is located 32 bytes inside of [ 36.865044] 512-byte region [ffff8801c4ac8280, ffff8801c4ac8480) [ 36.876900] The buggy address belongs to the page: [ 36.881813] page:ffffea000712b200 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 36.889954] flags: 0x2fffc0000000100(slab) [ 36.894199] raw: 02fffc0000000100 ffffea000710fc08 ffffea00070c5348 ffff8801da800940 [ 36.902066] raw: 0000000000000000 ffff8801c4ac8000 0000000100000006 0000000000000000 [ 36.909926] page dumped because: kasan: bad access detected [ 36.915614] [ 36.917225] Memory state around the buggy address: [ 36.922164] ffff8801c4ac8180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.929509] ffff8801c4ac8200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.936938] >ffff8801c4ac8280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.944278] ^ [ 36.948681] ffff8801c4ac8300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.956039] ffff8801c4ac8380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.963390] ================================================================== [ 36.970731] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program executing program [ 36.976375] Kernel panic - not syncing: panic_on_warn set ... [ 36.976375] [ 36.984008] CPU: 0 PID: 27 Comm: kworker/0:2 Tainted: G B 4.18.0-rc4+ #141 [ 36.992347] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.001741] Workqueue: events p9_poll_workfn [ 37.006172] Call Trace: [ 37.008880] dump_stack+0x1c9/0x2b4 [ 37.012544] ? dump_stack_print_info.cold.2+0x52/0x52 [ 37.017743] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 37.022506] panic+0x238/0x4e7 [ 37.025713] ? add_taint.cold.5+0x16/0x16 executing program executing program executing program executing program executing program executing program executing program [ 37.029875] ? do_raw_spin_unlock+0xa7/0x2f0 [ 37.034287] ? p9_conn_cancel+0xc9e/0xd30 [ 37.038447] kasan_end_report+0x47/0x4f [ 37.042416] kasan_report.cold.7+0x76/0x2fe [ 37.046744] __asan_report_load8_noabort+0x14/0x20 [ 37.051678] p9_conn_cancel+0xc9e/0xd30 [ 37.055682] ? p9_fd_cancelled+0x2f0/0x2f0 [ 37.059929] ? lock_downgrade+0x8f0/0x8f0 [ 37.064091] ? mark_held_locks+0xc9/0x160 [ 37.068245] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 37.072850] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 37.077983] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 37.083007] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.090220] p9_poll_workfn+0x4b2/0x6d0 [ 37.094241] ? p9_read_work+0x1060/0x1060 [ 37.098490] ? graph_lock+0x170/0x170 [ 37.102297] ? lock_acquire+0x1e4/0x540 [ 37.106289] ? process_one_work+0xb9b/0x1ba0 [ 37.110715] ? kasan_check_read+0x11/0x20 [ 37.114879] ? __lock_is_held+0xb5/0x140 [ 37.118947] process_one_work+0xc73/0x1ba0 [ 37.123181] ? trace_hardirqs_on+0x10/0x10 [ 37.127444] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 37.132158] ? lock_repin_lock+0x430/0x430 [ 37.136420] ? __sched_text_start+0x8/0x8 [ 37.140595] ? lock_downgrade+0x8f0/0x8f0 [ 37.144777] ? graph_lock+0x170/0x170 [ 37.148594] ? graph_lock+0x170/0x170 [ 37.152405] ? lock_acquire+0x1e4/0x540 [ 37.156385] ? worker_thread+0x3dc/0x13c0 [ 37.160544] ? lock_downgrade+0x8f0/0x8f0 [ 37.165038] ? lock_release+0xa30/0xa30 [ 37.169022] ? kasan_check_read+0x11/0x20 [ 37.173172] ? do_raw_spin_unlock+0xa7/0x2f0 [ 37.177575] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 37.182160] ? kasan_check_write+0x14/0x20 [ 37.186405] ? do_raw_spin_lock+0xc1/0x200 [ 37.190741] worker_thread+0x189/0x13c0 [ 37.194717] ? process_one_work+0x1ba0/0x1ba0 [ 37.199208] ? graph_lock+0x170/0x170 [ 37.203013] ? graph_lock+0x170/0x170 [ 37.206819] ? find_held_lock+0x36/0x1c0 [ 37.210887] ? find_held_lock+0x36/0x1c0 [ 37.215050] ? kasan_check_read+0x11/0x20 [ 37.219208] ? do_raw_spin_unlock+0xa7/0x2f0 [ 37.223724] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 37.229879] ? __kthread_parkme+0x58/0x1b0 [ 37.234210] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 37.239226] ? trace_hardirqs_on+0xd/0x10 [ 37.243370] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 37.248904] ? __kthread_parkme+0x106/0x1b0 [ 37.253251] kthread+0x345/0x410 [ 37.256617] ? process_one_work+0x1ba0/0x1ba0 [ 37.261109] ? kthread_bind+0x40/0x40 [ 37.264923] ret_from_fork+0x3a/0x50 [ 37.269208] Dumping ftrace buffer: [ 37.272747] (ftrace buffer empty) [ 37.276439] Kernel Offset: disabled [ 37.280047] Rebooting in 86400 seconds..