Starting Load/Save RF Kill Switch Status... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.215' (ECDSA) to the list of known hosts. 2020/06/19 03:42:22 fuzzer started 2020/06/19 03:42:22 connecting to host at 10.128.0.26:41705 2020/06/19 03:42:22 checking machine... 2020/06/19 03:42:22 checking revisions... 2020/06/19 03:42:22 testing simple program... syzkaller login: [ 60.163969][ T6806] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 03:42:23 building call list... [ 60.524613][ T6762] tipc: TX() has been purged, node left! [ 61.067419][ T6762] ================================================================== [ 61.075662][ T6762] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.083551][ T6762] Write of size 1 at addr ffff8880968c79e4 by task kworker/u4:6/6762 [ 61.091601][ T6762] [ 61.093932][ T6762] CPU: 1 PID: 6762 Comm: kworker/u4:6 Not tainted 5.8.0-rc1-syzkaller #0 [ 61.102339][ T6762] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.112510][ T6762] Workqueue: netns cleanup_net [ 61.117270][ T6762] Call Trace: [ 61.120564][ T6762] dump_stack+0x18f/0x20d [ 61.124910][ T6762] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.130451][ T6762] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.135999][ T6762] ? afs_put_call+0xa40/0xa40 [ 61.141631][ T6762] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.148667][ T6762] ? vprintk_func+0x97/0x1a6 [ 61.153267][ T6762] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.158811][ T6762] kasan_report.cold+0x1f/0x37 [ 61.163582][ T6762] ? rcu_read_lock_held_common+0x51/0xa0 [ 61.169211][ T6762] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.174758][ T6762] afs_wake_up_async_call+0x6aa/0x770 [ 61.180156][ T6762] ? afs_close_socket+0x320/0x320 [ 61.185180][ T6762] ? afs_put_call+0xa40/0xa40 [ 61.189855][ T6762] rxrpc_notify_socket+0x1db/0x5d0 [ 61.195101][ T6762] ? afs_put_call+0xa40/0xa40 [ 61.199796][ T6762] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.206247][ T6762] rxrpc_call_completed+0xca/0xf0 [ 61.211306][ T6762] rxrpc_discard_prealloc+0x781/0xab0 [ 61.216690][ T6762] ? lock_sock_nested+0x94/0x110 [ 61.222335][ T6762] rxrpc_listen+0x147/0x360 [ 61.226850][ T6762] afs_close_socket+0x95/0x320 [ 61.231612][ T6762] ? afs_purge_servers+0x16d/0x300 [ 61.236726][ T6762] ? afs_rx_discard_new_call+0x50/0x50 [ 61.242196][ T6762] ? init_wait_var_entry+0x200/0x200 [ 61.247487][ T6762] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.253128][ T6762] ? check_preemption_disabled+0x38/0x220 [ 61.258852][ T6762] afs_net_exit+0x1bc/0x310 [ 61.263356][ T6762] ? afs_net_init+0xe30/0xe30 [ 61.268149][ T6762] ops_exit_list.isra.0+0xa8/0x150 [ 61.273287][ T6762] cleanup_net+0x511/0xa50 [ 61.277741][ T6762] ? unregister_pernet_device+0x70/0x70 [ 61.283295][ T6762] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.289296][ T6762] process_one_work+0x965/0x1690 [ 61.294246][ T6762] ? lock_release+0x800/0x800 [ 61.298964][ T6762] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.304342][ T6762] ? rwlock_bug.part.0+0x90/0x90 [ 61.309385][ T6762] worker_thread+0x96/0xe10 [ 61.313905][ T6762] ? process_one_work+0x1690/0x1690 [ 61.319104][ T6762] kthread+0x3b5/0x4a0 [ 61.323170][ T6762] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.328893][ T6762] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.334617][ T6762] ret_from_fork+0x1f/0x30 [ 61.339478][ T6762] [ 61.341810][ T6762] Allocated by task 6806: [ 61.346138][ T6762] save_stack+0x1b/0x40 [ 61.350297][ T6762] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.355944][ T6762] kmem_cache_alloc_trace+0x153/0x7d0 [ 61.361342][ T6762] afs_alloc_call+0x55/0x630 [ 61.365979][ T6762] afs_charge_preallocation+0xe9/0x2d0 [ 61.371436][ T6762] afs_open_socket+0x292/0x360 [ 61.376195][ T6762] afs_net_init+0xa6c/0xe30 [ 61.380693][ T6762] ops_init+0xaf/0x420 [ 61.384758][ T6762] setup_net+0x2de/0x860 [ 61.388995][ T6762] copy_net_ns+0x293/0x590 [ 61.393409][ T6762] create_new_namespaces+0x3fb/0xb30 [ 61.398693][ T6762] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.404328][ T6762] ksys_unshare+0x43d/0x8e0 [ 61.408938][ T6762] __x64_sys_unshare+0x2d/0x40 [ 61.413715][ T6762] do_syscall_64+0x60/0xe0 [ 61.418130][ T6762] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.424009][ T6762] [ 61.426335][ T6762] Freed by task 6762: [ 61.430342][ T6762] save_stack+0x1b/0x40 [ 61.434494][ T6762] __kasan_slab_free+0xf7/0x140 [ 61.439357][ T6762] kfree+0x109/0x2b0 [ 61.443282][ T6762] afs_put_call+0x585/0xa40 [ 61.447799][ T6762] rxrpc_discard_prealloc+0x764/0xab0 [ 61.453185][ T6762] rxrpc_listen+0x147/0x360 [ 61.457677][ T6762] afs_close_socket+0x95/0x320 [ 61.462432][ T6762] afs_net_exit+0x1bc/0x310 [ 61.466936][ T6762] ops_exit_list.isra.0+0xa8/0x150 [ 61.472040][ T6762] cleanup_net+0x511/0xa50 [ 61.476450][ T6762] process_one_work+0x965/0x1690 [ 61.481382][ T6762] worker_thread+0x96/0xe10 [ 61.485865][ T6762] kthread+0x3b5/0x4a0 [ 61.490029][ T6762] ret_from_fork+0x1f/0x30 [ 61.494643][ T6762] [ 61.496974][ T6762] The buggy address belongs to the object at ffff8880968c7800 [ 61.496974][ T6762] which belongs to the cache kmalloc-1k of size 1024 [ 61.511033][ T6762] The buggy address is located 484 bytes inside of [ 61.511033][ T6762] 1024-byte region [ffff8880968c7800, ffff8880968c7c00) [ 61.524394][ T6762] The buggy address belongs to the page: [ 61.530128][ T6762] page:ffffea00025a31c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 61.539464][ T6762] flags: 0xfffe0000000200(slab) [ 61.544959][ T6762] raw: 00fffe0000000200 ffffea00025d2908 ffffea0002884848 ffff8880aa000c40 [ 61.553678][ T6762] raw: 0000000000000000 ffff8880968c7000 0000000100000002 0000000000000000 [ 61.562354][ T6762] page dumped because: kasan: bad access detected [ 61.568790][ T6762] [ 61.571291][ T6762] Memory state around the buggy address: [ 61.576927][ T6762] ffff8880968c7880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.584995][ T6762] ffff8880968c7900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.593054][ T6762] >ffff8880968c7980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.601103][ T6762] ^ [ 61.608314][ T6762] ffff8880968c7a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.616376][ T6762] ffff8880968c7a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.624424][ T6762] ================================================================== [ 61.632497][ T6762] Disabling lock debugging due to kernel taint [ 61.638688][ T6762] Kernel panic - not syncing: panic_on_warn set ... [ 61.645296][ T6762] CPU: 1 PID: 6762 Comm: kworker/u4:6 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 61.655092][ T6762] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.665182][ T6762] Workqueue: netns cleanup_net [ 61.670117][ T6762] Call Trace: [ 61.673411][ T6762] dump_stack+0x18f/0x20d [ 61.677756][ T6762] ? afs_wake_up_async_call+0x680/0x770 [ 61.683328][ T6762] ? afs_put_call+0xa40/0xa40 [ 61.688000][ T6762] panic+0x2e3/0x75c [ 61.691892][ T6762] ? __warn_printk+0xf3/0xf3 [ 61.696479][ T6762] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 61.702630][ T6762] ? trace_hardirqs_on+0x55/0x220 [ 61.707664][ T6762] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.713222][ T6762] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.718756][ T6762] ? afs_put_call+0xa40/0xa40 [ 61.723422][ T6762] end_report+0x4d/0x53 [ 61.727595][ T6762] kasan_report.cold+0xd/0x37 [ 61.732270][ T6762] ? rcu_read_lock_held_common+0x51/0xa0 [ 61.737918][ T6762] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.743452][ T6762] afs_wake_up_async_call+0x6aa/0x770 [ 61.748849][ T6762] ? afs_close_socket+0x320/0x320 [ 61.753959][ T6762] ? afs_put_call+0xa40/0xa40 [ 61.758635][ T6762] rxrpc_notify_socket+0x1db/0x5d0 [ 61.763740][ T6762] ? afs_put_call+0xa40/0xa40 [ 61.768451][ T6762] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.774863][ T6762] rxrpc_call_completed+0xca/0xf0 [ 61.779877][ T6762] rxrpc_discard_prealloc+0x781/0xab0 [ 61.785259][ T6762] ? lock_sock_nested+0x94/0x110 [ 61.790189][ T6762] rxrpc_listen+0x147/0x360 [ 61.794686][ T6762] afs_close_socket+0x95/0x320 [ 61.799445][ T6762] ? afs_purge_servers+0x16d/0x300 [ 61.804574][ T6762] ? afs_rx_discard_new_call+0x50/0x50 [ 61.810063][ T6762] ? init_wait_var_entry+0x200/0x200 [ 61.815373][ T6762] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.821036][ T6762] ? check_preemption_disabled+0x38/0x220 [ 61.826755][ T6762] afs_net_exit+0x1bc/0x310 [ 61.831248][ T6762] ? afs_net_init+0xe30/0xe30 [ 61.835922][ T6762] ops_exit_list.isra.0+0xa8/0x150 [ 61.841038][ T6762] cleanup_net+0x511/0xa50 [ 61.845490][ T6762] ? unregister_pernet_device+0x70/0x70 [ 61.851039][ T6762] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.857183][ T6762] process_one_work+0x965/0x1690 [ 61.862123][ T6762] ? lock_release+0x800/0x800 [ 61.866884][ T6762] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.872248][ T6762] ? rwlock_bug.part.0+0x90/0x90 [ 61.877291][ T6762] worker_thread+0x96/0xe10 [ 61.881799][ T6762] ? process_one_work+0x1690/0x1690 [ 61.886996][ T6762] kthread+0x3b5/0x4a0 [ 61.891240][ T6762] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.897389][ T6762] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.903331][ T6762] ret_from_fork+0x1f/0x30 [ 61.909043][ T6762] Kernel Offset: disabled [ 61.913384][ T6762] Rebooting in 86400 seconds..