Warning: Permanently added '10.128.0.149' (ECDSA) to the list of known hosts. 2020/06/19 03:42:35 fuzzer started 2020/06/19 03:42:36 connecting to host at 10.128.0.26:44967 2020/06/19 03:42:36 checking machine... 2020/06/19 03:42:36 checking revisions... 2020/06/19 03:42:36 testing simple program... syzkaller login: [ 64.046498][ T6820] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 03:42:36 building call list... [ 64.393545][ T354] tipc: TX() has been purged, node left! [ 64.895696][ T354] ================================================================== [ 64.903955][ T354] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 64.911839][ T354] Write of size 1 at addr ffff8880a91f11e4 by task kworker/u4:4/354 [ 64.919798][ T354] [ 64.922131][ T354] CPU: 1 PID: 354 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-syzkaller #0 [ 64.930464][ T354] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.940522][ T354] Workqueue: netns cleanup_net [ 64.945277][ T354] Call Trace: [ 64.948575][ T354] dump_stack+0x18f/0x20d [ 64.952905][ T354] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.958445][ T354] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.963983][ T354] ? afs_put_call+0xa40/0xa40 [ 64.968662][ T354] print_address_description.constprop.0.cold+0xd3/0x413 [ 64.975686][ T354] ? vprintk_func+0x97/0x1a6 [ 64.980278][ T354] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.985821][ T354] kasan_report.cold+0x1f/0x37 [ 64.990587][ T354] ? rcu_read_lock_held_common+0x51/0xa0 [ 64.996214][ T354] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.001761][ T354] afs_wake_up_async_call+0x6aa/0x770 [ 65.007128][ T354] ? afs_close_socket+0x320/0x320 [ 65.012150][ T354] ? afs_put_call+0xa40/0xa40 [ 65.016825][ T354] rxrpc_notify_socket+0x1db/0x5d0 [ 65.021940][ T354] ? afs_put_call+0xa40/0xa40 [ 65.026627][ T354] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.033048][ T354] rxrpc_call_completed+0xca/0xf0 [ 65.038076][ T354] rxrpc_discard_prealloc+0x781/0xab0 [ 65.043450][ T354] ? lock_sock_nested+0x94/0x110 [ 65.048393][ T354] rxrpc_listen+0x147/0x360 [ 65.052899][ T354] afs_close_socket+0x95/0x320 [ 65.057659][ T354] ? afs_purge_servers+0x16d/0x300 [ 65.062768][ T354] ? afs_rx_discard_new_call+0x50/0x50 [ 65.068229][ T354] ? init_wait_var_entry+0x200/0x200 [ 65.073518][ T354] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.079149][ T354] ? check_preemption_disabled+0x38/0x220 [ 65.084868][ T354] afs_net_exit+0x1bc/0x310 [ 65.089369][ T354] ? afs_net_init+0xe30/0xe30 [ 65.094043][ T354] ops_exit_list.isra.0+0xa8/0x150 [ 65.099154][ T354] cleanup_net+0x511/0xa50 [ 65.103575][ T354] ? unregister_pernet_device+0x70/0x70 [ 65.109124][ T354] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.115127][ T354] process_one_work+0x965/0x1690 [ 65.120159][ T354] ? lock_release+0x800/0x800 [ 65.124835][ T354] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.130209][ T354] ? rwlock_bug.part.0+0x90/0x90 [ 65.135154][ T354] worker_thread+0x96/0xe10 [ 65.139667][ T354] ? process_one_work+0x1690/0x1690 [ 65.144865][ T354] kthread+0x3b5/0x4a0 [ 65.148933][ T354] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.154651][ T354] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.160370][ T354] ret_from_fork+0x1f/0x30 [ 65.164809][ T354] [ 65.167132][ T354] Allocated by task 6820: [ 65.171458][ T354] save_stack+0x1b/0x40 [ 65.175616][ T354] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 65.181241][ T354] kmem_cache_alloc_trace+0x153/0x7d0 [ 65.186608][ T354] afs_alloc_call+0x55/0x630 [ 65.191191][ T354] afs_charge_preallocation+0xe9/0x2d0 [ 65.196667][ T354] afs_open_socket+0x292/0x360 [ 65.201422][ T354] afs_net_init+0xa6c/0xe30 [ 65.206006][ T354] ops_init+0xaf/0x420 [ 65.210069][ T354] setup_net+0x2de/0x860 [ 65.214322][ T354] copy_net_ns+0x293/0x590 [ 65.218755][ T354] create_new_namespaces+0x3fb/0xb30 [ 65.224033][ T354] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 65.229661][ T354] ksys_unshare+0x43d/0x8e0 [ 65.234160][ T354] __x64_sys_unshare+0x2d/0x40 [ 65.238923][ T354] do_syscall_64+0x60/0xe0 [ 65.243334][ T354] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.249210][ T354] [ 65.251526][ T354] Freed by task 354: [ 65.255441][ T354] save_stack+0x1b/0x40 [ 65.259590][ T354] __kasan_slab_free+0xf7/0x140 [ 65.264444][ T354] kfree+0x109/0x2b0 [ 65.268334][ T354] afs_put_call+0x585/0xa40 [ 65.272835][ T354] rxrpc_discard_prealloc+0x764/0xab0 [ 65.278200][ T354] rxrpc_listen+0x147/0x360 [ 65.282700][ T354] afs_close_socket+0x95/0x320 [ 65.287457][ T354] afs_net_exit+0x1bc/0x310 [ 65.291964][ T354] ops_exit_list.isra.0+0xa8/0x150 [ 65.297090][ T354] cleanup_net+0x511/0xa50 [ 65.301511][ T354] process_one_work+0x965/0x1690 [ 65.306444][ T354] worker_thread+0x96/0xe10 [ 65.310952][ T354] kthread+0x3b5/0x4a0 [ 65.315024][ T354] ret_from_fork+0x1f/0x30 [ 65.319426][ T354] [ 65.321751][ T354] The buggy address belongs to the object at ffff8880a91f1000 [ 65.321751][ T354] which belongs to the cache kmalloc-1k of size 1024 [ 65.335803][ T354] The buggy address is located 484 bytes inside of [ 65.335803][ T354] 1024-byte region [ffff8880a91f1000, ffff8880a91f1400) [ 65.349156][ T354] The buggy address belongs to the page: [ 65.354788][ T354] page:ffffea0002a47c40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 65.363884][ T354] flags: 0xfffe0000000200(slab) [ 65.368734][ T354] raw: 00fffe0000000200 ffffea00028a4108 ffffea000253e548 ffff8880aa000c40 [ 65.377315][ T354] raw: 0000000000000000 ffff8880a91f1000 0000000100000002 0000000000000000 [ 65.385884][ T354] page dumped because: kasan: bad access detected [ 65.392286][ T354] [ 65.394605][ T354] Memory state around the buggy address: [ 65.400240][ T354] ffff8880a91f1080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.408301][ T354] ffff8880a91f1100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.416361][ T354] >ffff8880a91f1180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.424415][ T354] ^ [ 65.431603][ T354] ffff8880a91f1200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.439662][ T354] ffff8880a91f1280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.447712][ T354] ================================================================== [ 65.455760][ T354] Disabling lock debugging due to kernel taint [ 65.461950][ T354] Kernel panic - not syncing: panic_on_warn set ... [ 65.468531][ T354] CPU: 1 PID: 354 Comm: kworker/u4:4 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 65.478243][ T354] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.488295][ T354] Workqueue: netns cleanup_net [ 65.493043][ T354] Call Trace: [ 65.496326][ T354] dump_stack+0x18f/0x20d [ 65.500647][ T354] ? afs_wake_up_async_call+0x680/0x770 [ 65.506177][ T354] ? afs_put_call+0xa40/0xa40 [ 65.510842][ T354] panic+0x2e3/0x75c [ 65.514726][ T354] ? __warn_printk+0xf3/0xf3 [ 65.519310][ T354] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 65.525458][ T354] ? trace_hardirqs_on+0x55/0x220 [ 65.530474][ T354] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.536009][ T354] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.541551][ T354] ? afs_put_call+0xa40/0xa40 [ 65.546217][ T354] end_report+0x4d/0x53 [ 65.550378][ T354] kasan_report.cold+0xd/0x37 [ 65.555061][ T354] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.560695][ T354] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.566250][ T354] afs_wake_up_async_call+0x6aa/0x770 [ 65.571615][ T354] ? afs_close_socket+0x320/0x320 [ 65.576641][ T354] ? afs_put_call+0xa40/0xa40 [ 65.581309][ T354] rxrpc_notify_socket+0x1db/0x5d0 [ 65.586412][ T354] ? afs_put_call+0xa40/0xa40 [ 65.591079][ T354] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.597506][ T354] rxrpc_call_completed+0xca/0xf0 [ 65.602535][ T354] rxrpc_discard_prealloc+0x781/0xab0 [ 65.607906][ T354] ? lock_sock_nested+0x94/0x110 [ 65.612836][ T354] rxrpc_listen+0x147/0x360 [ 65.617333][ T354] afs_close_socket+0x95/0x320 [ 65.622088][ T354] ? afs_purge_servers+0x16d/0x300 [ 65.627191][ T354] ? afs_rx_discard_new_call+0x50/0x50 [ 65.632641][ T354] ? init_wait_var_entry+0x200/0x200 [ 65.637922][ T354] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.643650][ T354] ? check_preemption_disabled+0x38/0x220 [ 65.649360][ T354] afs_net_exit+0x1bc/0x310 [ 65.653855][ T354] ? afs_net_init+0xe30/0xe30 [ 65.658519][ T354] ops_exit_list.isra.0+0xa8/0x150 [ 65.663621][ T354] cleanup_net+0x511/0xa50 [ 65.668028][ T354] ? unregister_pernet_device+0x70/0x70 [ 65.673567][ T354] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.679540][ T354] process_one_work+0x965/0x1690 [ 65.684475][ T354] ? lock_release+0x800/0x800 [ 65.689161][ T354] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.694523][ T354] ? rwlock_bug.part.0+0x90/0x90 [ 65.699458][ T354] worker_thread+0x96/0xe10 [ 65.703960][ T354] ? process_one_work+0x1690/0x1690 [ 65.709153][ T354] kthread+0x3b5/0x4a0 [ 65.713212][ T354] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.718944][ T354] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.724668][ T354] ret_from_fork+0x1f/0x30 [ 65.730376][ T354] Kernel Offset: disabled [ 65.734714][ T354] Rebooting in 86400 seconds..