[ 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... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.57' (ECDSA) to the list of known hosts. 2020/06/14 11:34:11 fuzzer started 2020/06/14 11:34:11 connecting to host at 10.128.0.26:45175 2020/06/14 11:34:11 checking machine... 2020/06/14 11:34:11 checking revisions... 2020/06/14 11:34:11 testing simple program... syzkaller login: [ 60.673715][ T6842] IPVS: ftp: loaded support on port[0] = 21 2020/06/14 11:34:12 building call list... [ 61.032046][ T158] tipc: TX() has been purged, node left! [ 61.564104][ T158] ================================================================== [ 61.573810][ T158] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.581705][ T158] Write of size 1 at addr ffff888095c7c1e4 by task kworker/u4:4/158 [ 61.589684][ T158] [ 61.592107][ T158] CPU: 1 PID: 158 Comm: kworker/u4:4 Not tainted 5.7.0-next-20200614-syzkaller #0 [ 61.601379][ T158] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.611440][ T158] Workqueue: netns cleanup_net [ 61.616207][ T158] Call Trace: [ 61.619523][ T158] dump_stack+0x18f/0x20d [ 61.624601][ T158] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.631502][ T158] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.637309][ T158] ? afs_put_call+0xa40/0xa40 [ 61.642001][ T158] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.649129][ T158] ? vprintk_func+0x97/0x1a6 [ 61.653777][ T158] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.659325][ T158] kasan_report.cold+0x1f/0x37 [ 61.664144][ T158] ? rcu_read_lock_held_common+0x41/0xa0 [ 61.669865][ T158] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.675416][ T158] afs_wake_up_async_call+0x6aa/0x770 [ 61.680919][ T158] ? afs_close_socket+0x320/0x320 [ 61.686326][ T158] ? afs_put_call+0xa40/0xa40 [ 61.691141][ T158] rxrpc_notify_socket+0x1db/0x5d0 [ 61.696486][ T158] ? afs_put_call+0xa40/0xa40 [ 61.701189][ T158] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.707635][ T158] rxrpc_call_completed+0xca/0xf0 [ 61.713024][ T158] rxrpc_discard_prealloc+0x781/0xab0 [ 61.718404][ T158] ? lock_sock_nested+0x94/0x110 [ 61.723361][ T158] rxrpc_listen+0x147/0x360 [ 61.727899][ T158] afs_close_socket+0x95/0x320 [ 61.732686][ T158] ? afs_purge_servers+0x16d/0x300 [ 61.737836][ T158] ? afs_rx_discard_new_call+0x50/0x50 [ 61.743321][ T158] ? init_wait_var_entry+0x200/0x200 [ 61.748612][ T158] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.754243][ T158] ? check_preemption_disabled+0x38/0x220 [ 61.759967][ T158] afs_net_exit+0x1bc/0x310 [ 61.764470][ T158] ? afs_net_init+0xe30/0xe30 [ 61.769147][ T158] ops_exit_list.isra.0+0xa8/0x150 [ 61.774262][ T158] cleanup_net+0x511/0xa50 [ 61.779467][ T158] ? unregister_pernet_device+0x70/0x70 [ 61.785024][ T158] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.791016][ T158] process_one_work+0x965/0x1690 [ 61.800657][ T158] ? lock_release+0x800/0x800 [ 61.805356][ T158] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.810738][ T158] ? rwlock_bug.part.0+0x90/0x90 [ 61.815704][ T158] worker_thread+0x96/0xe10 [ 61.820222][ T158] ? process_one_work+0x1690/0x1690 [ 61.825425][ T158] kthread+0x3b5/0x4a0 [ 61.829511][ T158] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.835511][ T158] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.841264][ T158] ret_from_fork+0x1f/0x30 [ 61.845727][ T158] [ 61.848117][ T158] Allocated by task 6842: [ 61.852561][ T158] save_stack+0x1b/0x40 [ 61.856863][ T158] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.862609][ T158] kmem_cache_alloc_trace+0x153/0x7d0 [ 61.867988][ T158] afs_alloc_call+0x55/0x630 [ 61.873368][ T158] afs_charge_preallocation+0xe9/0x2d0 [ 61.878834][ T158] afs_open_socket+0x292/0x360 [ 61.883615][ T158] afs_net_init+0xa6c/0xe30 [ 61.888125][ T158] ops_init+0xaf/0x420 [ 61.892195][ T158] setup_net+0x2de/0x860 [ 61.896526][ T158] copy_net_ns+0x293/0x590 [ 61.900996][ T158] create_new_namespaces+0x3fb/0xb30 [ 61.906293][ T158] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.911972][ T158] ksys_unshare+0x43d/0x8e0 [ 61.916507][ T158] __x64_sys_unshare+0x2d/0x40 [ 61.921359][ T158] do_syscall_64+0x60/0xe0 [ 61.925783][ T158] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.931662][ T158] [ 61.933997][ T158] Freed by task 158: [ 61.937895][ T158] save_stack+0x1b/0x40 [ 61.942052][ T158] __kasan_slab_free+0xf7/0x140 [ 61.946920][ T158] kfree+0x109/0x2b0 [ 61.950834][ T158] afs_put_call+0x585/0xa40 [ 61.955357][ T158] rxrpc_discard_prealloc+0x764/0xab0 [ 61.960728][ T158] rxrpc_listen+0x147/0x360 [ 61.965254][ T158] afs_close_socket+0x95/0x320 [ 61.970021][ T158] afs_net_exit+0x1bc/0x310 [ 61.974556][ T158] ops_exit_list.isra.0+0xa8/0x150 [ 61.979668][ T158] cleanup_net+0x511/0xa50 [ 61.984088][ T158] process_one_work+0x965/0x1690 [ 61.989114][ T158] worker_thread+0x96/0xe10 [ 61.993635][ T158] kthread+0x3b5/0x4a0 [ 61.997735][ T158] ret_from_fork+0x1f/0x30 [ 62.002159][ T158] [ 62.004493][ T158] The buggy address belongs to the object at ffff888095c7c000 [ 62.004493][ T158] which belongs to the cache kmalloc-1k of size 1024 [ 62.018575][ T158] The buggy address is located 484 bytes inside of [ 62.018575][ T158] 1024-byte region [ffff888095c7c000, ffff888095c7c400) [ 62.031954][ T158] The buggy address belongs to the page: [ 62.037600][ T158] page:ffffea0002571f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.046714][ T158] flags: 0xfffe0000000200(slab) [ 62.051571][ T158] raw: 00fffe0000000200 ffffea00025922c8 ffffea0002571f48 ffff8880aa000c40 [ 62.060576][ T158] raw: 0000000000000000 ffff888095c7c000 0000000100000002 0000000000000000 [ 62.069264][ T158] page dumped because: kasan: bad access detected [ 62.075673][ T158] [ 62.078006][ T158] Memory state around the buggy address: [ 62.084252][ T158] ffff888095c7c080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.092313][ T158] ffff888095c7c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.100382][ T158] >ffff888095c7c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.108448][ T158] ^ [ 62.115648][ T158] ffff888095c7c200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.123720][ T158] ffff888095c7c280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.131775][ T158] ================================================================== [ 62.139833][ T158] Disabling lock debugging due to kernel taint [ 62.146042][ T158] Kernel panic - not syncing: panic_on_warn set ... [ 62.152632][ T158] CPU: 1 PID: 158 Comm: kworker/u4:4 Tainted: G B 5.7.0-next-20200614-syzkaller #0 [ 62.164176][ T158] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.174249][ T158] Workqueue: netns cleanup_net [ 62.179001][ T158] Call Trace: [ 62.182380][ T158] dump_stack+0x18f/0x20d [ 62.187170][ T158] ? afs_wake_up_async_call+0x5e0/0x770 [ 62.192710][ T158] ? afs_put_call+0xa40/0xa40 [ 62.197403][ T158] panic+0x2e3/0x75c [ 62.201296][ T158] ? __warn_printk+0xf3/0xf3 [ 62.205882][ T158] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.212038][ T158] ? trace_hardirqs_on+0x55/0x220 [ 62.217061][ T158] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.222601][ T158] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.228135][ T158] ? afs_put_call+0xa40/0xa40 [ 62.232805][ T158] end_report+0x4d/0x53 [ 62.236956][ T158] kasan_report.cold+0xd/0x37 [ 62.241632][ T158] ? rcu_read_lock_held_common+0x41/0xa0 [ 62.247255][ T158] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.252815][ T158] afs_wake_up_async_call+0x6aa/0x770 [ 62.258180][ T158] ? afs_close_socket+0x320/0x320 [ 62.263282][ T158] ? afs_put_call+0xa40/0xa40 [ 62.267968][ T158] rxrpc_notify_socket+0x1db/0x5d0 [ 62.273075][ T158] ? afs_put_call+0xa40/0xa40 [ 62.277743][ T158] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.284167][ T158] rxrpc_call_completed+0xca/0xf0 [ 62.289203][ T158] rxrpc_discard_prealloc+0x781/0xab0 [ 62.294998][ T158] ? lock_sock_nested+0x94/0x110 [ 62.299954][ T158] rxrpc_listen+0x147/0x360 [ 62.304473][ T158] afs_close_socket+0x95/0x320 [ 62.309240][ T158] ? afs_purge_servers+0x16d/0x300 [ 62.314358][ T158] ? afs_rx_discard_new_call+0x50/0x50 [ 62.319829][ T158] ? init_wait_var_entry+0x200/0x200 [ 62.325282][ T158] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.330923][ T158] ? check_preemption_disabled+0x38/0x220 [ 62.336647][ T158] afs_net_exit+0x1bc/0x310 [ 62.341160][ T158] ? afs_net_init+0xe30/0xe30 [ 62.346055][ T158] ops_exit_list.isra.0+0xa8/0x150 [ 62.351185][ T158] cleanup_net+0x511/0xa50 [ 62.355613][ T158] ? unregister_pernet_device+0x70/0x70 [ 62.361189][ T158] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.367169][ T158] process_one_work+0x965/0x1690 [ 62.372345][ T158] ? lock_release+0x800/0x800 [ 62.377034][ T158] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.382517][ T158] ? rwlock_bug.part.0+0x90/0x90 [ 62.387466][ T158] worker_thread+0x96/0xe10 [ 62.391988][ T158] ? process_one_work+0x1690/0x1690 [ 62.397192][ T158] kthread+0x3b5/0x4a0 [ 62.401308][ T158] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.407050][ T158] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.412888][ T158] ret_from_fork+0x1f/0x30 [ 62.419022][ T158] Kernel Offset: disabled [ 62.423386][ T158] Rebooting in 86400 seconds..