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.15.210' (ECDSA) to the list of known hosts. 2020/06/18 06:08:05 fuzzer started 2020/06/18 06:08:05 connecting to host at 10.128.0.26:33285 2020/06/18 06:08:05 checking machine... 2020/06/18 06:08:05 checking revisions... 2020/06/18 06:08:05 testing simple program... syzkaller login: [ 61.130337][ T6853] IPVS: ftp: loaded support on port[0] = 21 2020/06/18 06:08:05 building call list... [ 61.499619][ T7] tipc: TX() has been purged, node left! [ 62.021778][ T7] ================================================================== [ 62.029993][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.037878][ T7] Write of size 1 at addr ffff888081d079e4 by task kworker/u4:0/7 [ 62.045665][ T7] [ 62.047992][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.8.0-rc1-next-20200618-syzkaller #0 [ 62.057345][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.067492][ T7] Workqueue: netns cleanup_net [ 62.072252][ T7] Call Trace: [ 62.075547][ T7] dump_stack+0x18f/0x20d [ 62.079892][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.085431][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.090968][ T7] ? afs_put_call+0xa40/0xa40 [ 62.095644][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.102723][ T7] ? vprintk_func+0x97/0x1a6 [ 62.107318][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.112859][ T7] kasan_report.cold+0x1f/0x37 [ 62.117645][ T7] ? rcu_read_lock_held_common+0x71/0xa0 [ 62.123277][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.128825][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 62.134191][ T7] ? afs_close_socket+0x320/0x320 [ 62.139385][ T7] ? afs_put_call+0xa40/0xa40 [ 62.144059][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 62.149190][ T7] ? afs_put_call+0xa40/0xa40 [ 62.153863][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.160289][ T7] rxrpc_call_completed+0xca/0xf0 [ 62.165367][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 62.170753][ T7] ? lock_sock_nested+0x94/0x110 [ 62.175692][ T7] rxrpc_listen+0x147/0x360 [ 62.180460][ T7] afs_close_socket+0x95/0x320 [ 62.185234][ T7] ? afs_purge_servers+0x16d/0x300 [ 62.190357][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 62.195818][ T7] ? init_wait_var_entry+0x200/0x200 [ 62.201111][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.206838][ T7] ? check_preemption_disabled+0x38/0x220 [ 62.212571][ T7] afs_net_exit+0x1bc/0x310 [ 62.217078][ T7] ? afs_net_init+0xe30/0xe30 [ 62.221749][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 62.226861][ T7] cleanup_net+0x511/0xa50 [ 62.231278][ T7] ? unregister_pernet_device+0x70/0x70 [ 62.236848][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.242833][ T7] process_one_work+0x965/0x1690 [ 62.247800][ T7] ? lock_release+0x800/0x800 [ 62.252488][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.257861][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 62.262820][ T7] worker_thread+0x96/0xe10 [ 62.267351][ T7] ? process_one_work+0x1690/0x1690 [ 62.272556][ T7] kthread+0x3b5/0x4a0 [ 62.276623][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.282338][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.288056][ T7] ret_from_fork+0x1f/0x30 [ 62.292471][ T7] [ 62.294794][ T7] Allocated by task 6853: [ 62.299119][ T7] save_stack+0x1b/0x40 [ 62.303264][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.308895][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.314284][ T7] afs_alloc_call+0x55/0x630 [ 62.318958][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 62.324500][ T7] afs_open_socket+0x292/0x360 [ 62.329266][ T7] afs_net_init+0xa6c/0xe30 [ 62.333776][ T7] ops_init+0xaf/0x420 [ 62.338187][ T7] setup_net+0x2de/0x860 [ 62.342445][ T7] copy_net_ns+0x293/0x590 [ 62.346954][ T7] create_new_namespaces+0x3fb/0xb30 [ 62.352234][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.357972][ T7] ksys_unshare+0x445/0x8e0 [ 62.362479][ T7] __x64_sys_unshare+0x2d/0x40 [ 62.367239][ T7] do_syscall_64+0x60/0xe0 [ 62.371738][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.377616][ T7] [ 62.379936][ T7] Freed by task 7: [ 62.383654][ T7] save_stack+0x1b/0x40 [ 62.387805][ T7] __kasan_slab_free+0xf7/0x140 [ 62.392665][ T7] kfree+0x109/0x2b0 [ 62.397338][ T7] afs_put_call+0x585/0xa40 [ 62.401837][ T7] rxrpc_discard_prealloc+0x764/0xab0 [ 62.407297][ T7] rxrpc_listen+0x147/0x360 [ 62.411795][ T7] afs_close_socket+0x95/0x320 [ 62.416554][ T7] afs_net_exit+0x1bc/0x310 [ 62.421055][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 62.426186][ T7] cleanup_net+0x511/0xa50 [ 62.430603][ T7] process_one_work+0x965/0x1690 [ 62.435557][ T7] worker_thread+0x96/0xe10 [ 62.440056][ T7] kthread+0x3b5/0x4a0 [ 62.444124][ T7] ret_from_fork+0x1f/0x30 [ 62.448524][ T7] [ 62.450851][ T7] The buggy address belongs to the object at ffff888081d07800 [ 62.450851][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 62.465075][ T7] The buggy address is located 484 bytes inside of [ 62.465075][ T7] 1024-byte region [ffff888081d07800, ffff888081d07c00) [ 62.478437][ T7] The buggy address belongs to the page: [ 62.484156][ T7] page:ffffea00020741c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.493710][ T7] flags: 0xfffe0000000200(slab) [ 62.498561][ T7] raw: 00fffe0000000200 ffffea0002074188 ffffea0002074208 ffff8880aa000c40 [ 62.507149][ T7] raw: 0000000000000000 ffff888081d07000 0000000100000002 0000000000000000 [ 62.515721][ T7] page dumped because: kasan: bad access detected [ 62.522121][ T7] [ 62.524472][ T7] Memory state around the buggy address: [ 62.530098][ T7] ffff888081d07880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.538500][ T7] ffff888081d07900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.546555][ T7] >ffff888081d07980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.554607][ T7] ^ [ 62.561883][ T7] ffff888081d07a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.569938][ T7] ffff888081d07a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.578076][ T7] ================================================================== [ 62.586310][ T7] Disabling lock debugging due to kernel taint [ 62.592632][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 62.599316][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.8.0-rc1-next-20200618-syzkaller #0 [ 62.610228][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.620277][ T7] Workqueue: netns cleanup_net [ 62.625023][ T7] Call Trace: [ 62.628309][ T7] dump_stack+0x18f/0x20d [ 62.632634][ T7] ? afs_wake_up_async_call+0x660/0x770 [ 62.638186][ T7] ? afs_put_call+0xa40/0xa40 [ 62.642872][ T7] panic+0x2e3/0x75c [ 62.647199][ T7] ? __warn_printk+0xf3/0xf3 [ 62.651779][ T7] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.657925][ T7] ? trace_hardirqs_on+0x55/0x220 [ 62.662958][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.668577][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.674112][ T7] ? afs_put_call+0xa40/0xa40 [ 62.679922][ T7] end_report+0x4d/0x53 [ 62.684071][ T7] kasan_report.cold+0xd/0x37 [ 62.688750][ T7] ? rcu_read_lock_held_common+0x71/0xa0 [ 62.694468][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.700035][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 62.705930][ T7] ? afs_close_socket+0x320/0x320 [ 62.711037][ T7] ? afs_put_call+0xa40/0xa40 [ 62.715730][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 62.720847][ T7] ? afs_put_call+0xa40/0xa40 [ 62.725522][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.731934][ T7] rxrpc_call_completed+0xca/0xf0 [ 62.736963][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 62.742325][ T7] ? lock_sock_nested+0x94/0x110 [ 62.747259][ T7] rxrpc_listen+0x147/0x360 [ 62.751763][ T7] afs_close_socket+0x95/0x320 [ 62.756558][ T7] ? afs_purge_servers+0x16d/0x300 [ 62.761666][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 62.767120][ T7] ? init_wait_var_entry+0x200/0x200 [ 62.772409][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.778051][ T7] ? check_preemption_disabled+0x38/0x220 [ 62.783774][ T7] afs_net_exit+0x1bc/0x310 [ 62.788277][ T7] ? afs_net_init+0xe30/0xe30 [ 62.793564][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 62.799062][ T7] cleanup_net+0x511/0xa50 [ 62.803484][ T7] ? unregister_pernet_device+0x70/0x70 [ 62.809059][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.815081][ T7] process_one_work+0x965/0x1690 [ 62.820889][ T7] ? lock_release+0x800/0x800 [ 62.825564][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.830967][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 62.835906][ T7] worker_thread+0x96/0xe10 [ 62.840413][ T7] ? process_one_work+0x1690/0x1690 [ 62.845698][ T7] kthread+0x3b5/0x4a0 [ 62.849823][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.855540][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.861259][ T7] ret_from_fork+0x1f/0x30 [ 62.867047][ T7] Kernel Offset: disabled [ 62.871374][ T7] Rebooting in 86400 seconds..