Warning: Permanently added '10.128.0.71' (ECDSA) to the list of known hosts. 2020/06/14 21:43:37 fuzzer started 2020/06/14 21:43:37 connecting to host at 10.128.0.26:45911 2020/06/14 21:43:37 checking machine... 2020/06/14 21:43:37 checking revisions... 2020/06/14 21:43:37 testing simple program... syzkaller login: [ 58.783942][ T6809] IPVS: ftp: loaded support on port[0] = 21 2020/06/14 21:43:38 building call list... [ 59.122986][ T246] tipc: TX() has been purged, node left! [ 59.615011][ T246] ================================================================== [ 59.623232][ T246] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 59.631127][ T246] Write of size 1 at addr ffff88809e1179e4 by task kworker/u4:4/246 [ 59.639086][ T246] [ 59.641434][ T246] CPU: 1 PID: 246 Comm: kworker/u4:4 Not tainted 5.7.0-next-20200614-syzkaller #0 [ 59.650613][ T246] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.662058][ T246] Workqueue: netns cleanup_net [ 59.666808][ T246] Call Trace: [ 59.670097][ T246] dump_stack+0x18f/0x20d [ 59.674955][ T246] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.680522][ T246] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.686060][ T246] ? afs_put_call+0xa40/0xa40 [ 59.691217][ T246] print_address_description.constprop.0.cold+0xd3/0x413 [ 59.698240][ T246] ? vprintk_func+0x97/0x1a6 [ 59.702828][ T246] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.708366][ T246] kasan_report.cold+0x1f/0x37 [ 59.713130][ T246] ? rcu_read_lock_held_common+0x41/0xa0 [ 59.718755][ T246] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.724659][ T246] afs_wake_up_async_call+0x6aa/0x770 [ 59.731154][ T246] ? afs_close_socket+0x320/0x320 [ 59.737140][ T246] ? afs_put_call+0xa40/0xa40 [ 59.741834][ T246] rxrpc_notify_socket+0x1db/0x5d0 [ 59.746949][ T246] ? afs_put_call+0xa40/0xa40 [ 59.751639][ T246] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 59.758049][ T246] rxrpc_call_completed+0xca/0xf0 [ 59.763089][ T246] rxrpc_discard_prealloc+0x781/0xab0 [ 59.768457][ T246] ? lock_sock_nested+0x94/0x110 [ 59.773671][ T246] rxrpc_listen+0x147/0x360 [ 59.778173][ T246] afs_close_socket+0x95/0x320 [ 59.782946][ T246] ? afs_purge_servers+0x16d/0x300 [ 59.788055][ T246] ? afs_rx_discard_new_call+0x50/0x50 [ 59.793513][ T246] ? init_wait_var_entry+0x200/0x200 [ 59.798804][ T246] ? rcu_read_lock_held_common+0xa0/0xa0 [ 59.804430][ T246] ? check_preemption_disabled+0x38/0x220 [ 59.810149][ T246] afs_net_exit+0x1bc/0x310 [ 59.814665][ T246] ? afs_net_init+0xe30/0xe30 [ 59.819335][ T246] ops_exit_list.isra.0+0xa8/0x150 [ 59.824446][ T246] cleanup_net+0x511/0xa50 [ 59.828859][ T246] ? unregister_pernet_device+0x70/0x70 [ 59.834491][ T246] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 59.840474][ T246] process_one_work+0x965/0x1690 [ 59.845422][ T246] ? lock_release+0x800/0x800 [ 59.850113][ T246] ? pwq_dec_nr_in_flight+0x310/0x310 [ 59.855484][ T246] ? rwlock_bug.part.0+0x90/0x90 [ 59.860450][ T246] worker_thread+0x96/0xe10 [ 59.864974][ T246] ? process_one_work+0x1690/0x1690 [ 59.870175][ T246] kthread+0x3b5/0x4a0 [ 59.874241][ T246] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.879955][ T246] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.887066][ T246] ret_from_fork+0x1f/0x30 [ 59.891489][ T246] [ 59.893809][ T246] Allocated by task 6809: [ 59.898136][ T246] save_stack+0x1b/0x40 [ 59.902298][ T246] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 59.907935][ T246] kmem_cache_alloc_trace+0x153/0x7d0 [ 59.913339][ T246] afs_alloc_call+0x55/0x630 [ 59.917937][ T246] afs_charge_preallocation+0xe9/0x2d0 [ 59.923440][ T246] afs_open_socket+0x292/0x360 [ 59.928979][ T246] afs_net_init+0xa6c/0xe30 [ 59.933478][ T246] ops_init+0xaf/0x420 [ 59.937541][ T246] setup_net+0x2de/0x860 [ 59.941872][ T246] copy_net_ns+0x293/0x590 [ 59.946326][ T246] create_new_namespaces+0x3fb/0xb30 [ 59.951611][ T246] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 59.957263][ T246] ksys_unshare+0x43d/0x8e0 [ 59.961775][ T246] __x64_sys_unshare+0x2d/0x40 [ 59.966535][ T246] do_syscall_64+0x60/0xe0 [ 59.971380][ T246] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 59.977257][ T246] [ 59.979578][ T246] Freed by task 246: [ 59.983473][ T246] save_stack+0x1b/0x40 [ 59.987631][ T246] __kasan_slab_free+0xf7/0x140 [ 59.992470][ T246] kfree+0x109/0x2b0 [ 59.996392][ T246] afs_put_call+0x585/0xa40 [ 60.000889][ T246] rxrpc_discard_prealloc+0x764/0xab0 [ 60.006351][ T246] rxrpc_listen+0x147/0x360 [ 60.010863][ T246] afs_close_socket+0x95/0x320 [ 60.015621][ T246] afs_net_exit+0x1bc/0x310 [ 60.020116][ T246] ops_exit_list.isra.0+0xa8/0x150 [ 60.025257][ T246] cleanup_net+0x511/0xa50 [ 60.029674][ T246] process_one_work+0x965/0x1690 [ 60.034610][ T246] worker_thread+0x96/0xe10 [ 60.039140][ T246] kthread+0x3b5/0x4a0 [ 60.043204][ T246] ret_from_fork+0x1f/0x30 [ 60.047624][ T246] [ 60.049963][ T246] The buggy address belongs to the object at ffff88809e117800 [ 60.049963][ T246] which belongs to the cache kmalloc-1k of size 1024 [ 60.064031][ T246] The buggy address is located 484 bytes inside of [ 60.064031][ T246] 1024-byte region [ffff88809e117800, ffff88809e117c00) [ 60.080764][ T246] The buggy address belongs to the page: [ 60.086393][ T246] page:ffffea00027845c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.095510][ T246] flags: 0xfffe0000000200(slab) [ 60.102619][ T246] raw: 00fffe0000000200 ffffea0002a15448 ffffea0002514748 ffff8880aa000c40 [ 60.111214][ T246] raw: 0000000000000000 ffff88809e117000 0000000100000002 0000000000000000 [ 60.119792][ T246] page dumped because: kasan: bad access detected [ 60.126191][ T246] [ 60.130161][ T246] Memory state around the buggy address: [ 60.137869][ T246] ffff88809e117880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.145922][ T246] ffff88809e117900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.153979][ T246] >ffff88809e117980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.162027][ T246] ^ [ 60.169227][ T246] ffff88809e117a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.177465][ T246] ffff88809e117a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.185514][ T246] ================================================================== [ 60.193593][ T246] Disabling lock debugging due to kernel taint [ 60.199983][ T246] Kernel panic - not syncing: panic_on_warn set ... [ 60.206565][ T246] CPU: 1 PID: 246 Comm: kworker/u4:4 Tainted: G B 5.7.0-next-20200614-syzkaller #0 [ 60.217128][ T246] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.227522][ T246] Workqueue: netns cleanup_net [ 60.232269][ T246] Call Trace: [ 60.235563][ T246] dump_stack+0x18f/0x20d [ 60.239892][ T246] ? afs_wake_up_async_call+0x5e0/0x770 [ 60.245427][ T246] ? afs_put_call+0xa40/0xa40 [ 60.250111][ T246] panic+0x2e3/0x75c [ 60.253996][ T246] ? __warn_printk+0xf3/0xf3 [ 60.258573][ T246] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 60.264720][ T246] ? trace_hardirqs_on+0x55/0x220 [ 60.269735][ T246] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.276132][ T246] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.281662][ T246] ? afs_put_call+0xa40/0xa40 [ 60.286327][ T246] end_report+0x4d/0x53 [ 60.290479][ T246] kasan_report.cold+0xd/0x37 [ 60.295145][ T246] ? rcu_read_lock_held_common+0x41/0xa0 [ 60.300763][ T246] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.306315][ T246] afs_wake_up_async_call+0x6aa/0x770 [ 60.311676][ T246] ? afs_close_socket+0x320/0x320 [ 60.317208][ T246] ? afs_put_call+0xa40/0xa40 [ 60.321879][ T246] rxrpc_notify_socket+0x1db/0x5d0 [ 60.326978][ T246] ? afs_put_call+0xa40/0xa40 [ 60.331647][ T246] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.338047][ T246] rxrpc_call_completed+0xca/0xf0 [ 60.343061][ T246] rxrpc_discard_prealloc+0x781/0xab0 [ 60.348421][ T246] ? lock_sock_nested+0x94/0x110 [ 60.353343][ T246] rxrpc_listen+0x147/0x360 [ 60.357834][ T246] afs_close_socket+0x95/0x320 [ 60.362586][ T246] ? afs_purge_servers+0x16d/0x300 [ 60.367683][ T246] ? afs_rx_discard_new_call+0x50/0x50 [ 60.373134][ T246] ? init_wait_var_entry+0x200/0x200 [ 60.378408][ T246] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.384027][ T246] ? check_preemption_disabled+0x38/0x220 [ 60.389748][ T246] afs_net_exit+0x1bc/0x310 [ 60.394237][ T246] ? afs_net_init+0xe30/0xe30 [ 60.398904][ T246] ops_exit_list.isra.0+0xa8/0x150 [ 60.404016][ T246] cleanup_net+0x511/0xa50 [ 60.408420][ T246] ? unregister_pernet_device+0x70/0x70 [ 60.413956][ T246] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 60.419932][ T246] process_one_work+0x965/0x1690 [ 60.424864][ T246] ? lock_release+0x800/0x800 [ 60.429530][ T246] ? pwq_dec_nr_in_flight+0x310/0x310 [ 60.434894][ T246] ? rwlock_bug.part.0+0x90/0x90 [ 60.439829][ T246] worker_thread+0x96/0xe10 [ 60.444323][ T246] ? process_one_work+0x1690/0x1690 [ 60.449519][ T246] kthread+0x3b5/0x4a0 [ 60.453583][ T246] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.459319][ T246] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.465055][ T246] ret_from_fork+0x1f/0x30 [ 60.470879][ T246] Kernel Offset: disabled [ 60.475203][ T246] Rebooting in 86400 seconds..