[ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.224' (ECDSA) to the list of known hosts. 2020/06/19 07:13:57 fuzzer started 2020/06/19 07:13:57 connecting to host at 10.128.0.26:39209 2020/06/19 07:13:57 checking machine... 2020/06/19 07:13:57 checking revisions... 2020/06/19 07:13:57 testing simple program... syzkaller login: [ 61.198090][ T6835] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 07:13:58 building call list... [ 61.541580][ T2483] tipc: TX() has been purged, node left! [ 62.084775][ T2483] ================================================================== [ 62.093946][ T2483] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.104495][ T2483] Write of size 1 at addr ffff888081fbe9e4 by task kworker/u4:4/2483 [ 62.113208][ T2483] [ 62.115684][ T2483] CPU: 0 PID: 2483 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.124779][ T2483] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.134984][ T2483] Workqueue: netns cleanup_net [ 62.139973][ T2483] Call Trace: [ 62.143366][ T2483] dump_stack+0x18f/0x20d [ 62.148086][ T2483] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.153745][ T2483] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.160027][ T2483] ? afs_put_call+0xa40/0xa40 [ 62.164764][ T2483] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.171849][ T2483] ? vprintk_func+0x97/0x1a6 [ 62.176577][ T2483] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.182299][ T2483] kasan_report.cold+0x1f/0x37 [ 62.187080][ T2483] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.192876][ T2483] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.198650][ T2483] afs_wake_up_async_call+0x6aa/0x770 [ 62.204291][ T2483] ? afs_close_socket+0x320/0x320 [ 62.209454][ T2483] ? afs_put_call+0xa40/0xa40 [ 62.214145][ T2483] rxrpc_notify_socket+0x1db/0x5d0 [ 62.219271][ T2483] ? afs_put_call+0xa40/0xa40 [ 62.223963][ T2483] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.230975][ T2483] rxrpc_call_completed+0xca/0xf0 [ 62.236021][ T2483] rxrpc_discard_prealloc+0x781/0xab0 [ 62.241523][ T2483] ? lock_sock_nested+0x94/0x110 [ 62.246478][ T2483] rxrpc_listen+0x147/0x360 [ 62.251199][ T2483] afs_close_socket+0x95/0x320 [ 62.256136][ T2483] ? afs_purge_servers+0x16d/0x300 [ 62.261706][ T2483] ? afs_rx_discard_new_call+0x50/0x50 [ 62.267298][ T2483] ? init_wait_var_entry+0x200/0x200 [ 62.272696][ T2483] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.278716][ T2483] ? check_preemption_disabled+0x38/0x220 [ 62.284627][ T2483] afs_net_exit+0x1bc/0x310 [ 62.289143][ T2483] ? afs_net_init+0xe30/0xe30 [ 62.293980][ T2483] ops_exit_list.isra.0+0xa8/0x150 [ 62.299312][ T2483] cleanup_net+0x511/0xa50 [ 62.304001][ T2483] ? unregister_pernet_device+0x70/0x70 [ 62.310171][ T2483] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.316344][ T2483] process_one_work+0x965/0x1690 [ 62.322006][ T2483] ? lock_release+0x800/0x800 [ 62.327060][ T2483] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.332965][ T2483] ? rwlock_bug.part.0+0x90/0x90 [ 62.338190][ T2483] worker_thread+0x96/0xe10 [ 62.343520][ T2483] ? process_one_work+0x1690/0x1690 [ 62.349112][ T2483] kthread+0x3b5/0x4a0 [ 62.353370][ T2483] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.359281][ T2483] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.365021][ T2483] ret_from_fork+0x1f/0x30 [ 62.369684][ T2483] [ 62.372104][ T2483] Allocated by task 6835: [ 62.376571][ T2483] save_stack+0x1b/0x40 [ 62.380828][ T2483] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.386466][ T2483] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.392174][ T2483] afs_alloc_call+0x55/0x630 [ 62.397022][ T2483] afs_charge_preallocation+0xe9/0x2d0 [ 62.402697][ T2483] afs_open_socket+0x292/0x360 [ 62.407465][ T2483] afs_net_init+0xa6c/0xe30 [ 62.411972][ T2483] ops_init+0xaf/0x420 [ 62.416041][ T2483] setup_net+0x2de/0x860 [ 62.420700][ T2483] copy_net_ns+0x293/0x590 [ 62.425327][ T2483] create_new_namespaces+0x3fb/0xb30 [ 62.435325][ T2483] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.444794][ T2483] ksys_unshare+0x43d/0x8e0 [ 62.449591][ T2483] __x64_sys_unshare+0x2d/0x40 [ 62.455610][ T2483] do_syscall_64+0x60/0xe0 [ 62.460445][ T2483] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.467306][ T2483] [ 62.469700][ T2483] Freed by task 2483: [ 62.473787][ T2483] save_stack+0x1b/0x40 [ 62.478287][ T2483] __kasan_slab_free+0xf7/0x140 [ 62.483571][ T2483] kfree+0x109/0x2b0 [ 62.487483][ T2483] afs_put_call+0x585/0xa40 [ 62.492188][ T2483] rxrpc_discard_prealloc+0x764/0xab0 [ 62.497577][ T2483] rxrpc_listen+0x147/0x360 [ 62.502397][ T2483] afs_close_socket+0x95/0x320 [ 62.507285][ T2483] afs_net_exit+0x1bc/0x310 [ 62.511814][ T2483] ops_exit_list.isra.0+0xa8/0x150 [ 62.517322][ T2483] cleanup_net+0x511/0xa50 [ 62.523151][ T2483] process_one_work+0x965/0x1690 [ 62.531924][ T2483] worker_thread+0x96/0xe10 [ 62.536879][ T2483] kthread+0x3b5/0x4a0 [ 62.541667][ T2483] ret_from_fork+0x1f/0x30 [ 62.546542][ T2483] [ 62.550354][ T2483] The buggy address belongs to the object at ffff888081fbe800 [ 62.550354][ T2483] which belongs to the cache kmalloc-1k of size 1024 [ 62.574977][ T2483] The buggy address is located 484 bytes inside of [ 62.574977][ T2483] 1024-byte region [ffff888081fbe800, ffff888081fbec00) [ 62.593084][ T2483] The buggy address belongs to the page: [ 62.599979][ T2483] page:ffffea000207ef80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.609271][ T2483] flags: 0xfffe0000000200(slab) [ 62.614832][ T2483] raw: 00fffe0000000200 ffffea000207ef48 ffffea000207efc8 ffff8880aa000c40 [ 62.626380][ T2483] raw: 0000000000000000 ffff888081fbe000 0000000100000002 0000000000000000 [ 62.636784][ T2483] page dumped because: kasan: bad access detected [ 62.644552][ T2483] [ 62.648294][ T2483] Memory state around the buggy address: [ 62.654115][ T2483] ffff888081fbe880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.663116][ T2483] ffff888081fbe900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.672034][ T2483] >ffff888081fbe980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.680238][ T2483] ^ [ 62.687532][ T2483] ffff888081fbea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.695608][ T2483] ffff888081fbea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.703790][ T2483] ================================================================== [ 62.711862][ T2483] Disabling lock debugging due to kernel taint [ 62.718283][ T2483] Kernel panic - not syncing: panic_on_warn set ... [ 62.724976][ T2483] CPU: 0 PID: 2483 Comm: kworker/u4:4 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.735295][ T2483] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.745469][ T2483] Workqueue: netns cleanup_net [ 62.751168][ T2483] Call Trace: [ 62.754790][ T2483] dump_stack+0x18f/0x20d [ 62.759124][ T2483] ? afs_wake_up_async_call+0x670/0x770 [ 62.764843][ T2483] ? afs_put_call+0xa40/0xa40 [ 62.769837][ T2483] panic+0x2e3/0x75c [ 62.774002][ T2483] ? __warn_printk+0xf3/0xf3 [ 62.778710][ T2483] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.784875][ T2483] ? trace_hardirqs_on+0x55/0x220 [ 62.790866][ T2483] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.796670][ T2483] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.802609][ T2483] ? afs_put_call+0xa40/0xa40 [ 62.807485][ T2483] end_report+0x4d/0x53 [ 62.816438][ T2483] kasan_report.cold+0xd/0x37 [ 62.821297][ T2483] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.827176][ T2483] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.833323][ T2483] afs_wake_up_async_call+0x6aa/0x770 [ 62.838875][ T2483] ? afs_close_socket+0x320/0x320 [ 62.843990][ T2483] ? afs_put_call+0xa40/0xa40 [ 62.849186][ T2483] rxrpc_notify_socket+0x1db/0x5d0 [ 62.854368][ T2483] ? afs_put_call+0xa40/0xa40 [ 62.859079][ T2483] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.865504][ T2483] rxrpc_call_completed+0xca/0xf0 [ 62.870589][ T2483] rxrpc_discard_prealloc+0x781/0xab0 [ 62.876113][ T2483] ? lock_sock_nested+0x94/0x110 [ 62.881059][ T2483] rxrpc_listen+0x147/0x360 [ 62.885656][ T2483] afs_close_socket+0x95/0x320 [ 62.890489][ T2483] ? afs_purge_servers+0x16d/0x300 [ 62.895608][ T2483] ? afs_rx_discard_new_call+0x50/0x50 [ 62.901175][ T2483] ? init_wait_var_entry+0x200/0x200 [ 62.906727][ T2483] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.912371][ T2483] ? check_preemption_disabled+0x38/0x220 [ 62.918098][ T2483] afs_net_exit+0x1bc/0x310 [ 62.922761][ T2483] ? afs_net_init+0xe30/0xe30 [ 62.927444][ T2483] ops_exit_list.isra.0+0xa8/0x150 [ 62.932816][ T2483] cleanup_net+0x511/0xa50 [ 62.937323][ T2483] ? unregister_pernet_device+0x70/0x70 [ 62.942878][ T2483] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.949011][ T2483] process_one_work+0x965/0x1690 [ 62.954238][ T2483] ? lock_release+0x800/0x800 [ 62.958915][ T2483] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.964324][ T2483] ? rwlock_bug.part.0+0x90/0x90 [ 62.969592][ T2483] worker_thread+0x96/0xe10 [ 62.974112][ T2483] ? process_one_work+0x1690/0x1690 [ 62.979472][ T2483] kthread+0x3b5/0x4a0 [ 62.983940][ T2483] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.989748][ T2483] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.996170][ T2483] ret_from_fork+0x1f/0x30 [ 63.003101][ T2483] Kernel Offset: disabled [ 63.007996][ T2483] Rebooting in 86400 seconds..