Warning: Permanently added '10.128.0.159' (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:42291 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.082506][ T6809] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 07:56:43 building call list... [ 61.441745][ T57] tipc: TX() has been purged, node left! [ 61.943534][ T57] ================================================================== [ 61.951767][ T57] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.960088][ T57] Write of size 1 at addr ffff8880a7fb51e4 by task kworker/u4:2/57 [ 61.967968][ T57] [ 61.970302][ T57] CPU: 0 PID: 57 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #0 [ 61.978527][ T57] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.988605][ T57] Workqueue: netns cleanup_net [ 61.993389][ T57] Call Trace: [ 61.996681][ T57] dump_stack+0x18f/0x20d [ 62.001012][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.006554][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.012094][ T57] ? afs_put_call+0xa40/0xa40 [ 62.016775][ T57] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.023887][ T57] ? vprintk_func+0x97/0x1a6 [ 62.028581][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.034142][ T57] kasan_report.cold+0x1f/0x37 [ 62.038934][ T57] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.044566][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.050117][ T57] afs_wake_up_async_call+0x6aa/0x770 [ 62.055488][ T57] ? afs_close_socket+0x320/0x320 [ 62.060772][ T57] ? afs_put_call+0xa40/0xa40 [ 62.065536][ T57] rxrpc_notify_socket+0x1db/0x5d0 [ 62.070680][ T57] ? afs_put_call+0xa40/0xa40 [ 62.075355][ T57] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.081787][ T57] rxrpc_call_completed+0xca/0xf0 [ 62.086816][ T57] rxrpc_discard_prealloc+0x781/0xab0 [ 62.092211][ T57] ? lock_sock_nested+0x94/0x110 [ 62.097165][ T57] rxrpc_listen+0x147/0x360 [ 62.101669][ T57] afs_close_socket+0x95/0x320 [ 62.106428][ T57] ? afs_purge_servers+0x16d/0x300 [ 62.111551][ T57] ? afs_rx_discard_new_call+0x50/0x50 [ 62.118148][ T57] ? init_wait_var_entry+0x200/0x200 [ 62.123437][ T57] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.129070][ T57] ? check_preemption_disabled+0x38/0x220 [ 62.134790][ T57] afs_net_exit+0x1bc/0x310 [ 62.139297][ T57] ? afs_net_init+0xe30/0xe30 [ 62.143980][ T57] ops_exit_list.isra.0+0xa8/0x150 [ 62.149100][ T57] cleanup_net+0x511/0xa50 [ 62.153518][ T57] ? unregister_pernet_device+0x70/0x70 [ 62.159105][ T57] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.165113][ T57] process_one_work+0x965/0x1690 [ 62.170062][ T57] ? lock_release+0x800/0x800 [ 62.174739][ T57] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.180124][ T57] ? rwlock_bug.part.0+0x90/0x90 [ 62.185091][ T57] worker_thread+0x96/0xe10 [ 62.189667][ T57] ? process_one_work+0x1690/0x1690 [ 62.194872][ T57] kthread+0x3b5/0x4a0 [ 62.198971][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.204690][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.210412][ T57] ret_from_fork+0x1f/0x30 [ 62.214835][ T57] [ 62.217342][ T57] Allocated by task 6809: [ 62.221766][ T57] save_stack+0x1b/0x40 [ 62.225923][ T57] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.231561][ T57] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.236932][ T57] afs_alloc_call+0x55/0x630 [ 62.241521][ T57] afs_charge_preallocation+0xe9/0x2d0 [ 62.246982][ T57] afs_open_socket+0x292/0x360 [ 62.251747][ T57] afs_net_init+0xa6c/0xe30 [ 62.256242][ T57] ops_init+0xaf/0x420 [ 62.260306][ T57] setup_net+0x2de/0x860 [ 62.264541][ T57] copy_net_ns+0x293/0x590 [ 62.268955][ T57] create_new_namespaces+0x3fb/0xb30 [ 62.274235][ T57] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.279860][ T57] ksys_unshare+0x43d/0x8e0 [ 62.284358][ T57] __x64_sys_unshare+0x2d/0x40 [ 62.289119][ T57] do_syscall_64+0x60/0xe0 [ 62.293534][ T57] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.299413][ T57] [ 62.301732][ T57] Freed by task 57: [ 62.305556][ T57] save_stack+0x1b/0x40 [ 62.309720][ T57] __kasan_slab_free+0xf7/0x140 [ 62.314670][ T57] kfree+0x109/0x2b0 [ 62.318912][ T57] afs_put_call+0x585/0xa40 [ 62.323514][ T57] rxrpc_discard_prealloc+0x764/0xab0 [ 62.328897][ T57] rxrpc_listen+0x147/0x360 [ 62.333419][ T57] afs_close_socket+0x95/0x320 [ 62.338202][ T57] afs_net_exit+0x1bc/0x310 [ 62.343325][ T57] ops_exit_list.isra.0+0xa8/0x150 [ 62.348431][ T57] cleanup_net+0x511/0xa50 [ 62.352846][ T57] process_one_work+0x965/0x1690 [ 62.358214][ T57] worker_thread+0x96/0xe10 [ 62.362937][ T57] kthread+0x3b5/0x4a0 [ 62.367009][ T57] ret_from_fork+0x1f/0x30 [ 62.371411][ T57] [ 62.373738][ T57] The buggy address belongs to the object at ffff8880a7fb5000 [ 62.373738][ T57] which belongs to the cache kmalloc-1k of size 1024 [ 62.388686][ T57] The buggy address is located 484 bytes inside of [ 62.388686][ T57] 1024-byte region [ffff8880a7fb5000, ffff8880a7fb5400) [ 62.402046][ T57] The buggy address belongs to the page: [ 62.407682][ T57] page:ffffea00029fed40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.416882][ T57] flags: 0xfffe0000000200(slab) [ 62.421737][ T57] raw: 00fffe0000000200 ffffea00029b7208 ffffea00022e4dc8 ffff8880aa000c40 [ 62.430321][ T57] raw: 0000000000000000 ffff8880a7fb5000 0000000100000002 0000000000000000 [ 62.438892][ T57] page dumped because: kasan: bad access detected [ 62.445375][ T57] [ 62.447699][ T57] Memory state around the buggy address: [ 62.453324][ T57] ffff8880a7fb5080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.461410][ T57] ffff8880a7fb5100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.469469][ T57] >ffff8880a7fb5180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.477604][ T57] ^ [ 62.484806][ T57] ffff8880a7fb5200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.492862][ T57] ffff8880a7fb5280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.500913][ T57] ================================================================== [ 62.508960][ T57] Disabling lock debugging due to kernel taint [ 62.515167][ T57] Kernel panic - not syncing: panic_on_warn set ... [ 62.522033][ T57] CPU: 0 PID: 57 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.531657][ T57] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.541719][ T57] Workqueue: netns cleanup_net [ 62.546469][ T57] Call Trace: [ 62.549757][ T57] dump_stack+0x18f/0x20d [ 62.554104][ T57] ? afs_wake_up_async_call+0x680/0x770 [ 62.560272][ T57] ? afs_put_call+0xa40/0xa40 [ 62.565049][ T57] panic+0x2e3/0x75c [ 62.568949][ T57] ? __warn_printk+0xf3/0xf3 [ 62.573552][ T57] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.579726][ T57] ? trace_hardirqs_on+0x55/0x220 [ 62.584746][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.590289][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.595827][ T57] ? afs_put_call+0xa40/0xa40 [ 62.601016][ T57] end_report+0x4d/0x53 [ 62.605167][ T57] kasan_report.cold+0xd/0x37 [ 62.609861][ T57] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.615493][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.621135][ T57] afs_wake_up_async_call+0x6aa/0x770 [ 62.626675][ T57] ? afs_close_socket+0x320/0x320 [ 62.631693][ T57] ? afs_put_call+0xa40/0xa40 [ 62.636449][ T57] rxrpc_notify_socket+0x1db/0x5d0 [ 62.641645][ T57] ? afs_put_call+0xa40/0xa40 [ 62.646316][ T57] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.652835][ T57] rxrpc_call_completed+0xca/0xf0 [ 62.658116][ T57] rxrpc_discard_prealloc+0x781/0xab0 [ 62.663487][ T57] ? lock_sock_nested+0x94/0x110 [ 62.668438][ T57] rxrpc_listen+0x147/0x360 [ 62.672933][ T57] afs_close_socket+0x95/0x320 [ 62.677686][ T57] ? afs_purge_servers+0x16d/0x300 [ 62.682876][ T57] ? afs_rx_discard_new_call+0x50/0x50 [ 62.688336][ T57] ? init_wait_var_entry+0x200/0x200 [ 62.693721][ T57] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.699365][ T57] ? check_preemption_disabled+0x38/0x220 [ 62.705085][ T57] afs_net_exit+0x1bc/0x310 [ 62.710817][ T57] ? afs_net_init+0xe30/0xe30 [ 62.715491][ T57] ops_exit_list.isra.0+0xa8/0x150 [ 62.721128][ T57] cleanup_net+0x511/0xa50 [ 62.725541][ T57] ? unregister_pernet_device+0x70/0x70 [ 62.731341][ T57] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.737319][ T57] process_one_work+0x965/0x1690 [ 62.742341][ T57] ? lock_release+0x800/0x800 [ 62.747016][ T57] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.752383][ T57] ? rwlock_bug.part.0+0x90/0x90 [ 62.757316][ T57] worker_thread+0x96/0xe10 [ 62.761840][ T57] ? process_one_work+0x1690/0x1690 [ 62.767130][ T57] kthread+0x3b5/0x4a0 [ 62.771195][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.776906][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.782628][ T57] ret_from_fork+0x1f/0x30 [ 62.788512][ T57] Kernel Offset: disabled [ 62.792926][ T57] Rebooting in 86400 seconds..