[ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.12' (ECDSA) to the list of known hosts. 2020/06/14 18:57:27 fuzzer started 2020/06/14 18:57:27 connecting to host at 10.128.0.26:40363 2020/06/14 18:57:27 checking machine... 2020/06/14 18:57:27 checking revisions... 2020/06/14 18:57:27 testing simple program... syzkaller login: [ 58.571847][ T6822] IPVS: ftp: loaded support on port[0] = 21 2020/06/14 18:57:28 building call list... [ 58.892840][ T21] tipc: TX() has been purged, node left! [ 59.444734][ T21] ================================================================== [ 59.452955][ T21] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 59.460838][ T21] Write of size 1 at addr ffff8880829ad9e4 by task kworker/u4:1/21 [ 59.468712][ T21] [ 59.471042][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Not tainted 5.7.0-next-20200614-syzkaller #0 [ 59.480155][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.490307][ T21] Workqueue: netns cleanup_net [ 59.495071][ T21] Call Trace: [ 59.498363][ T21] dump_stack+0x18f/0x20d [ 59.502692][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.508692][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.514235][ T21] ? afs_put_call+0xa40/0xa40 [ 59.518915][ T21] print_address_description.constprop.0.cold+0xd3/0x413 [ 59.525942][ T21] ? vprintk_func+0x97/0x1a6 [ 59.530550][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.536089][ T21] kasan_report.cold+0x1f/0x37 [ 59.540853][ T21] ? rcu_read_lock_held_common+0x41/0xa0 [ 59.546480][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.552027][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 59.557669][ T21] ? afs_close_socket+0x320/0x320 [ 59.562692][ T21] ? afs_put_call+0xa40/0xa40 [ 59.567447][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 59.572561][ T21] ? afs_put_call+0xa40/0xa40 [ 59.577232][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 59.583642][ T21] rxrpc_call_completed+0xca/0xf0 [ 59.588666][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 59.594061][ T21] ? lock_sock_nested+0x94/0x110 [ 59.599271][ T21] rxrpc_listen+0x147/0x360 [ 59.603798][ T21] afs_close_socket+0x95/0x320 [ 59.609087][ T21] ? afs_purge_servers+0x16d/0x300 [ 59.614231][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 59.619717][ T21] ? init_wait_var_entry+0x200/0x200 [ 59.625006][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 59.630634][ T21] ? check_preemption_disabled+0x38/0x220 [ 59.636353][ T21] afs_net_exit+0x1bc/0x310 [ 59.640853][ T21] ? afs_net_init+0xe30/0xe30 [ 59.645525][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 59.650636][ T21] cleanup_net+0x511/0xa50 [ 59.655078][ T21] ? unregister_pernet_device+0x70/0x70 [ 59.660631][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 59.666619][ T21] process_one_work+0x965/0x1690 [ 59.671564][ T21] ? lock_release+0x800/0x800 [ 59.676255][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 59.681633][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 59.686586][ T21] worker_thread+0x96/0xe10 [ 59.691101][ T21] ? process_one_work+0x1690/0x1690 [ 59.696297][ T21] kthread+0x3b5/0x4a0 [ 59.700366][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.706559][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.712281][ T21] ret_from_fork+0x1f/0x30 [ 59.716704][ T21] [ 59.719026][ T21] Allocated by task 6822: [ 59.723351][ T21] save_stack+0x1b/0x40 [ 59.727504][ T21] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 59.733131][ T21] kmem_cache_alloc_trace+0x153/0x7d0 [ 59.738496][ T21] afs_alloc_call+0x55/0x630 [ 59.743082][ T21] afs_charge_preallocation+0xe9/0x2d0 [ 59.748534][ T21] afs_open_socket+0x292/0x360 [ 59.753292][ T21] afs_net_init+0xa6c/0xe30 [ 59.757795][ T21] ops_init+0xaf/0x420 [ 59.761857][ T21] setup_net+0x2de/0x860 [ 59.766092][ T21] copy_net_ns+0x293/0x590 [ 59.770503][ T21] create_new_namespaces+0x3fb/0xb30 [ 59.775787][ T21] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 59.781413][ T21] ksys_unshare+0x43d/0x8e0 [ 59.785909][ T21] __x64_sys_unshare+0x2d/0x40 [ 59.790670][ T21] do_syscall_64+0x60/0xe0 [ 59.795080][ T21] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 59.800958][ T21] [ 59.803277][ T21] Freed by task 21: [ 59.807720][ T21] save_stack+0x1b/0x40 [ 59.811871][ T21] __kasan_slab_free+0xf7/0x140 [ 59.816716][ T21] kfree+0x109/0x2b0 [ 59.820606][ T21] afs_put_call+0x585/0xa40 [ 59.825112][ T21] rxrpc_discard_prealloc+0x764/0xab0 [ 59.830475][ T21] rxrpc_listen+0x147/0x360 [ 59.834972][ T21] afs_close_socket+0x95/0x320 [ 59.839728][ T21] afs_net_exit+0x1bc/0x310 [ 59.844226][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 59.849331][ T21] cleanup_net+0x511/0xa50 [ 59.853742][ T21] process_one_work+0x965/0x1690 [ 59.858690][ T21] worker_thread+0x96/0xe10 [ 59.863193][ T21] kthread+0x3b5/0x4a0 [ 59.867261][ T21] ret_from_fork+0x1f/0x30 [ 59.871699][ T21] [ 59.874117][ T21] The buggy address belongs to the object at ffff8880829ad800 [ 59.874117][ T21] which belongs to the cache kmalloc-1k of size 1024 [ 59.888182][ T21] The buggy address is located 484 bytes inside of [ 59.888182][ T21] 1024-byte region [ffff8880829ad800, ffff8880829adc00) [ 59.901527][ T21] The buggy address belongs to the page: [ 59.907156][ T21] page:ffffea00020a6b40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 59.916252][ T21] flags: 0xfffe0000000200(slab) [ 59.921106][ T21] raw: 00fffe0000000200 ffffea00020a6b08 ffffea00020a6bc8 ffff8880aa000c40 [ 59.929693][ T21] raw: 0000000000000000 ffff8880829ad000 0000000100000002 0000000000000000 [ 59.938289][ T21] page dumped because: kasan: bad access detected [ 59.945406][ T21] [ 59.947736][ T21] Memory state around the buggy address: [ 59.953359][ T21] ffff8880829ad880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.961411][ T21] ffff8880829ad900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.969484][ T21] >ffff8880829ad980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.977535][ T21] ^ [ 59.984723][ T21] ffff8880829ada00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.992794][ T21] ffff8880829ada80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.000844][ T21] ================================================================== [ 60.008892][ T21] Disabling lock debugging due to kernel taint [ 60.015101][ T21] Kernel panic - not syncing: panic_on_warn set ... [ 60.022182][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Tainted: G B 5.7.0-next-20200614-syzkaller #0 [ 60.032670][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.042741][ T21] Workqueue: netns cleanup_net [ 60.047508][ T21] Call Trace: [ 60.050803][ T21] dump_stack+0x18f/0x20d [ 60.056179][ T21] ? afs_wake_up_async_call+0x5e0/0x770 [ 60.061765][ T21] ? afs_put_call+0xa40/0xa40 [ 60.066463][ T21] panic+0x2e3/0x75c [ 60.070371][ T21] ? __warn_printk+0xf3/0xf3 [ 60.074965][ T21] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 60.081126][ T21] ? trace_hardirqs_on+0x55/0x220 [ 60.086193][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.091735][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.097264][ T21] ? afs_put_call+0xa40/0xa40 [ 60.101925][ T21] end_report+0x4d/0x53 [ 60.106067][ T21] kasan_report.cold+0xd/0x37 [ 60.110733][ T21] ? rcu_read_lock_held_common+0x41/0xa0 [ 60.116378][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.121932][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 60.127295][ T21] ? afs_close_socket+0x320/0x320 [ 60.132423][ T21] ? afs_put_call+0xa40/0xa40 [ 60.137101][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 60.142210][ T21] ? afs_put_call+0xa40/0xa40 [ 60.146874][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.153284][ T21] rxrpc_call_completed+0xca/0xf0 [ 60.158300][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 60.163684][ T21] ? lock_sock_nested+0x94/0x110 [ 60.168615][ T21] rxrpc_listen+0x147/0x360 [ 60.173128][ T21] afs_close_socket+0x95/0x320 [ 60.177878][ T21] ? afs_purge_servers+0x16d/0x300 [ 60.182985][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 60.188428][ T21] ? init_wait_var_entry+0x200/0x200 [ 60.193694][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.199309][ T21] ? check_preemption_disabled+0x38/0x220 [ 60.205100][ T21] afs_net_exit+0x1bc/0x310 [ 60.209594][ T21] ? afs_net_init+0xe30/0xe30 [ 60.214271][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 60.219373][ T21] cleanup_net+0x511/0xa50 [ 60.223776][ T21] ? unregister_pernet_device+0x70/0x70 [ 60.229339][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 60.235322][ T21] process_one_work+0x965/0x1690 [ 60.240248][ T21] ? lock_release+0x800/0x800 [ 60.244910][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 60.250268][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 60.255201][ T21] worker_thread+0x96/0xe10 [ 60.259794][ T21] ? process_one_work+0x1690/0x1690 [ 60.265024][ T21] kthread+0x3b5/0x4a0 [ 60.271977][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.277819][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.283551][ T21] ret_from_fork+0x1f/0x30 [ 60.289441][ T21] Kernel Offset: disabled [ 60.293772][ T21] Rebooting in 86400 seconds..