Warning: Permanently added '10.128.10.24' (ECDSA) to the list of known hosts. 2020/06/19 07:56:42 fuzzer started 2020/06/19 07:56:42 connecting to host at 10.128.0.26:40595 2020/06/19 07:56:42 checking machine... 2020/06/19 07:56:42 checking revisions... 2020/06/19 07:56:42 testing simple program... syzkaller login: [ 61.953768][ T6805] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 07:56:43 building call list... [ 62.321475][ T7] tipc: TX() has been purged, node left! [ 62.833646][ T7] ================================================================== [ 62.841875][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.849761][ T7] Write of size 1 at addr ffff8880818521e4 by task kworker/u4:0/7 [ 62.857547][ T7] [ 62.859902][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.868038][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.878092][ T7] Workqueue: netns cleanup_net [ 62.882844][ T7] Call Trace: [ 62.886134][ T7] dump_stack+0x18f/0x20d [ 62.890466][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.896004][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.901544][ T7] ? afs_put_call+0xa40/0xa40 [ 62.906219][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.913243][ T7] ? vprintk_func+0x97/0x1a6 [ 62.917834][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.923373][ T7] kasan_report.cold+0x1f/0x37 [ 62.928136][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.933765][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.939307][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 62.944673][ T7] ? afs_close_socket+0x320/0x320 [ 62.949694][ T7] ? afs_put_call+0xa40/0xa40 [ 62.954370][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 62.959485][ T7] ? afs_put_call+0xa40/0xa40 [ 62.964162][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.970586][ T7] rxrpc_call_completed+0xca/0xf0 [ 62.975614][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 62.980984][ T7] ? lock_sock_nested+0x94/0x110 [ 62.985922][ T7] rxrpc_listen+0x147/0x360 [ 62.990429][ T7] afs_close_socket+0x95/0x320 [ 62.995191][ T7] ? afs_purge_servers+0x16d/0x300 [ 63.000299][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 63.005762][ T7] ? init_wait_var_entry+0x200/0x200 [ 63.011060][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 63.016696][ T7] ? check_preemption_disabled+0x38/0x220 [ 63.022424][ T7] afs_net_exit+0x1bc/0x310 [ 63.026931][ T7] ? afs_net_init+0xe30/0xe30 [ 63.031606][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 63.036723][ T7] cleanup_net+0x511/0xa50 [ 63.041142][ T7] ? unregister_pernet_device+0x70/0x70 [ 63.046694][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 63.052678][ T7] process_one_work+0x965/0x1690 [ 63.057628][ T7] ? lock_release+0x800/0x800 [ 63.062306][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.067680][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 63.072630][ T7] worker_thread+0x96/0xe10 [ 63.077148][ T7] ? process_one_work+0x1690/0x1690 [ 63.082344][ T7] kthread+0x3b5/0x4a0 [ 63.086433][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.092145][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.097871][ T7] ret_from_fork+0x1f/0x30 [ 63.102291][ T7] [ 63.104634][ T7] Allocated by task 6805: [ 63.108959][ T7] save_stack+0x1b/0x40 [ 63.113109][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 63.118735][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 63.124099][ T7] afs_alloc_call+0x55/0x630 [ 63.128684][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 63.134137][ T7] afs_open_socket+0x292/0x360 [ 63.138894][ T7] afs_net_init+0xa6c/0xe30 [ 63.143393][ T7] ops_init+0xaf/0x420 [ 63.147455][ T7] setup_net+0x2de/0x860 [ 63.151692][ T7] copy_net_ns+0x293/0x590 [ 63.156105][ T7] create_new_namespaces+0x3fb/0xb30 [ 63.161388][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 63.167014][ T7] ksys_unshare+0x43d/0x8e0 [ 63.171514][ T7] __x64_sys_unshare+0x2d/0x40 [ 63.176282][ T7] do_syscall_64+0x60/0xe0 [ 63.180700][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 63.186582][ T7] [ 63.188903][ T7] Freed by task 7: [ 63.192624][ T7] save_stack+0x1b/0x40 [ 63.196777][ T7] __kasan_slab_free+0xf7/0x140 [ 63.201625][ T7] kfree+0x109/0x2b0 [ 63.205515][ T7] afs_put_call+0x585/0xa40 [ 63.210016][ T7] rxrpc_discard_prealloc+0x764/0xab0 [ 63.215386][ T7] rxrpc_listen+0x147/0x360 [ 63.219882][ T7] afs_close_socket+0x95/0x320 [ 63.224640][ T7] afs_net_exit+0x1bc/0x310 [ 63.229138][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 63.234243][ T7] cleanup_net+0x511/0xa50 [ 63.238655][ T7] process_one_work+0x965/0x1690 [ 63.243588][ T7] worker_thread+0x96/0xe10 [ 63.248082][ T7] kthread+0x3b5/0x4a0 [ 63.252150][ T7] ret_from_fork+0x1f/0x30 [ 63.256554][ T7] [ 63.258881][ T7] The buggy address belongs to the object at ffff888081852000 [ 63.258881][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 63.272927][ T7] The buggy address is located 484 bytes inside of [ 63.272927][ T7] 1024-byte region [ffff888081852000, ffff888081852400) [ 63.286275][ T7] The buggy address belongs to the page: [ 63.291921][ T7] page:ffffea0002061480 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 63.301038][ T7] flags: 0xfffe0000000200(slab) [ 63.305904][ T7] raw: 00fffe0000000200 ffffea00020613c8 ffffea00020614c8 ffff8880aa000c40 [ 63.314505][ T7] raw: 0000000000000000 ffff888081852000 0000000100000002 0000000000000000 [ 63.323099][ T7] page dumped because: kasan: bad access detected [ 63.329496][ T7] [ 63.331816][ T7] Memory state around the buggy address: [ 63.337441][ T7] ffff888081852080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.345498][ T7] ffff888081852100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.353667][ T7] >ffff888081852180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.361718][ T7] ^ [ 63.368909][ T7] ffff888081852200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.376970][ T7] ffff888081852280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.385022][ T7] ================================================================== [ 63.393164][ T7] Disabling lock debugging due to kernel taint [ 63.399352][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 63.405936][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 63.415477][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.425533][ T7] Workqueue: netns cleanup_net [ 63.430283][ T7] Call Trace: [ 63.433569][ T7] dump_stack+0x18f/0x20d [ 63.437893][ T7] ? afs_wake_up_async_call+0x680/0x770 [ 63.443428][ T7] ? afs_put_call+0xa40/0xa40 [ 63.448097][ T7] panic+0x2e3/0x75c [ 63.451992][ T7] ? __warn_printk+0xf3/0xf3 [ 63.456580][ T7] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 63.462731][ T7] ? trace_hardirqs_on+0x55/0x220 [ 63.467749][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.473285][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.478817][ T7] ? afs_put_call+0xa40/0xa40 [ 63.483483][ T7] end_report+0x4d/0x53 [ 63.487636][ T7] kasan_report.cold+0xd/0x37 [ 63.492305][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 63.497928][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.503491][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 63.508851][ T7] ? afs_close_socket+0x320/0x320 [ 63.514124][ T7] ? afs_put_call+0xa40/0xa40 [ 63.518802][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 63.523924][ T7] ? afs_put_call+0xa40/0xa40 [ 63.528594][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 63.535004][ T7] rxrpc_call_completed+0xca/0xf0 [ 63.540025][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 63.545391][ T7] ? lock_sock_nested+0x94/0x110 [ 63.550323][ T7] rxrpc_listen+0x147/0x360 [ 63.554821][ T7] afs_close_socket+0x95/0x320 [ 63.559583][ T7] ? afs_purge_servers+0x16d/0x300 [ 63.564710][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 63.570162][ T7] ? init_wait_var_entry+0x200/0x200 [ 63.575442][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 63.581065][ T7] ? check_preemption_disabled+0x38/0x220 [ 63.586775][ T7] afs_net_exit+0x1bc/0x310 [ 63.591268][ T7] ? afs_net_init+0xe30/0xe30 [ 63.595936][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 63.601044][ T7] cleanup_net+0x511/0xa50 [ 63.605450][ T7] ? unregister_pernet_device+0x70/0x70 [ 63.610991][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 63.616966][ T7] process_one_work+0x965/0x1690 [ 63.621899][ T7] ? lock_release+0x800/0x800 [ 63.626567][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.631932][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 63.636867][ T7] worker_thread+0x96/0xe10 [ 63.641366][ T7] ? process_one_work+0x1690/0x1690 [ 63.646554][ T7] kthread+0x3b5/0x4a0 [ 63.650621][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.656350][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.662061][ T7] ret_from_fork+0x1f/0x30 [ 63.667113][ T7] Kernel Offset: disabled [ 63.671459][ T7] Rebooting in 86400 seconds..