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.0.38' (ECDSA) to the list of known hosts. 2020/06/16 04:43:28 fuzzer started 2020/06/16 04:43:29 connecting to host at 10.128.0.26:41083 2020/06/16 04:43:29 checking machine... 2020/06/16 04:43:29 checking revisions... 2020/06/16 04:43:29 testing simple program... syzkaller login: [ 60.081461][ T6832] IPVS: ftp: loaded support on port[0] = 21 2020/06/16 04:43:29 building call list... [ 60.398594][ T94] tipc: TX() has been purged, node left! [ 60.961818][ T94] ================================================================== [ 60.970154][ T94] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 60.978048][ T94] Write of size 1 at addr ffff8880a2a931e4 by task kworker/u4:3/94 [ 60.985923][ T94] [ 60.988264][ T94] CPU: 1 PID: 94 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-next-20200616-syzkaller #0 [ 60.997708][ T94] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.007768][ T94] Workqueue: netns cleanup_net [ 61.012529][ T94] Call Trace: [ 61.015825][ T94] dump_stack+0x18f/0x20d [ 61.020158][ T94] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.025701][ T94] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.031259][ T94] ? afs_put_call+0xa40/0xa40 [ 61.035937][ T94] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.042970][ T94] ? vprintk_func+0x97/0x1a6 [ 61.047670][ T94] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.053233][ T94] kasan_report.cold+0x1f/0x37 [ 61.058001][ T94] ? rcu_read_lock_held_common+0x71/0xa0 [ 61.063628][ T94] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.069181][ T94] afs_wake_up_async_call+0x6aa/0x770 [ 61.074552][ T94] ? afs_close_socket+0x320/0x320 [ 61.079578][ T94] ? afs_put_call+0xa40/0xa40 [ 61.084253][ T94] rxrpc_notify_socket+0x1db/0x5d0 [ 61.089367][ T94] ? afs_put_call+0xa40/0xa40 [ 61.094047][ T94] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.100469][ T94] rxrpc_call_completed+0xca/0xf0 [ 61.105667][ T94] rxrpc_discard_prealloc+0x781/0xab0 [ 61.111039][ T94] ? lock_sock_nested+0x94/0x110 [ 61.116080][ T94] rxrpc_listen+0x147/0x360 [ 61.120605][ T94] afs_close_socket+0x95/0x320 [ 61.125388][ T94] ? afs_purge_servers+0x16d/0x300 [ 61.130519][ T94] ? afs_rx_discard_new_call+0x50/0x50 [ 61.135989][ T94] ? init_wait_var_entry+0x200/0x200 [ 61.141293][ T94] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.146929][ T94] ? check_preemption_disabled+0x38/0x220 [ 61.152654][ T94] afs_net_exit+0x1bc/0x310 [ 61.157173][ T94] ? afs_net_init+0xe30/0xe30 [ 61.161850][ T94] ops_exit_list.isra.0+0xa8/0x150 [ 61.167071][ T94] cleanup_net+0x511/0xa50 [ 61.171517][ T94] ? unregister_pernet_device+0x70/0x70 [ 61.177080][ T94] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.183074][ T94] process_one_work+0x965/0x1690 [ 61.188032][ T94] ? lock_release+0x800/0x800 [ 61.192711][ T94] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.198088][ T94] ? rwlock_bug.part.0+0x90/0x90 [ 61.203041][ T94] worker_thread+0x96/0xe10 [ 61.207575][ T94] ? process_one_work+0x1690/0x1690 [ 61.213045][ T94] kthread+0x3b5/0x4a0 [ 61.217120][ T94] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.222882][ T94] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.228741][ T94] ret_from_fork+0x1f/0x30 [ 61.233190][ T94] [ 61.235601][ T94] Allocated by task 6832: [ 61.239930][ T94] save_stack+0x1b/0x40 [ 61.244083][ T94] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.249711][ T94] kmem_cache_alloc_trace+0x153/0x7d0 [ 61.255079][ T94] afs_alloc_call+0x55/0x630 [ 61.259666][ T94] afs_charge_preallocation+0xe9/0x2d0 [ 61.265121][ T94] afs_open_socket+0x292/0x360 [ 61.270399][ T94] afs_net_init+0xa6c/0xe30 [ 61.274902][ T94] ops_init+0xaf/0x420 [ 61.278967][ T94] setup_net+0x2de/0x860 [ 61.283204][ T94] copy_net_ns+0x293/0x590 [ 61.287623][ T94] create_new_namespaces+0x3fb/0xb30 [ 61.292911][ T94] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.298542][ T94] ksys_unshare+0x43d/0x8e0 [ 61.303041][ T94] __x64_sys_unshare+0x2d/0x40 [ 61.307801][ T94] do_syscall_64+0x60/0xe0 [ 61.312224][ T94] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.318102][ T94] [ 61.320427][ T94] Freed by task 94: [ 61.324240][ T94] save_stack+0x1b/0x40 [ 61.328408][ T94] __kasan_slab_free+0xf7/0x140 [ 61.333267][ T94] kfree+0x109/0x2b0 [ 61.337174][ T94] afs_put_call+0x585/0xa40 [ 61.341675][ T94] rxrpc_discard_prealloc+0x764/0xab0 [ 61.347041][ T94] rxrpc_listen+0x147/0x360 [ 61.351541][ T94] afs_close_socket+0x95/0x320 [ 61.356828][ T94] afs_net_exit+0x1bc/0x310 [ 61.361371][ T94] ops_exit_list.isra.0+0xa8/0x150 [ 61.366481][ T94] cleanup_net+0x511/0xa50 [ 61.370896][ T94] process_one_work+0x965/0x1690 [ 61.375831][ T94] worker_thread+0x96/0xe10 [ 61.380336][ T94] kthread+0x3b5/0x4a0 [ 61.384412][ T94] ret_from_fork+0x1f/0x30 [ 61.388822][ T94] [ 61.391162][ T94] The buggy address belongs to the object at ffff8880a2a93000 [ 61.391162][ T94] which belongs to the cache kmalloc-1k of size 1024 [ 61.405751][ T94] The buggy address is located 484 bytes inside of [ 61.405751][ T94] 1024-byte region [ffff8880a2a93000, ffff8880a2a93400) [ 61.419108][ T94] The buggy address belongs to the page: [ 61.424884][ T94] page:ffffea00028aa4c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 61.434171][ T94] flags: 0xfffe0000000200(slab) [ 61.439029][ T94] raw: 00fffe0000000200 ffffea0002a45348 ffffea0002a35b08 ffff8880aa000c40 [ 61.447626][ T94] raw: 0000000000000000 ffff8880a2a93000 0000000100000002 0000000000000000 [ 61.456210][ T94] page dumped because: kasan: bad access detected [ 61.462610][ T94] [ 61.464932][ T94] Memory state around the buggy address: [ 61.470565][ T94] ffff8880a2a93080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.478625][ T94] ffff8880a2a93100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.486683][ T94] >ffff8880a2a93180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.494746][ T94] ^ [ 61.501938][ T94] ffff8880a2a93200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.510001][ T94] ffff8880a2a93280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.518056][ T94] ================================================================== [ 61.526107][ T94] Disabling lock debugging due to kernel taint [ 61.532311][ T94] Kernel panic - not syncing: panic_on_warn set ... [ 61.538921][ T94] CPU: 1 PID: 94 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-next-20200616-syzkaller #0 [ 61.549835][ T94] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.559891][ T94] Workqueue: netns cleanup_net [ 61.564659][ T94] Call Trace: [ 61.567945][ T94] dump_stack+0x18f/0x20d [ 61.572272][ T94] ? afs_wake_up_async_call+0x600/0x770 [ 61.577809][ T94] ? afs_put_call+0xa40/0xa40 [ 61.582485][ T94] panic+0x2e3/0x75c [ 61.586375][ T94] ? __warn_printk+0xf3/0xf3 [ 61.590957][ T94] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 61.597120][ T94] ? trace_hardirqs_on+0x55/0x220 [ 61.602156][ T94] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.607697][ T94] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.613276][ T94] ? afs_put_call+0xa40/0xa40 [ 61.617954][ T94] end_report+0x4d/0x53 [ 61.622107][ T94] kasan_report.cold+0xd/0x37 [ 61.626804][ T94] ? rcu_read_lock_held_common+0x71/0xa0 [ 61.632514][ T94] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.638072][ T94] afs_wake_up_async_call+0x6aa/0x770 [ 61.643442][ T94] ? afs_close_socket+0x320/0x320 [ 61.648462][ T94] ? afs_put_call+0xa40/0xa40 [ 61.653141][ T94] rxrpc_notify_socket+0x1db/0x5d0 [ 61.658246][ T94] ? afs_put_call+0xa40/0xa40 [ 61.662921][ T94] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.669505][ T94] rxrpc_call_completed+0xca/0xf0 [ 61.674522][ T94] rxrpc_discard_prealloc+0x781/0xab0 [ 61.679889][ T94] ? lock_sock_nested+0x94/0x110 [ 61.684820][ T94] rxrpc_listen+0x147/0x360 [ 61.689317][ T94] afs_close_socket+0x95/0x320 [ 61.694074][ T94] ? afs_purge_servers+0x16d/0x300 [ 61.699188][ T94] ? afs_rx_discard_new_call+0x50/0x50 [ 61.705336][ T94] ? init_wait_var_entry+0x200/0x200 [ 61.710617][ T94] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.716242][ T94] ? check_preemption_disabled+0x38/0x220 [ 61.721964][ T94] afs_net_exit+0x1bc/0x310 [ 61.726462][ T94] ? afs_net_init+0xe30/0xe30 [ 61.731144][ T94] ops_exit_list.isra.0+0xa8/0x150 [ 61.736259][ T94] cleanup_net+0x511/0xa50 [ 61.740669][ T94] ? unregister_pernet_device+0x70/0x70 [ 61.746209][ T94] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.752274][ T94] process_one_work+0x965/0x1690 [ 61.757229][ T94] ? lock_release+0x800/0x800 [ 61.761906][ T94] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.767276][ T94] ? rwlock_bug.part.0+0x90/0x90 [ 61.772475][ T94] worker_thread+0x96/0xe10 [ 61.776979][ T94] ? process_one_work+0x1690/0x1690 [ 61.782169][ T94] kthread+0x3b5/0x4a0 [ 61.786236][ T94] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.791946][ T94] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.797662][ T94] ret_from_fork+0x1f/0x30 [ 61.803664][ T94] Kernel Offset: disabled [ 61.808035][ T94] Rebooting in 86400 seconds..