Warning: Permanently added '10.128.0.245' (ECDSA) to the list of known hosts. 2020/06/19 02:07:20 fuzzer started 2020/06/19 02:07:21 connecting to host at 10.128.0.26:37773 2020/06/19 02:07:21 checking machine... 2020/06/19 02:07:21 checking revisions... 2020/06/19 02:07:21 testing simple program... syzkaller login: [ 66.788912][ T6849] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 02:07:21 building call list... [ 67.105090][ T38] tipc: TX() has been purged, node left! [ 67.647939][ T38] ================================================================== [ 67.656171][ T38] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 67.664060][ T38] Write of size 1 at addr ffff8880a85b51e4 by task kworker/u4:2/38 [ 67.671944][ T38] [ 67.674283][ T38] CPU: 0 PID: 38 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #0 [ 67.682683][ T38] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 67.692740][ T38] Workqueue: netns cleanup_net [ 67.697525][ T38] Call Trace: [ 67.700817][ T38] dump_stack+0x18f/0x20d [ 67.705157][ T38] ? afs_wake_up_async_call+0x6aa/0x770 [ 67.710707][ T38] ? afs_wake_up_async_call+0x6aa/0x770 [ 67.716273][ T38] ? afs_put_call+0xa40/0xa40 [ 67.720949][ T38] print_address_description.constprop.0.cold+0xd3/0x413 [ 67.727996][ T38] ? vprintk_func+0x97/0x1a6 [ 67.732619][ T38] ? afs_wake_up_async_call+0x6aa/0x770 [ 67.738175][ T38] kasan_report.cold+0x1f/0x37 [ 67.742946][ T38] ? rcu_read_lock_held_common+0x51/0xa0 [ 67.748576][ T38] ? afs_wake_up_async_call+0x6aa/0x770 [ 67.754122][ T38] afs_wake_up_async_call+0x6aa/0x770 [ 67.759497][ T38] ? afs_close_socket+0x320/0x320 [ 67.764529][ T38] ? afs_put_call+0xa40/0xa40 [ 67.769206][ T38] rxrpc_notify_socket+0x1db/0x5d0 [ 67.774322][ T38] ? afs_put_call+0xa40/0xa40 [ 67.779001][ T38] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 67.785423][ T38] rxrpc_call_completed+0xca/0xf0 [ 67.790454][ T38] rxrpc_discard_prealloc+0x781/0xab0 [ 67.795831][ T38] ? lock_sock_nested+0x94/0x110 [ 67.800781][ T38] rxrpc_listen+0x147/0x360 [ 67.805288][ T38] afs_close_socket+0x95/0x320 [ 67.810048][ T38] ? afs_purge_servers+0x16d/0x300 [ 67.815175][ T38] ? afs_rx_discard_new_call+0x50/0x50 [ 67.820644][ T38] ? init_wait_var_entry+0x200/0x200 [ 67.825937][ T38] ? rcu_read_lock_held_common+0xa0/0xa0 [ 67.831570][ T38] ? check_preemption_disabled+0x38/0x220 [ 67.837301][ T38] afs_net_exit+0x1bc/0x310 [ 67.841804][ T38] ? afs_net_init+0xe30/0xe30 [ 67.846480][ T38] ops_exit_list.isra.0+0xa8/0x150 [ 67.851601][ T38] cleanup_net+0x511/0xa50 [ 67.856029][ T38] ? unregister_pernet_device+0x70/0x70 [ 67.861623][ T38] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 67.867634][ T38] process_one_work+0x965/0x1690 [ 67.872597][ T38] ? lock_release+0x800/0x800 [ 67.877288][ T38] ? pwq_dec_nr_in_flight+0x310/0x310 [ 67.882697][ T38] ? rwlock_bug.part.0+0x90/0x90 [ 67.887654][ T38] worker_thread+0x96/0xe10 [ 67.892176][ T38] ? process_one_work+0x1690/0x1690 [ 67.897376][ T38] kthread+0x3b5/0x4a0 [ 67.901466][ T38] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 67.907188][ T38] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 67.912928][ T38] ret_from_fork+0x1f/0x30 [ 67.917371][ T38] [ 67.919697][ T38] Allocated by task 6849: [ 67.924027][ T38] save_stack+0x1b/0x40 [ 67.928271][ T38] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 67.933902][ T38] kmem_cache_alloc_trace+0x153/0x7d0 [ 67.939269][ T38] afs_alloc_call+0x55/0x630 [ 67.943856][ T38] afs_charge_preallocation+0xe9/0x2d0 [ 67.949830][ T38] afs_open_socket+0x292/0x360 [ 67.954593][ T38] afs_net_init+0xa6c/0xe30 [ 67.959092][ T38] ops_init+0xaf/0x420 [ 67.963154][ T38] setup_net+0x2de/0x860 [ 67.967395][ T38] copy_net_ns+0x293/0x590 [ 67.972072][ T38] create_new_namespaces+0x3fb/0xb30 [ 67.977383][ T38] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 67.983021][ T38] ksys_unshare+0x43d/0x8e0 [ 67.987526][ T38] __x64_sys_unshare+0x2d/0x40 [ 67.992320][ T38] do_syscall_64+0x60/0xe0 [ 67.996741][ T38] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 68.002637][ T38] [ 68.004971][ T38] Freed by task 38: [ 68.008793][ T38] save_stack+0x1b/0x40 [ 68.013044][ T38] __kasan_slab_free+0xf7/0x140 [ 68.017914][ T38] kfree+0x109/0x2b0 [ 68.021818][ T38] afs_put_call+0x585/0xa40 [ 68.026321][ T38] rxrpc_discard_prealloc+0x764/0xab0 [ 68.031775][ T38] rxrpc_listen+0x147/0x360 [ 68.036278][ T38] afs_close_socket+0x95/0x320 [ 68.041036][ T38] afs_net_exit+0x1bc/0x310 [ 68.045533][ T38] ops_exit_list.isra.0+0xa8/0x150 [ 68.050637][ T38] cleanup_net+0x511/0xa50 [ 68.055050][ T38] process_one_work+0x965/0x1690 [ 68.059982][ T38] worker_thread+0x96/0xe10 [ 68.064507][ T38] kthread+0x3b5/0x4a0 [ 68.068598][ T38] ret_from_fork+0x1f/0x30 [ 68.073004][ T38] [ 68.076812][ T38] The buggy address belongs to the object at ffff8880a85b5000 [ 68.076812][ T38] which belongs to the cache kmalloc-1k of size 1024 [ 68.090867][ T38] The buggy address is located 484 bytes inside of [ 68.090867][ T38] 1024-byte region [ffff8880a85b5000, ffff8880a85b5400) [ 68.104657][ T38] The buggy address belongs to the page: [ 68.111794][ T38] page:ffffea0002a16d40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 68.120895][ T38] flags: 0xfffe0000000200(slab) [ 68.125759][ T38] raw: 00fffe0000000200 ffffea00028b3cc8 ffffea000279ed08 ffff8880aa000c40 [ 68.135056][ T38] raw: 0000000000000000 ffff8880a85b5000 0000000100000002 0000000000000000 [ 68.143632][ T38] page dumped because: kasan: bad access detected [ 68.150032][ T38] [ 68.152352][ T38] Memory state around the buggy address: [ 68.157992][ T38] ffff8880a85b5080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.166069][ T38] ffff8880a85b5100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.174150][ T38] >ffff8880a85b5180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.182218][ T38] ^ [ 68.189608][ T38] ffff8880a85b5200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.197751][ T38] ffff8880a85b5280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.205897][ T38] ================================================================== [ 68.213970][ T38] Disabling lock debugging due to kernel taint [ 68.220161][ T38] Kernel panic - not syncing: panic_on_warn set ... [ 68.226755][ T38] CPU: 0 PID: 38 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 68.236376][ T38] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.246441][ T38] Workqueue: netns cleanup_net [ 68.251200][ T38] Call Trace: [ 68.254494][ T38] dump_stack+0x18f/0x20d [ 68.258834][ T38] ? afs_wake_up_async_call+0x680/0x770 [ 68.264366][ T38] ? afs_put_call+0xa40/0xa40 [ 68.269471][ T38] panic+0x2e3/0x75c [ 68.273396][ T38] ? __warn_printk+0xf3/0xf3 [ 68.278000][ T38] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 68.284175][ T38] ? trace_hardirqs_on+0x55/0x220 [ 68.289208][ T38] ? afs_wake_up_async_call+0x6aa/0x770 [ 68.294744][ T38] ? afs_wake_up_async_call+0x6aa/0x770 [ 68.300290][ T38] ? afs_put_call+0xa40/0xa40 [ 68.304969][ T38] end_report+0x4d/0x53 [ 68.309127][ T38] kasan_report.cold+0xd/0x37 [ 68.314075][ T38] ? rcu_read_lock_held_common+0x51/0xa0 [ 68.319704][ T38] ? afs_wake_up_async_call+0x6aa/0x770 [ 68.325258][ T38] afs_wake_up_async_call+0x6aa/0x770 [ 68.330622][ T38] ? afs_close_socket+0x320/0x320 [ 68.335645][ T38] ? afs_put_call+0xa40/0xa40 [ 68.340328][ T38] rxrpc_notify_socket+0x1db/0x5d0 [ 68.345966][ T38] ? afs_put_call+0xa40/0xa40 [ 68.350727][ T38] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 68.357288][ T38] rxrpc_call_completed+0xca/0xf0 [ 68.362794][ T38] rxrpc_discard_prealloc+0x781/0xab0 [ 68.368528][ T38] ? lock_sock_nested+0x94/0x110 [ 68.373479][ T38] rxrpc_listen+0x147/0x360 [ 68.378239][ T38] afs_close_socket+0x95/0x320 [ 68.383007][ T38] ? afs_purge_servers+0x16d/0x300 [ 68.388121][ T38] ? afs_rx_discard_new_call+0x50/0x50 [ 68.394010][ T38] ? init_wait_var_entry+0x200/0x200 [ 68.401033][ T38] ? rcu_read_lock_held_common+0xa0/0xa0 [ 68.406657][ T38] ? check_preemption_disabled+0x38/0x220 [ 68.412372][ T38] afs_net_exit+0x1bc/0x310 [ 68.416953][ T38] ? afs_net_init+0xe30/0xe30 [ 68.421625][ T38] ops_exit_list.isra.0+0xa8/0x150 [ 68.426774][ T38] cleanup_net+0x511/0xa50 [ 68.431186][ T38] ? unregister_pernet_device+0x70/0x70 [ 68.436822][ T38] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 68.442831][ T38] process_one_work+0x965/0x1690 [ 68.447878][ T38] ? lock_release+0x800/0x800 [ 68.452553][ T38] ? pwq_dec_nr_in_flight+0x310/0x310 [ 68.457916][ T38] ? rwlock_bug.part.0+0x90/0x90 [ 68.462940][ T38] worker_thread+0x96/0xe10 [ 68.467438][ T38] ? process_one_work+0x1690/0x1690 [ 68.472761][ T38] kthread+0x3b5/0x4a0 [ 68.476834][ T38] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 68.482549][ T38] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 68.488267][ T38] ret_from_fork+0x1f/0x30 [ 68.493899][ T38] Kernel Offset: disabled [ 68.498225][ T38] Rebooting in 86400 seconds..