Warning: Permanently added '10.128.0.112' (ECDSA) to the list of known hosts. 2020/06/15 16:39:26 fuzzer started 2020/06/15 16:39:27 connecting to host at 10.128.0.26:41019 2020/06/15 16:39:27 checking machine... 2020/06/15 16:39:27 checking revisions... 2020/06/15 16:39:27 testing simple program... syzkaller login: [ 60.704448][ T6816] IPVS: ftp: loaded support on port[0] = 21 2020/06/15 16:39:27 building call list... [ 61.010337][ T167] tipc: TX() has been purged, node left! [ 61.532411][ T167] ================================================================== [ 61.540625][ T167] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.548769][ T167] Write of size 1 at addr ffff8880a8e319e4 by task kworker/u4:4/167 [ 61.556728][ T167] [ 61.559057][ T167] CPU: 0 PID: 167 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-next-20200615-syzkaller #0 [ 61.568583][ T167] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.578637][ T167] Workqueue: netns cleanup_net [ 61.583391][ T167] Call Trace: [ 61.586680][ T167] dump_stack+0x18f/0x20d [ 61.591012][ T167] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.596576][ T167] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.602288][ T167] ? afs_put_call+0xa40/0xa40 [ 61.606974][ T167] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.614023][ T167] ? vprintk_func+0x97/0x1a6 [ 61.618619][ T167] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.624163][ T167] kasan_report.cold+0x1f/0x37 [ 61.628929][ T167] ? rcu_read_lock_held_common+0x71/0xa0 [ 61.634561][ T167] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.640133][ T167] afs_wake_up_async_call+0x6aa/0x770 [ 61.645500][ T167] ? afs_close_socket+0x320/0x320 [ 61.650523][ T167] ? afs_put_call+0xa40/0xa40 [ 61.655213][ T167] rxrpc_notify_socket+0x1db/0x5d0 [ 61.660337][ T167] ? afs_put_call+0xa40/0xa40 [ 61.665014][ T167] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.671437][ T167] rxrpc_call_completed+0xca/0xf0 [ 61.676466][ T167] rxrpc_discard_prealloc+0x781/0xab0 [ 61.681839][ T167] ? lock_sock_nested+0x94/0x110 [ 61.686780][ T167] rxrpc_listen+0x147/0x360 [ 61.691308][ T167] afs_close_socket+0x95/0x320 [ 61.696102][ T167] ? afs_purge_servers+0x16d/0x300 [ 61.701220][ T167] ? afs_rx_discard_new_call+0x50/0x50 [ 61.706684][ T167] ? init_wait_var_entry+0x200/0x200 [ 61.711973][ T167] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.717625][ T167] ? check_preemption_disabled+0x38/0x220 [ 61.723365][ T167] afs_net_exit+0x1bc/0x310 [ 61.727893][ T167] ? afs_net_init+0xe30/0xe30 [ 61.732571][ T167] ops_exit_list.isra.0+0xa8/0x150 [ 61.737688][ T167] cleanup_net+0x511/0xa50 [ 61.742109][ T167] ? unregister_pernet_device+0x70/0x70 [ 61.747659][ T167] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.753753][ T167] process_one_work+0x965/0x1690 [ 61.758714][ T167] ? lock_release+0x800/0x800 [ 61.763415][ T167] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.769348][ T167] ? rwlock_bug.part.0+0x90/0x90 [ 61.774297][ T167] worker_thread+0x96/0xe10 [ 61.778815][ T167] ? process_one_work+0x1690/0x1690 [ 61.784017][ T167] kthread+0x3b5/0x4a0 [ 61.788171][ T167] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.793888][ T167] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.799629][ T167] ret_from_fork+0x1f/0x30 [ 61.804054][ T167] [ 61.806377][ T167] Allocated by task 6816: [ 61.810711][ T167] save_stack+0x1b/0x40 [ 61.814870][ T167] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.820510][ T167] kmem_cache_alloc_trace+0x153/0x7d0 [ 61.825883][ T167] afs_alloc_call+0x55/0x630 [ 61.830478][ T167] afs_charge_preallocation+0xe9/0x2d0 [ 61.835943][ T167] afs_open_socket+0x292/0x360 [ 61.840722][ T167] afs_net_init+0xa6c/0xe30 [ 61.845228][ T167] ops_init+0xaf/0x420 [ 61.849292][ T167] setup_net+0x2de/0x860 [ 61.853529][ T167] copy_net_ns+0x293/0x590 [ 61.857942][ T167] create_new_namespaces+0x3fb/0xb30 [ 61.863398][ T167] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.871630][ T167] ksys_unshare+0x43d/0x8e0 [ 61.876150][ T167] __x64_sys_unshare+0x2d/0x40 [ 61.880910][ T167] do_syscall_64+0x60/0xe0 [ 61.885325][ T167] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.891203][ T167] [ 61.893528][ T167] Freed by task 167: [ 61.897441][ T167] save_stack+0x1b/0x40 [ 61.901601][ T167] __kasan_slab_free+0xf7/0x140 [ 61.906448][ T167] kfree+0x109/0x2b0 [ 61.910338][ T167] afs_put_call+0x585/0xa40 [ 61.914837][ T167] rxrpc_discard_prealloc+0x764/0xab0 [ 61.920200][ T167] rxrpc_listen+0x147/0x360 [ 61.924698][ T167] afs_close_socket+0x95/0x320 [ 61.929456][ T167] afs_net_exit+0x1bc/0x310 [ 61.933953][ T167] ops_exit_list.isra.0+0xa8/0x150 [ 61.939058][ T167] cleanup_net+0x511/0xa50 [ 61.943475][ T167] process_one_work+0x965/0x1690 [ 61.948422][ T167] worker_thread+0x96/0xe10 [ 61.952934][ T167] kthread+0x3b5/0x4a0 [ 61.957015][ T167] ret_from_fork+0x1f/0x30 [ 61.962408][ T167] [ 61.964750][ T167] The buggy address belongs to the object at ffff8880a8e31800 [ 61.964750][ T167] which belongs to the cache kmalloc-1k of size 1024 [ 61.978806][ T167] The buggy address is located 484 bytes inside of [ 61.978806][ T167] 1024-byte region [ffff8880a8e31800, ffff8880a8e31c00) [ 61.992166][ T167] The buggy address belongs to the page: [ 61.997808][ T167] page:ffffea0002a38c40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.007183][ T167] flags: 0xfffe0000000200(slab) [ 62.012045][ T167] raw: 00fffe0000000200 ffffea00029ca648 ffffea0002a43dc8 ffff8880aa000c40 [ 62.020641][ T167] raw: 0000000000000000 ffff8880a8e31000 0000000100000002 0000000000000000 [ 62.029219][ T167] page dumped because: kasan: bad access detected [ 62.035627][ T167] [ 62.037953][ T167] Memory state around the buggy address: [ 62.043581][ T167] ffff8880a8e31880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.051639][ T167] ffff8880a8e31900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.059718][ T167] >ffff8880a8e31980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.067792][ T167] ^ [ 62.075006][ T167] ffff8880a8e31a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.083065][ T167] ffff8880a8e31a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.093287][ T167] ================================================================== [ 62.101340][ T167] Disabling lock debugging due to kernel taint [ 62.107622][ T167] Kernel panic - not syncing: panic_on_warn set ... [ 62.114213][ T167] CPU: 0 PID: 167 Comm: kworker/u4:4 Tainted: G B 5.8.0-rc1-next-20200615-syzkaller #0 [ 62.125133][ T167] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.135186][ T167] Workqueue: netns cleanup_net [ 62.139947][ T167] Call Trace: [ 62.143235][ T167] dump_stack+0x18f/0x20d [ 62.147566][ T167] ? afs_wake_up_async_call+0x660/0x770 [ 62.153108][ T167] ? afs_put_call+0xa40/0xa40 [ 62.157783][ T167] panic+0x2e3/0x75c [ 62.161678][ T167] ? __warn_printk+0xf3/0xf3 [ 62.166293][ T167] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.172446][ T167] ? trace_hardirqs_on+0x55/0x220 [ 62.177507][ T167] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.183051][ T167] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.188588][ T167] ? afs_put_call+0xa40/0xa40 [ 62.193260][ T167] end_report+0x4d/0x53 [ 62.197437][ T167] kasan_report.cold+0xd/0x37 [ 62.202131][ T167] ? rcu_read_lock_held_common+0x71/0xa0 [ 62.207755][ T167] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.213293][ T167] afs_wake_up_async_call+0x6aa/0x770 [ 62.218654][ T167] ? afs_close_socket+0x320/0x320 [ 62.223671][ T167] ? afs_put_call+0xa40/0xa40 [ 62.228355][ T167] rxrpc_notify_socket+0x1db/0x5d0 [ 62.233464][ T167] ? afs_put_call+0xa40/0xa40 [ 62.238139][ T167] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.244546][ T167] rxrpc_call_completed+0xca/0xf0 [ 62.249565][ T167] rxrpc_discard_prealloc+0x781/0xab0 [ 62.254943][ T167] ? lock_sock_nested+0x94/0x110 [ 62.259873][ T167] rxrpc_listen+0x147/0x360 [ 62.264389][ T167] afs_close_socket+0x95/0x320 [ 62.269143][ T167] ? afs_purge_servers+0x16d/0x300 [ 62.274263][ T167] ? afs_rx_discard_new_call+0x50/0x50 [ 62.281210][ T167] ? init_wait_var_entry+0x200/0x200 [ 62.286489][ T167] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.292119][ T167] ? check_preemption_disabled+0x38/0x220 [ 62.297829][ T167] afs_net_exit+0x1bc/0x310 [ 62.302322][ T167] ? afs_net_init+0xe30/0xe30 [ 62.306991][ T167] ops_exit_list.isra.0+0xa8/0x150 [ 62.312094][ T167] cleanup_net+0x511/0xa50 [ 62.316505][ T167] ? unregister_pernet_device+0x70/0x70 [ 62.322049][ T167] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.328027][ T167] process_one_work+0x965/0x1690 [ 62.332962][ T167] ? lock_release+0x800/0x800 [ 62.339911][ T167] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.345279][ T167] ? rwlock_bug.part.0+0x90/0x90 [ 62.350215][ T167] worker_thread+0x96/0xe10 [ 62.354717][ T167] ? process_one_work+0x1690/0x1690 [ 62.359909][ T167] kthread+0x3b5/0x4a0 [ 62.363995][ T167] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.369706][ T167] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.375420][ T167] ret_from_fork+0x1f/0x30 [ 62.381299][ T167] Kernel Offset: disabled [ 62.385678][ T167] Rebooting in 86400 seconds..