Warning: Permanently added '10.128.1.37' (ECDSA) to the list of known hosts. 2020/06/14 23:21:27 fuzzer started 2020/06/14 23:21:27 connecting to host at 10.128.0.26:44995 2020/06/14 23:21:27 checking machine... 2020/06/14 23:21:27 checking revisions... 2020/06/14 23:21:27 testing simple program... syzkaller login: [ 58.713903][ T6810] IPVS: ftp: loaded support on port[0] = 21 2020/06/14 23:21:27 building call list... [ 59.027419][ T21] tipc: TX() has been purged, node left! [ 59.509353][ T21] ================================================================== [ 59.517575][ T21] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 59.525731][ T21] Write of size 1 at addr ffff888097a3e9e4 by task kworker/u4:1/21 [ 59.533629][ T21] [ 59.535959][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Not tainted 5.7.0-next-20200614-syzkaller #0 [ 59.545054][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.555410][ T21] Workqueue: netns cleanup_net [ 59.560164][ T21] Call Trace: [ 59.563462][ T21] dump_stack+0x18f/0x20d [ 59.567890][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.573434][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.578975][ T21] ? afs_put_call+0xa40/0xa40 [ 59.583745][ T21] print_address_description.constprop.0.cold+0xd3/0x413 [ 59.591488][ T21] ? vprintk_func+0x97/0x1a6 [ 59.596516][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.605170][ T21] kasan_report.cold+0x1f/0x37 [ 59.613347][ T21] ? rcu_read_lock_held_common+0x41/0xa0 [ 59.619183][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.625257][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 59.630676][ T21] ? afs_close_socket+0x320/0x320 [ 59.636028][ T21] ? afs_put_call+0xa40/0xa40 [ 59.640703][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 59.645818][ T21] ? afs_put_call+0xa40/0xa40 [ 59.650491][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 59.656901][ T21] rxrpc_call_completed+0xca/0xf0 [ 59.661952][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 59.667323][ T21] ? lock_sock_nested+0x94/0x110 [ 59.672348][ T21] rxrpc_listen+0x147/0x360 [ 59.676960][ T21] afs_close_socket+0x95/0x320 [ 59.681717][ T21] ? afs_purge_servers+0x16d/0x300 [ 59.686829][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 59.692385][ T21] ? init_wait_var_entry+0x200/0x200 [ 59.697760][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 59.703394][ T21] ? check_preemption_disabled+0x38/0x220 [ 59.709115][ T21] afs_net_exit+0x1bc/0x310 [ 59.713618][ T21] ? afs_net_init+0xe30/0xe30 [ 59.718378][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 59.723511][ T21] cleanup_net+0x511/0xa50 [ 59.727947][ T21] ? unregister_pernet_device+0x70/0x70 [ 59.733520][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 59.739525][ T21] process_one_work+0x965/0x1690 [ 59.744472][ T21] ? lock_release+0x800/0x800 [ 59.749147][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 59.754521][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 59.759471][ T21] worker_thread+0x96/0xe10 [ 59.763993][ T21] ? process_one_work+0x1690/0x1690 [ 59.769196][ T21] kthread+0x3b5/0x4a0 [ 59.773384][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.779678][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.785578][ T21] ret_from_fork+0x1f/0x30 [ 59.790021][ T21] [ 59.792363][ T21] Allocated by task 6810: [ 59.796692][ T21] save_stack+0x1b/0x40 [ 59.800870][ T21] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 59.806585][ T21] kmem_cache_alloc_trace+0x153/0x7d0 [ 59.811953][ T21] afs_alloc_call+0x55/0x630 [ 59.816539][ T21] afs_charge_preallocation+0xe9/0x2d0 [ 59.822007][ T21] afs_open_socket+0x292/0x360 [ 59.826815][ T21] afs_net_init+0xa6c/0xe30 [ 59.831423][ T21] ops_init+0xaf/0x420 [ 59.835489][ T21] setup_net+0x2de/0x860 [ 59.840998][ T21] copy_net_ns+0x293/0x590 [ 59.845420][ T21] create_new_namespaces+0x3fb/0xb30 [ 59.850921][ T21] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 59.856560][ T21] ksys_unshare+0x43d/0x8e0 [ 59.861069][ T21] __x64_sys_unshare+0x2d/0x40 [ 59.866040][ T21] do_syscall_64+0x60/0xe0 [ 59.871328][ T21] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 59.877566][ T21] [ 59.879915][ T21] Freed by task 21: [ 59.883729][ T21] save_stack+0x1b/0x40 [ 59.887967][ T21] __kasan_slab_free+0xf7/0x140 [ 59.893280][ T21] kfree+0x109/0x2b0 [ 59.897181][ T21] afs_put_call+0x585/0xa40 [ 59.901698][ T21] rxrpc_discard_prealloc+0x764/0xab0 [ 59.907064][ T21] rxrpc_listen+0x147/0x360 [ 59.911570][ T21] afs_close_socket+0x95/0x320 [ 59.916343][ T21] afs_net_exit+0x1bc/0x310 [ 59.920961][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 59.926074][ T21] cleanup_net+0x511/0xa50 [ 59.930616][ T21] process_one_work+0x965/0x1690 [ 59.935602][ T21] worker_thread+0x96/0xe10 [ 59.940209][ T21] kthread+0x3b5/0x4a0 [ 59.944275][ T21] ret_from_fork+0x1f/0x30 [ 59.948793][ T21] [ 59.951119][ T21] The buggy address belongs to the object at ffff888097a3e800 [ 59.951119][ T21] which belongs to the cache kmalloc-1k of size 1024 [ 59.965411][ T21] The buggy address is located 484 bytes inside of [ 59.965411][ T21] 1024-byte region [ffff888097a3e800, ffff888097a3ec00) [ 59.978780][ T21] The buggy address belongs to the page: [ 59.984416][ T21] page:ffffea00025e8f80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 59.993635][ T21] flags: 0xfffe0000000200(slab) [ 59.998488][ T21] raw: 00fffe0000000200 ffffea00025c0948 ffffea0002687108 ffff8880aa000c40 [ 60.007169][ T21] raw: 0000000000000000 ffff888097a3e000 0000000100000002 0000000000000000 [ 60.015742][ T21] page dumped because: kasan: bad access detected [ 60.022144][ T21] [ 60.024487][ T21] Memory state around the buggy address: [ 60.030116][ T21] ffff888097a3e880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.038174][ T21] ffff888097a3e900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.046230][ T21] >ffff888097a3e980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.054300][ T21] ^ [ 60.061585][ T21] ffff888097a3ea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.070077][ T21] ffff888097a3ea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.078131][ T21] ================================================================== [ 60.086203][ T21] Disabling lock debugging due to kernel taint [ 60.092513][ T21] Kernel panic - not syncing: panic_on_warn set ... [ 60.099531][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Tainted: G B 5.7.0-next-20200614-syzkaller #0 [ 60.110285][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.120341][ T21] Workqueue: netns cleanup_net [ 60.125089][ T21] Call Trace: [ 60.128651][ T21] dump_stack+0x18f/0x20d [ 60.133422][ T21] ? afs_wake_up_async_call+0x5e0/0x770 [ 60.138957][ T21] ? afs_put_call+0xa40/0xa40 [ 60.143626][ T21] panic+0x2e3/0x75c [ 60.147522][ T21] ? __warn_printk+0xf3/0xf3 [ 60.152100][ T21] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 60.158250][ T21] ? trace_hardirqs_on+0x55/0x220 [ 60.163269][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.169171][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.174795][ T21] ? afs_put_call+0xa40/0xa40 [ 60.179464][ T21] end_report+0x4d/0x53 [ 60.183611][ T21] kasan_report.cold+0xd/0x37 [ 60.188285][ T21] ? rcu_read_lock_held_common+0x41/0xa0 [ 60.193909][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.199454][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 60.204903][ T21] ? afs_close_socket+0x320/0x320 [ 60.209938][ T21] ? afs_put_call+0xa40/0xa40 [ 60.214622][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 60.219749][ T21] ? afs_put_call+0xa40/0xa40 [ 60.224421][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.230829][ T21] rxrpc_call_completed+0xca/0xf0 [ 60.235873][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 60.241411][ T21] ? lock_sock_nested+0x94/0x110 [ 60.246341][ T21] rxrpc_listen+0x147/0x360 [ 60.251013][ T21] afs_close_socket+0x95/0x320 [ 60.255769][ T21] ? afs_purge_servers+0x16d/0x300 [ 60.260892][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 60.266357][ T21] ? init_wait_var_entry+0x200/0x200 [ 60.271730][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.277370][ T21] ? check_preemption_disabled+0x38/0x220 [ 60.283090][ T21] afs_net_exit+0x1bc/0x310 [ 60.287595][ T21] ? afs_net_init+0xe30/0xe30 [ 60.292263][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 60.297375][ T21] cleanup_net+0x511/0xa50 [ 60.301878][ T21] ? unregister_pernet_device+0x70/0x70 [ 60.307417][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 60.313389][ T21] process_one_work+0x965/0x1690 [ 60.318322][ T21] ? lock_release+0x800/0x800 [ 60.322988][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 60.328349][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 60.333373][ T21] worker_thread+0x96/0xe10 [ 60.337879][ T21] ? process_one_work+0x1690/0x1690 [ 60.343071][ T21] kthread+0x3b5/0x4a0 [ 60.347137][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.352848][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.358564][ T21] ret_from_fork+0x1f/0x30 [ 60.364367][ T21] Kernel Offset: disabled [ 60.368768][ T21] Rebooting in 86400 seconds..