[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 19.258294] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.207221] random: sshd: uninitialized urandom read (32 bytes read) [ 21.526960] random: sshd: uninitialized urandom read (32 bytes read) [ 22.419708] random: sshd: uninitialized urandom read (32 bytes read) [ 89.642057] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.7' (ECDSA) to the list of known hosts. [ 95.027380] 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 [ 99.512321] ================================================================== [ 99.521317] BUG: KASAN: use-after-free in p9_conn_cancel+0x9fc/0xd30 [ 99.527798] Read of size 8 at addr ffff8801d8f1c7e0 by task kworker/1:0/19 [ 99.534788] [ 99.536399] CPU: 1 PID: 19 Comm: kworker/1:0 Not tainted 4.18.0-rc6+ #160 [ 99.543302] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 99.552648] Workqueue: events p9_poll_workfn [ 99.557037] Call Trace: [ 99.559606] dump_stack+0x1c9/0x2b4 [ 99.563216] ? dump_stack_print_info.cold.2+0x52/0x52 [ 99.568396] ? printk+0xa7/0xcf [ 99.571654] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 99.576391] ? p9_conn_cancel+0x9fc/0xd30 [ 99.580529] print_address_description+0x6c/0x20b [ 99.585365] ? p9_conn_cancel+0x9fc/0xd30 [ 99.589490] kasan_report.cold.7+0x242/0x2fe [ 99.593880] __asan_report_load8_noabort+0x14/0x20 [ 99.598789] p9_conn_cancel+0x9fc/0xd30 [ 99.602754] ? p9_fd_cancelled+0x2f0/0x2f0 [ 99.606978] ? lock_downgrade+0x8f0/0x8f0 [ 99.611111] ? mark_held_locks+0xc9/0x160 [ 99.615249] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 99.619817] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 99.625343] ? generic_pipe_buf_confirm+0x10/0x10 [ 99.630167] p9_poll_workfn+0x4b2/0x6d0 [ 99.634127] ? p9_read_work+0x1060/0x1060 [ 99.638270] ? graph_lock+0x170/0x170 [ 99.642050] ? lock_acquire+0x1e4/0x540 [ 99.646004] ? process_one_work+0xb9b/0x1ba0 [ 99.650389] ? kasan_check_read+0x11/0x20 [ 99.654519] ? __lock_is_held+0xb5/0x140 [ 99.658564] process_one_work+0xc73/0x1ba0 [ 99.662777] ? trace_hardirqs_on+0x10/0x10 [ 99.666997] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 99.671648] ? lock_repin_lock+0x430/0x430 [ 99.675883] ? __sched_text_start+0x8/0x8 [ 99.680015] ? graph_lock+0x170/0x170 [ 99.683796] ? lock_downgrade+0x8f0/0x8f0 [ 99.687927] ? kasan_check_read+0x11/0x20 [ 99.692055] ? do_raw_spin_unlock+0xa7/0x2f0 [ 99.696449] ? lock_acquire+0x1e4/0x540 [ 99.700403] ? worker_thread+0x3dc/0x13c0 [ 99.704530] ? lock_downgrade+0x8f0/0x8f0 [ 99.708671] ? lock_release+0xa30/0xa30 [ 99.712629] ? kasan_check_read+0x11/0x20 [ 99.716755] ? do_raw_spin_unlock+0xa7/0x2f0 [ 99.721140] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 99.725702] ? kasan_check_write+0x14/0x20 [ 99.729914] ? do_raw_spin_lock+0xc1/0x200 [ 99.734131] worker_thread+0x189/0x13c0 [ 99.738103] ? process_one_work+0x1ba0/0x1ba0 [ 99.742581] ? graph_lock+0x170/0x170 [ 99.746361] ? graph_lock+0x170/0x170 [ 99.750141] ? find_held_lock+0x36/0x1c0 [ 99.754190] ? find_held_lock+0x36/0x1c0 [ 99.758253] ? lock_downgrade+0x8f0/0x8f0 [ 99.762395] ? kasan_check_read+0x11/0x20 [ 99.766524] ? do_raw_spin_unlock+0xa7/0x2f0 [ 99.770929] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 99.776013] ? __kthread_parkme+0x58/0x1b0 [ 99.780231] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 99.785228] ? trace_hardirqs_on+0xd/0x10 [ 99.789359] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 99.794884] ? __kthread_parkme+0x106/0x1b0 [ 99.799186] kthread+0x345/0x410 [ 99.802532] ? process_one_work+0x1ba0/0x1ba0 [ 99.807004] ? kthread_bind+0x40/0x40 [ 99.810785] ret_from_fork+0x3a/0x50 [ 99.814490] [ 99.816109] Allocated by task 4793: [ 99.819716] save_stack+0x43/0xd0 [ 99.823150] kasan_kmalloc+0xc4/0xe0 [ 99.826845] kmem_cache_alloc_trace+0x152/0x780 [ 99.831503] p9_fd_create+0x1a7/0x3f0 [ 99.835287] p9_client_create+0x8ed/0x1770 [ 99.839502] v9fs_session_init+0x21a/0x1a80 [ 99.843811] v9fs_mount+0x7c/0x900 [ 99.847328] mount_fs+0xae/0x328 [ 99.850675] vfs_kern_mount.part.34+0xdc/0x4e0 [ 99.855238] do_mount+0x581/0x30e0 [ 99.858756] ksys_mount+0x12d/0x140 [ 99.862362] __x64_sys_mount+0xbe/0x150 [ 99.866317] do_syscall_64+0x1b9/0x820 [ 99.870184] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 99.875346] [ 99.876951] Freed by task 4793: [ 99.880208] save_stack+0x43/0xd0 [ 99.883640] __kasan_slab_free+0x11a/0x170 [ 99.887852] kasan_slab_free+0xe/0x10 [ 99.891631] kfree+0xd9/0x260 [ 99.894715] p9_fd_close+0x416/0x5b0 [ 99.898408] p9_client_create+0xa9a/0x1770 [ 99.902633] v9fs_session_init+0x21a/0x1a80 [ 99.906938] v9fs_mount+0x7c/0x900 [ 99.910458] mount_fs+0xae/0x328 [ 99.913804] vfs_kern_mount.part.34+0xdc/0x4e0 [ 99.918366] do_mount+0x581/0x30e0 [ 99.921887] ksys_mount+0x12d/0x140 [ 99.925492] __x64_sys_mount+0xbe/0x150 [ 99.929449] do_syscall_64+0x1b9/0x820 [ 99.933315] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 99.938479] [ 99.940088] The buggy address belongs to the object at ffff8801d8f1c7c0 [ 99.940088] which belongs to the cache kmalloc-512 of size 512 [ 99.952738] The buggy address is located 32 bytes inside of [ 99.952738] 512-byte region [ffff8801d8f1c7c0, ffff8801d8f1c9c0) [ 99.964505] The buggy address belongs to the page: [ 99.969415] page:ffffea000763c700 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 99.977537] flags: 0x2fffc0000000100(slab) [ 99.981755] raw: 02fffc0000000100 ffffea0006b31548 ffffea00073d5448 ffff8801da800940 [ 99.989615] raw: 0000000000000000 ffff8801d8f1c040 0000000100000006 0000000000000000 [ 99.997472] page dumped because: kasan: bad access detected [ 100.003156] [ 100.004768] Memory state around the buggy address: [ 100.009675] ffff8801d8f1c680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 100.017020] ffff8801d8f1c700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 100.024355] >ffff8801d8f1c780: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 100.031692] ^ [ 100.038160] ffff8801d8f1c800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 100.045493] ffff8801d8f1c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 100.052828] ================================================================== executing program [ 100.060284] Disabling lock debugging due to kernel taint [ 100.065918] Kernel panic - not syncing: panic_on_warn set ... [ 100.065918] [ 100.073269] CPU: 1 PID: 19 Comm: kworker/1:0 Tainted: G B 4.18.0-rc6+ #160 [ 100.081558] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 100.090923] Workqueue: events p9_poll_workfn [ 100.095319] Call Trace: [ 100.097886] dump_stack+0x1c9/0x2b4 [ 100.101492] ? dump_stack_print_info.cold.2+0x52/0x52 [ 100.106660] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 100.111403] panic+0x238/0x4e7 [ 100.114572] ? add_taint.cold.5+0x16/0x16 [ 100.118701] ? do_raw_spin_unlock+0xa7/0x2f0 [ 100.123090] ? p9_conn_cancel+0x9fc/0xd30 [ 100.127215] kasan_end_report+0x47/0x4f [ 100.131178] kasan_report.cold.7+0x76/0x2fe [ 100.135477] __asan_report_load8_noabort+0x14/0x20 [ 100.140385] p9_conn_cancel+0x9fc/0xd30 [ 100.144336] ? p9_fd_cancelled+0x2f0/0x2f0 [ 100.148551] ? lock_downgrade+0x8f0/0x8f0 [ 100.152675] ? mark_held_locks+0xc9/0x160 [ 100.156797] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 100.161355] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 100.166870] ? generic_pipe_buf_confirm+0x10/0x10 [ 100.171687] p9_poll_workfn+0x4b2/0x6d0 [ 100.175637] ? p9_read_work+0x1060/0x1060 [ 100.179762] ? graph_lock+0x170/0x170 [ 100.183541] ? lock_acquire+0x1e4/0x540 [ 100.187492] ? process_one_work+0xb9b/0x1ba0 [ 100.191891] ? kasan_check_read+0x11/0x20 [ 100.196019] ? __lock_is_held+0xb5/0x140 [ 100.200058] process_one_work+0xc73/0x1ba0 [ 100.204270] ? trace_hardirqs_on+0x10/0x10 [ 100.208486] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 100.213130] ? lock_repin_lock+0x430/0x430 [ 100.217347] ? __sched_text_start+0x8/0x8 [ 100.221470] ? graph_lock+0x170/0x170 [ 100.225261] ? lock_downgrade+0x8f0/0x8f0 [ 100.229388] ? kasan_check_read+0x11/0x20 [ 100.233511] ? do_raw_spin_unlock+0xa7/0x2f0 [ 100.237898] ? lock_acquire+0x1e4/0x540 [ 100.241847] ? worker_thread+0x3dc/0x13c0 [ 100.245980] ? lock_downgrade+0x8f0/0x8f0 [ 100.250104] ? lock_release+0xa30/0xa30 [ 100.254058] ? kasan_check_read+0x11/0x20 [ 100.258184] ? do_raw_spin_unlock+0xa7/0x2f0 [ 100.262585] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 100.267148] ? kasan_check_write+0x14/0x20 [ 100.271360] ? do_raw_spin_lock+0xc1/0x200 [ 100.275571] worker_thread+0x189/0x13c0 [ 100.279527] ? process_one_work+0x1ba0/0x1ba0 [ 100.284004] ? graph_lock+0x170/0x170 [ 100.287781] ? graph_lock+0x170/0x170 [ 100.291558] ? find_held_lock+0x36/0x1c0 [ 100.295595] ? find_held_lock+0x36/0x1c0 [ 100.299644] ? lock_downgrade+0x8f0/0x8f0 [ 100.303772] ? kasan_check_read+0x11/0x20 [ 100.307896] ? do_raw_spin_unlock+0xa7/0x2f0 [ 100.312282] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 100.317372] ? __kthread_parkme+0x58/0x1b0 [ 100.321584] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 100.326577] ? trace_hardirqs_on+0xd/0x10 [ 100.330704] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 100.336221] ? __kthread_parkme+0x106/0x1b0 [ 100.340519] kthread+0x345/0x410 [ 100.343861] ? process_one_work+0x1ba0/0x1ba0 [ 100.348329] ? kthread_bind+0x40/0x40 [ 100.352109] ret_from_fork+0x3a/0x50 [ 100.356218] Dumping ftrace buffer: [ 100.359739] (ftrace buffer empty) [ 100.363425] Kernel Offset: disabled [ 100.367033] Rebooting in 86400 seconds..