[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 12.482132] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 19.424001] random: sshd: uninitialized urandom read (32 bytes read) [ 19.792181] random: sshd: uninitialized urandom read (32 bytes read) [ 20.708743] random: sshd: uninitialized urandom read (32 bytes read) [ 36.618669] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.4' (ECDSA) to the list of known hosts. [ 42.060516] 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 [ 42.534693] ================================================================== [ 42.542081] BUG: KASAN: use-after-free in work_is_static_object+0x39/0x40 [ 42.548991] Read of size 8 at addr ffff8801c737f7a0 by task kworker/1:1/24 [ 42.555997] [ 42.557624] CPU: 1 PID: 24 Comm: kworker/1:1 Not tainted 4.9.112-g9e79039 #7 [ 42.564778] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.574117] Workqueue: events p9_poll_workfn [ 42.578616] ffff8801d940f9c8 ffffffff81eb3249 ffffea00071cdf80 ffff8801c737f7a0 [ 42.586598] 0000000000000000 ffff8801c737f7a0 0000000000000000 ffff8801d940fa00 [ 42.594579] ffffffff81567bd9 ffff8801c737f7a0 0000000000000008 0000000000000000 [ 42.602563] Call Trace: [ 42.605123] [] dump_stack+0xc1/0x128 [ 42.610460] [] print_address_description+0x6c/0x234 [ 42.617095] [] kasan_report.cold.6+0x242/0x2fe [ 42.623298] [] ? work_is_static_object+0x39/0x40 [ 42.629692] [] __asan_report_load8_noabort+0x14/0x20 [ 42.636427] [] work_is_static_object+0x39/0x40 [ 42.642634] [] debug_object_activate+0x22d/0x4e0 [ 42.649011] [] ? debug_object_assert_init+0x380/0x380 [ 42.655821] [] ? ep_eventpoll_poll+0x15e/0x1d0 [ 42.662028] [] __queue_work+0x48/0xf10 [ 42.667557] [] ? mark_held_locks+0xc7/0x130 [ 42.673514] [] ? mounts_poll+0x157/0x1b0 [ 42.679210] [] queue_work_on+0x97/0xa0 [ 42.684736] [] p9_poll_workfn+0x28a/0x330 [ 42.690518] [] process_one_work+0x7e1/0x1500 [ 42.696550] [] ? process_one_work+0x728/0x1500 [ 42.702759] [] ? pwq_dec_nr_in_flight+0x2e0/0x2e0 [ 42.709229] [] worker_thread+0xd6/0x10a0 [ 42.714912] [] ? __schedule+0x655/0x1bd0 [ 42.720600] [] kthread+0x26d/0x300 [ 42.725774] [] ? process_one_work+0x1500/0x1500 [ 42.732064] [] ? kthread_park+0xa0/0xa0 [ 42.737663] [] ? kthread_park+0xa0/0xa0 [ 42.743268] [] ? kthread_park+0xa0/0xa0 [ 42.748862] [] ret_from_fork+0x5c/0x70 [ 42.754368] [ 42.755968] Allocated by task 3805: [ 42.759568] save_stack_trace+0x16/0x20 [ 42.763512] save_stack+0x43/0xd0 [ 42.766937] kasan_kmalloc+0xc7/0xe0 [ 42.770620] kmem_cache_alloc_trace+0xfd/0x2b0 [ 42.775182] p9_fd_create+0xf3/0x330 [ 42.778867] p9_client_create+0x6ff/0x10a0 [ 42.783073] v9fs_session_init+0x333/0x13a0 [ 42.787369] v9fs_mount+0x7d/0x810 [ 42.790879] mount_fs+0x28c/0x370 [ 42.794304] vfs_kern_mount.part.29+0xd1/0x3d0 [ 42.798858] do_mount+0x3c9/0x2740 [ 42.802380] SyS_mount+0xfe/0x110 [ 42.805807] do_syscall_64+0x1a6/0x490 [ 42.809667] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 42.814739] [ 42.816338] Freed by task 3805: [ 42.819592] save_stack_trace+0x16/0x20 [ 42.823535] save_stack+0x43/0xd0 [ 42.826959] kasan_slab_free+0x72/0xc0 [ 42.830819] kfree+0xfb/0x310 [ 42.833896] p9_fd_close+0x298/0x330 [ 42.837579] p9_client_create+0x825/0x10a0 [ 42.841784] v9fs_session_init+0x333/0x13a0 [ 42.846077] v9fs_mount+0x7d/0x810 [ 42.849588] mount_fs+0x28c/0x370 [ 42.853011] vfs_kern_mount.part.29+0xd1/0x3d0 [ 42.857564] do_mount+0x3c9/0x2740 [ 42.861089] SyS_mount+0xfe/0x110 [ 42.864515] do_syscall_64+0x1a6/0x490 [ 42.868374] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 42.873458] [ 42.875069] The buggy address belongs to the object at ffff8801c737f680 [ 42.875069] which belongs to the cache kmalloc-512 of size 512 [ 42.887700] The buggy address is located 288 bytes inside of [ 42.887700] 512-byte region [ffff8801c737f680, ffff8801c737f880) [ 42.899653] The buggy address belongs to the page: [ 42.904577] page:ffffea00071cdf80 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 42.914761] flags: 0x8000000000004080(slab|head) [ 42.919485] page dumped because: kasan: bad access detected [ 42.925167] [ 42.926768] Memory state around the buggy address: [ 42.931668] ffff8801c737f680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.938998] ffff8801c737f700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.946327] >ffff8801c737f780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.953667] ^ [ 42.958074] ffff8801c737f800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.965514] ffff8801c737f880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.972842] ================================================================== [ 42.980170] Disabling lock debugging due to kernel taint [ 42.985591] Kernel panic - not syncing: panic_on_warn set ... [ 42.985591] [ 42.992937] CPU: 1 PID: 24 Comm: kworker/1:1 Tainted: G B 4.9.112-g9e79039 #7 [ 43.001310] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.010657] Workqueue: events p9_poll_workfn [ 43.015164] ffff8801d940f928 ffffffff81eb3249 ffffffff843c775f 00000000ffffffff [ 43.023170] 0000000000000000 0000000000000001 0000000000000000 ffff8801d940f9e8 [ 43.031168] ffffffff81421a55 0000000041b58ab3 ffffffff843bae78 ffffffff81421896 [ 43.039158] Call Trace: [ 43.041720] [] dump_stack+0xc1/0x128 [ 43.047055] [] panic+0x1bf/0x3bc [ 43.052044] [] ? add_taint.cold.6+0x16/0x16 [ 43.057988] [] ? kasan_end_report+0x32/0x4f [ 43.063932] [] kasan_end_report+0x47/0x4f [ 43.069715] [] kasan_report.cold.6+0x76/0x2fe [ 43.075836] [] ? work_is_static_object+0x39/0x40 [ 43.082212] [] __asan_report_load8_noabort+0x14/0x20 [ 43.088939] [] work_is_static_object+0x39/0x40 [ 43.095157] [] debug_object_activate+0x22d/0x4e0 [ 43.101535] [] ? debug_object_assert_init+0x380/0x380 [ 43.108362] [] ? ep_eventpoll_poll+0x15e/0x1d0 [ 43.114566] [] __queue_work+0x48/0xf10 [ 43.120080] [] ? mark_held_locks+0xc7/0x130 [ 43.126033] [] ? mounts_poll+0x157/0x1b0 [ 43.131720] [] queue_work_on+0x97/0xa0 [ 43.137229] [] p9_poll_workfn+0x28a/0x330 [ 43.143008] [] process_one_work+0x7e1/0x1500 [ 43.149039] [] ? process_one_work+0x728/0x1500 [ 43.155241] [] ? pwq_dec_nr_in_flight+0x2e0/0x2e0 [ 43.161706] [] worker_thread+0xd6/0x10a0 [ 43.167390] [] ? __schedule+0x655/0x1bd0 [ 43.173072] [] kthread+0x26d/0x300 [ 43.178234] [] ? process_one_work+0x1500/0x1500 [ 43.184524] [] ? kthread_park+0xa0/0xa0 [ 43.190119] [] ? kthread_park+0xa0/0xa0 [ 43.195714] [] ? kthread_park+0xa0/0xa0 [ 43.201319] [] ret_from_fork+0x5c/0x70 [ 43.207210] Dumping ftrace buffer: [ 43.210725] (ftrace buffer empty) [ 43.214426] Kernel Offset: disabled [ 43.218027] Rebooting in 86400 seconds..