[....] Starting OpenBSD Secure Shell server: sshd[ 18.531446] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.180128] random: sshd: uninitialized urandom read (32 bytes read) [ 22.525065] random: sshd: uninitialized urandom read (32 bytes read) [ 23.346130] sshd (4507) used greatest stack depth: 17048 bytes left [ 23.364746] random: sshd: uninitialized urandom read (32 bytes read) [ 129.890557] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.18' (ECDSA) to the list of known hosts. [ 135.300511] random: sshd: uninitialized urandom read (32 bytes read) [ 135.396380] IPVS: ftp: loaded support on port[0] = 21 [ 135.512550] bridge0: port 1(bridge_slave_0) entered blocking state [ 135.519038] bridge0: port 1(bridge_slave_0) entered disabled state [ 135.526185] device bridge_slave_0 entered promiscuous mode [ 135.540987] bridge0: port 2(bridge_slave_1) entered blocking state [ 135.547366] bridge0: port 2(bridge_slave_1) entered disabled state [ 135.554514] device bridge_slave_1 entered promiscuous mode [ 135.568729] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 135.583536] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 135.621512] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 135.637623] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 135.692420] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 135.699598] team0: Port device team_slave_0 added [ 135.713498] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 135.720604] team0: Port device team_slave_1 added [ 135.733979] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 135.750101] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 135.765263] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 135.781452] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 135.884696] bridge0: port 2(bridge_slave_1) entered blocking state [ 135.891162] bridge0: port 2(bridge_slave_1) entered forwarding state [ 135.897929] bridge0: port 1(bridge_slave_0) entered blocking state [ 135.904287] bridge0: port 1(bridge_slave_0) entered forwarding state RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument [ 136.276840] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 136.282986] 8021q: adding VLAN 0 to HW filter on device bond0 [ 136.322348] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 136.360669] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 136.368469] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 136.401986] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 136.408095] 8021q: adding VLAN 0 to HW filter on device team0 [ 136.464189] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 138.363235] ================================================================== [ 138.370723] BUG: KASAN: use-after-free in p9_poll_workfn+0x5b0/0x6d0 [ 138.377199] Read of size 4 at addr ffff8801ca0e8868 by task kworker/0:3/4561 [ 138.384360] [ 138.385973] CPU: 0 PID: 4561 Comm: kworker/0:3 Not tainted 4.18.0-rc4+ #42 [ 138.392960] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 138.402313] Workqueue: events p9_poll_workfn [ 138.406700] Call Trace: [ 138.409270] dump_stack+0x1c9/0x2b4 [ 138.412882] ? dump_stack_print_info.cold.2+0x52/0x52 [ 138.418061] ? printk+0xa7/0xcf [ 138.421325] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 138.426068] ? p9_poll_workfn+0x5b0/0x6d0 [ 138.430212] print_address_description+0x6c/0x20b [ 138.435045] ? p9_poll_workfn+0x5b0/0x6d0 [ 138.439175] kasan_report.cold.7+0x242/0x2fe [ 138.443563] __asan_report_load4_noabort+0x14/0x20 [ 138.448471] p9_poll_workfn+0x5b0/0x6d0 [ 138.452432] ? p9_read_work+0x1060/0x1060 [ 138.456564] ? graph_lock+0x170/0x170 [ 138.460355] ? lock_acquire+0x1e4/0x540 [ 138.464312] ? process_one_work+0xb9b/0x1ba0 [ 138.468701] ? kasan_check_read+0x11/0x20 [ 138.472984] ? __lock_is_held+0xb5/0x140 [ 138.477049] process_one_work+0xc73/0x1ba0 [ 138.481360] ? trace_hardirqs_on+0x10/0x10 [ 138.485586] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 138.490237] ? lock_repin_lock+0x430/0x430 [ 138.494464] ? __sched_text_start+0x8/0x8 [ 138.498595] ? graph_lock+0x170/0x170 [ 138.502378] ? lock_downgrade+0x8f0/0x8f0 [ 138.506512] ? kasan_check_read+0x11/0x20 [ 138.510639] ? do_raw_spin_unlock+0xa7/0x2f0 [ 138.515048] ? lock_acquire+0x1e4/0x540 [ 138.519006] ? worker_thread+0x3dc/0x13c0 [ 138.523148] ? lock_downgrade+0x8f0/0x8f0 [ 138.527293] ? lock_release+0xa30/0xa30 [ 138.531260] ? kasan_check_read+0x11/0x20 [ 138.535406] ? do_raw_spin_unlock+0xa7/0x2f0 [ 138.539798] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 138.544365] ? kasan_check_write+0x14/0x20 [ 138.548580] ? do_raw_spin_lock+0xc1/0x200 [ 138.552799] worker_thread+0x189/0x13c0 [ 138.556764] ? process_one_work+0x1ba0/0x1ba0 [ 138.561255] ? graph_lock+0x170/0x170 [ 138.565043] ? graph_lock+0x170/0x170 [ 138.568824] ? find_held_lock+0x36/0x1c0 [ 138.572870] ? find_held_lock+0x36/0x1c0 [ 138.576916] ? lock_downgrade+0x8f0/0x8f0 [ 138.581058] ? kasan_check_read+0x11/0x20 [ 138.585188] ? do_raw_spin_unlock+0xa7/0x2f0 [ 138.589584] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 138.594678] ? __kthread_parkme+0x58/0x1b0 [ 138.598896] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 138.603896] ? trace_hardirqs_on+0xd/0x10 [ 138.608040] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 138.613559] ? __kthread_parkme+0x106/0x1b0 [ 138.617865] kthread+0x345/0x410 [ 138.621214] ? process_one_work+0x1ba0/0x1ba0 [ 138.625823] ? kthread_bind+0x40/0x40 [ 138.629607] ret_from_fork+0x3a/0x50 [ 138.633303] [ 138.634911] Allocated by task 4852: [ 138.638521] save_stack+0x43/0xd0 [ 138.641954] kasan_kmalloc+0xc4/0xe0 [ 138.645648] kmem_cache_alloc_trace+0x152/0x780 [ 138.650524] p9_fd_create+0x1a7/0x3f0 [ 138.654309] p9_client_create+0x915/0x16c9 [ 138.658533] v9fs_session_init+0x21a/0x1a80 [ 138.662836] v9fs_mount+0x7c/0x900 [ 138.666370] mount_fs+0xae/0x328 [ 138.669731] vfs_kern_mount.part.34+0xdc/0x4e0 [ 138.674294] do_mount+0x581/0x30e0 [ 138.677831] __ia32_compat_sys_mount+0x5d5/0x860 [ 138.682568] do_fast_syscall_32+0x34d/0xfb2 [ 138.686868] entry_SYSENTER_compat+0x70/0x7f [ 138.691250] [ 138.692856] Freed by task 4852: [ 138.696127] save_stack+0x43/0xd0 [ 138.699561] __kasan_slab_free+0x11a/0x170 [ 138.703786] kasan_slab_free+0xe/0x10 [ 138.707568] kfree+0xd9/0x260 [ 138.710669] p9_fd_close+0x416/0x5b0 [ 138.714365] p9_client_create+0xac2/0x16c9 [ 138.718592] v9fs_session_init+0x21a/0x1a80 [ 138.722891] v9fs_mount+0x7c/0x900 [ 138.726426] mount_fs+0xae/0x328 [ 138.729787] vfs_kern_mount.part.34+0xdc/0x4e0 [ 138.734351] do_mount+0x581/0x30e0 [ 138.737886] __ia32_compat_sys_mount+0x5d5/0x860 [ 138.742632] do_fast_syscall_32+0x34d/0xfb2 [ 138.746938] entry_SYSENTER_compat+0x70/0x7f [ 138.751321] [ 138.752928] The buggy address belongs to the object at ffff8801ca0e8840 [ 138.752928] which belongs to the cache kmalloc-512 of size 512 [ 138.765566] The buggy address is located 40 bytes inside of [ 138.765566] 512-byte region [ffff8801ca0e8840, ffff8801ca0e8a40) [ 138.777344] The buggy address belongs to the page: [ 138.782255] page:ffffea0007283a00 count:1 mapcount:0 mapping:ffff8801da800940 index:0x0 [ 138.790380] flags: 0x2fffc0000000100(slab) [ 138.794599] raw: 02fffc0000000100 ffffea00072baa08 ffffea000729d848 ffff8801da800940 [ 138.802633] raw: 0000000000000000 ffff8801ca0e80c0 0000000100000006 0000000000000000 [ 138.810490] page dumped because: kasan: bad access detected [ 138.816184] [ 138.817789] Memory state around the buggy address: [ 138.822698] ffff8801ca0e8700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 138.830115] ffff8801ca0e8780: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 138.837471] >ffff8801ca0e8800: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 138.844810] ^ [ 138.851555] ffff8801ca0e8880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program [ 138.858907] ffff8801ca0e8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 138.866265] ================================================================== [ 138.873612] Disabling lock debugging due to kernel taint [ 138.879266] Kernel panic - not syncing: panic_on_warn set ... [ 138.879266] [ 138.886642] CPU: 0 PID: 4561 Comm: kworker/0:3 Tainted: G B 4.18.0-rc4+ #42 [ 138.895069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 138.904434] Workqueue: events p9_poll_workfn [ 138.908828] Call Trace: [ 138.911394] dump_stack+0x1c9/0x2b4 executing program [ 138.915017] ? dump_stack_print_info.cold.2+0x52/0x52 [ 138.920195] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 138.924942] panic+0x238/0x4e7 [ 138.928129] ? add_taint.cold.5+0x16/0x16 [ 138.932282] ? do_raw_spin_unlock+0xa7/0x2f0 [ 138.936690] ? do_raw_spin_unlock+0xa7/0x2f0 [ 138.941082] ? p9_poll_workfn+0x5b0/0x6d0 [ 138.945211] kasan_end_report+0x47/0x4f [ 138.949162] kasan_report.cold.7+0x76/0x2fe [ 138.953472] __asan_report_load4_noabort+0x14/0x20 [ 138.958380] p9_poll_workfn+0x5b0/0x6d0 executing program executing program [ 138.962335] ? p9_read_work+0x1060/0x1060 [ 138.966475] ? graph_lock+0x170/0x170 [ 138.970284] ? lock_acquire+0x1e4/0x540 [ 138.974255] ? process_one_work+0xb9b/0x1ba0 [ 138.978643] ? kasan_check_read+0x11/0x20 [ 138.982772] ? __lock_is_held+0xb5/0x140 [ 138.986816] process_one_work+0xc73/0x1ba0 [ 138.991035] ? trace_hardirqs_on+0x10/0x10 [ 138.995264] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 138.999923] ? lock_repin_lock+0x430/0x430 [ 139.004159] ? __sched_text_start+0x8/0x8 [ 139.008307] ? graph_lock+0x170/0x170 [ 139.012115] ? lock_downgrade+0x8f0/0x8f0 executing program [ 139.016247] ? kasan_check_read+0x11/0x20 [ 139.020375] ? do_raw_spin_unlock+0xa7/0x2f0 [ 139.024775] ? lock_acquire+0x1e4/0x540 [ 139.028729] ? worker_thread+0x3dc/0x13c0 [ 139.032856] ? lock_downgrade+0x8f0/0x8f0 [ 139.036988] ? lock_release+0xa30/0xa30 [ 139.040958] ? kasan_check_read+0x11/0x20 [ 139.045111] ? do_raw_spin_unlock+0xa7/0x2f0 [ 139.049522] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 139.054099] ? kasan_check_write+0x14/0x20 [ 139.058313] ? do_raw_spin_lock+0xc1/0x200 [ 139.062529] worker_thread+0x189/0x13c0 executing program [ 139.066496] ? process_one_work+0x1ba0/0x1ba0 [ 139.071000] ? graph_lock+0x170/0x170 [ 139.074789] ? graph_lock+0x170/0x170 [ 139.078583] ? find_held_lock+0x36/0x1c0 [ 139.082647] ? find_held_lock+0x36/0x1c0 [ 139.086717] ? lock_downgrade+0x8f0/0x8f0 [ 139.090848] ? kasan_check_read+0x11/0x20 [ 139.094999] ? do_raw_spin_unlock+0xa7/0x2f0 [ 139.099517] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 139.104610] ? __kthread_parkme+0x58/0x1b0 [ 139.108836] ? trace_hardirqs_on_caller+0x421/0x5c0 executing program [ 139.113856] ? trace_hardirqs_on+0xd/0x10 [ 139.118005] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 139.123543] ? __kthread_parkme+0x106/0x1b0 [ 139.127847] kthread+0x345/0x410 [ 139.131195] ? process_one_work+0x1ba0/0x1ba0 [ 139.135668] ? kthread_bind+0x40/0x40 [ 139.139449] ret_from_fork+0x3a/0x50 [ 139.143611] Dumping ftrace buffer: [ 139.147148] (ftrace buffer empty) [ 139.150845] Kernel Offset: disabled [ 139.154536] Rebooting in 86400 seconds..