Warning: Permanently added '[localhost]:31735' (ECDSA) to the list of known hosts. 2020/06/19 20:03:56 fuzzer started 2020/06/19 20:03:57 connecting to host at 10.0.2.10:35639 2020/06/19 20:03:57 checking machine... 2020/06/19 20:03:57 checking revisions... 2020/06/19 20:03:58 testing simple program... syzkaller login: [ 185.164908][ T9081] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 20:03:59 building call list... [ 186.162652][ T1819] tipc: TX() has been purged, node left! executing program [ 187.152066][ T1819] ================================================================== [ 187.157449][ T1819] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 187.157449][ T1819] Write of size 1 at addr ffff888014c9e1e4 by task kworker/u16:1/1819 [ 187.287508][ T1819] [ 187.287508][ T1819] CPU: 1 PID: 1819 Comm: kworker/u16:1 Not tainted 5.8.0-rc1-syzkaller #0 [ 187.287508][ T1819] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 [ 187.287508][ T1819] Workqueue: netns cleanup_net [ 187.287508][ T1819] Call Trace: [ 187.287508][ T1819] dump_stack+0x18f/0x20d [ 187.287508][ T1819] ? afs_wake_up_async_call+0x6aa/0x770 [ 187.287508][ T1819] ? afs_wake_up_async_call+0x6aa/0x770 [ 187.287508][ T1819] ? afs_put_call+0xa40/0xa40 [ 187.287508][ T1819] print_address_description.constprop.0.cold+0xd3/0x413 [ 187.287508][ T1819] ? vprintk_func+0x97/0x1a6 [ 187.287508][ T1819] ? afs_wake_up_async_call+0x6aa/0x770 [ 187.287508][ T1819] kasan_report.cold+0x1f/0x37 [ 187.287508][ T1819] ? rcu_read_lock_held_common+0x51/0xa0 [ 187.287508][ T1819] ? afs_wake_up_async_call+0x6aa/0x770 [ 187.287508][ T1819] afs_wake_up_async_call+0x6aa/0x770 [ 187.287508][ T1819] ? afs_close_socket+0x320/0x320 [ 187.287508][ T1819] ? afs_put_call+0xa40/0xa40 [ 187.287508][ T1819] rxrpc_notify_socket+0x1db/0x5d0 [ 187.287508][ T1819] ? afs_put_call+0xa40/0xa40 [ 187.287508][ T1819] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 187.287508][ T1819] rxrpc_call_completed+0xca/0xf0 [ 187.287508][ T1819] rxrpc_discard_prealloc+0x781/0xab0 [ 187.287508][ T1819] ? lock_sock_nested+0x94/0x110 [ 187.287508][ T1819] rxrpc_listen+0x147/0x360 [ 187.287508][ T1819] afs_close_socket+0x95/0x320 [ 187.287508][ T1819] ? afs_purge_servers+0x16d/0x300 [ 187.287508][ T1819] ? afs_rx_discard_new_call+0x50/0x50 [ 187.287508][ T1819] ? init_wait_var_entry+0x200/0x200 [ 187.287508][ T1819] ? rcu_read_lock_held_common+0xa0/0xa0 [ 187.287508][ T1819] ? check_preemption_disabled+0x38/0x220 [ 187.287508][ T1819] afs_net_exit+0x1bc/0x310 [ 187.287508][ T1819] ? afs_net_init+0xe30/0xe30 [ 187.287508][ T1819] ops_exit_list.isra.0+0xa8/0x150 [ 187.287508][ T1819] cleanup_net+0x511/0xa50 [ 187.287508][ T1819] ? unregister_pernet_device+0x70/0x70 [ 187.287508][ T1819] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 187.287508][ T1819] process_one_work+0x965/0x1690 [ 187.287508][ T1819] ? lock_release+0x800/0x800 [ 187.287508][ T1819] ? pwq_dec_nr_in_flight+0x310/0x310 [ 187.287508][ T1819] ? rwlock_bug.part.0+0x90/0x90 [ 187.287508][ T1819] worker_thread+0x96/0xe10 [ 187.287508][ T1819] ? process_one_work+0x1690/0x1690 [ 187.287508][ T1819] kthread+0x3b5/0x4a0 [ 187.287508][ T1819] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 187.287508][ T1819] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 187.287508][ T1819] ret_from_fork+0x1f/0x30 [ 187.287508][ T1819] [ 187.287508][ T1819] Allocated by task 9081: [ 187.287508][ T1819] save_stack+0x1b/0x40 [ 187.287508][ T1819] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 187.287508][ T1819] kmem_cache_alloc_trace+0x153/0x7d0 [ 187.287508][ T1819] afs_alloc_call+0x55/0x630 [ 187.287508][ T1819] afs_charge_preallocation+0xe9/0x2d0 [ 187.287508][ T1819] afs_open_socket+0x292/0x360 [ 187.287508][ T1819] afs_net_init+0xa6c/0xe30 [ 187.287508][ T1819] ops_init+0xaf/0x420 [ 187.287508][ T1819] setup_net+0x2de/0x860 [ 187.287508][ T1819] copy_net_ns+0x293/0x590 [ 187.287508][ T1819] create_new_namespaces+0x3fb/0xb30 [ 187.287508][ T1819] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 187.287508][ T1819] ksys_unshare+0x43d/0x8e0 [ 187.287508][ T1819] __ia32_sys_unshare+0x2c/0x40 [ 187.287508][ T1819] do_syscall_32_irqs_on+0x3f/0x60 [ 187.287508][ T1819] do_fast_syscall_32+0x7f/0x120 [ 187.287508][ T1819] entry_SYSENTER_compat+0x6d/0x7c [ 187.287508][ T1819] [ 187.287508][ T1819] Freed by task 1819: [ 187.287508][ T1819] save_stack+0x1b/0x40 [ 187.287508][ T1819] __kasan_slab_free+0xf7/0x140 [ 187.287508][ T1819] kfree+0x109/0x2b0 [ 187.287508][ T1819] afs_put_call+0x585/0xa40 [ 187.287508][ T1819] rxrpc_discard_prealloc+0x764/0xab0 [ 187.287508][ T1819] rxrpc_listen+0x147/0x360 [ 187.287508][ T1819] afs_close_socket+0x95/0x320 [ 187.287508][ T1819] afs_net_exit+0x1bc/0x310 [ 187.287508][ T1819] ops_exit_list.isra.0+0xa8/0x150 [ 187.287508][ T1819] cleanup_net+0x511/0xa50 [ 187.287508][ T1819] process_one_work+0x965/0x1690 [ 187.287508][ T1819] worker_thread+0x96/0xe10 [ 187.287508][ T1819] kthread+0x3b5/0x4a0 [ 187.287508][ T1819] ret_from_fork+0x1f/0x30 [ 187.287508][ T1819] [ 187.287508][ T1819] The buggy address belongs to the object at ffff888014c9e000 [ 187.287508][ T1819] which belongs to the cache kmalloc-1k of size 1024 [ 187.287508][ T1819] The buggy address is located 484 bytes inside of [ 187.287508][ T1819] 1024-byte region [ffff888014c9e000, ffff888014c9e400) [ 187.287508][ T1819] The buggy address belongs to the page: [ 187.287508][ T1819] page:ffffea0000532780 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 187.287508][ T1819] flags: 0xfffe0000000200(slab) [ 187.287508][ T1819] raw: 00fffe0000000200 ffffea0000532748 ffffea00005327c8 ffff88802c800c40 [ 187.287508][ T1819] raw: 0000000000000000 ffff888014c9e000 0000000100000002 0000000000000000 [ 187.287508][ T1819] page dumped because: kasan: bad access detected [ 187.287508][ T1819] [ 187.287508][ T1819] Memory state around the buggy address: [ 187.287508][ T1819] ffff888014c9e080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 187.287508][ T1819] ffff888014c9e100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 187.287508][ T1819] >ffff888014c9e180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 187.287508][ T1819] ^ [ 187.287508][ T1819] ffff888014c9e200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 187.287508][ T1819] ffff888014c9e280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 187.287508][ T1819] ================================================================== [ 187.287508][ T1819] Disabling lock debugging due to kernel taint [ 189.132614][ T1819] Kernel panic - not syncing: panic_on_warn set ... [ 189.142290][ T1819] CPU: 1 PID: 1819 Comm: kworker/u16:1 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 189.142290][ T1819] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 [ 189.142290][ T1819] Workqueue: netns cleanup_net [ 189.142290][ T1819] Call Trace: [ 189.142290][ T1819] dump_stack+0x18f/0x20d [ 189.142290][ T1819] ? afs_wake_up_async_call+0x670/0x770 [ 189.142290][ T1819] ? afs_put_call+0xa40/0xa40 [ 189.142290][ T1819] panic+0x2e3/0x75c [ 189.142290][ T1819] ? __warn_printk+0xf3/0xf3 [ 189.142290][ T1819] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 189.142290][ T1819] ? trace_hardirqs_on+0x55/0x220 [ 189.142290][ T1819] ? afs_wake_up_async_call+0x6aa/0x770 [ 189.142290][ T1819] ? afs_wake_up_async_call+0x6aa/0x770 [ 189.142290][ T1819] ? afs_put_call+0xa40/0xa40 [ 189.142290][ T1819] end_report+0x4d/0x53 [ 189.142290][ T1819] kasan_report.cold+0xd/0x37 [ 189.142290][ T1819] ? rcu_read_lock_held_common+0x51/0xa0 [ 189.142290][ T1819] ? afs_wake_up_async_call+0x6aa/0x770 [ 189.142290][ T1819] afs_wake_up_async_call+0x6aa/0x770 [ 189.142290][ T1819] ? afs_close_socket+0x320/0x320 [ 189.142290][ T1819] ? afs_put_call+0xa40/0xa40 [ 189.142290][ T1819] rxrpc_notify_socket+0x1db/0x5d0 [ 189.142290][ T1819] ? afs_put_call+0xa40/0xa40 [ 189.142290][ T1819] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 189.142290][ T1819] rxrpc_call_completed+0xca/0xf0 [ 189.142290][ T1819] rxrpc_discard_prealloc+0x781/0xab0 [ 189.142290][ T1819] ? lock_sock_nested+0x94/0x110 [ 189.142290][ T1819] rxrpc_listen+0x147/0x360 [ 189.142290][ T1819] afs_close_socket+0x95/0x320 [ 189.142290][ T1819] ? afs_purge_servers+0x16d/0x300 [ 189.142290][ T1819] ? afs_rx_discard_new_call+0x50/0x50 [ 189.142290][ T1819] ? init_wait_var_entry+0x200/0x200 [ 189.142290][ T1819] ? rcu_read_lock_held_common+0xa0/0xa0 [ 189.868493][ T1819] ? check_preemption_disabled+0x38/0x220 [ 189.868493][ T1819] afs_net_exit+0x1bc/0x310 [ 189.868493][ T1819] ? afs_net_init+0xe30/0xe30 [ 189.868493][ T1819] ops_exit_list.isra.0+0xa8/0x150 [ 189.868493][ T1819] cleanup_net+0x511/0xa50 [ 189.868493][ T1819] ? unregister_pernet_device+0x70/0x70 [ 189.868493][ T1819] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 189.868493][ T1819] process_one_work+0x965/0x1690 [ 189.868493][ T1819] ? lock_release+0x800/0x800 [ 189.868493][ T1819] ? pwq_dec_nr_in_flight+0x310/0x310 [ 189.868493][ T1819] ? rwlock_bug.part.0+0x90/0x90 [ 189.868493][ T1819] worker_thread+0x96/0xe10 [ 189.868493][ T1819] ? process_one_work+0x1690/0x1690 [ 189.868493][ T1819] kthread+0x3b5/0x4a0 [ 189.868493][ T1819] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 189.868493][ T1819] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 189.868493][ T1819] ret_from_fork+0x1f/0x30 [ 189.868493][ T1819] Kernel Offset: disabled [ 189.868493][ T1819] Rebooting in 86400 seconds..