Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.173' (ECDSA) to the list of known hosts. 2020/06/19 04:16:14 fuzzer started 2020/06/19 04:16:14 connecting to host at 10.128.0.26:41743 2020/06/19 04:16:14 checking machine... 2020/06/19 04:16:14 checking revisions... 2020/06/19 04:16:14 testing simple program... syzkaller login: [ 65.482277][ T6829] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 04:16:14 building call list... [ 65.862691][ T6776] tipc: TX() has been purged, node left! [ 66.405084][ T6776] ================================================================== [ 66.413893][ T6776] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 66.422576][ T6776] Write of size 1 at addr ffff8880933589e4 by task kworker/u4:5/6776 [ 66.430980][ T6776] [ 66.433313][ T6776] CPU: 1 PID: 6776 Comm: kworker/u4:5 Not tainted 5.8.0-rc1-syzkaller #0 [ 66.442778][ T6776] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.453286][ T6776] Workqueue: netns cleanup_net [ 66.458129][ T6776] Call Trace: [ 66.461648][ T6776] dump_stack+0x18f/0x20d [ 66.466528][ T6776] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.472354][ T6776] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.478070][ T6776] ? afs_put_call+0xa40/0xa40 [ 66.484228][ T6776] print_address_description.constprop.0.cold+0xd3/0x413 [ 66.491261][ T6776] ? vprintk_func+0x97/0x1a6 [ 66.495950][ T6776] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.501500][ T6776] kasan_report.cold+0x1f/0x37 [ 66.506702][ T6776] ? rcu_read_lock_held_common+0x51/0xa0 [ 66.512594][ T6776] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.518508][ T6776] afs_wake_up_async_call+0x6aa/0x770 [ 66.524676][ T6776] ? afs_close_socket+0x320/0x320 [ 66.530909][ T6776] ? afs_put_call+0xa40/0xa40 [ 66.541978][ T6776] rxrpc_notify_socket+0x1db/0x5d0 [ 66.547917][ T6776] ? afs_put_call+0xa40/0xa40 [ 66.553923][ T6776] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 66.564199][ T6776] rxrpc_call_completed+0xca/0xf0 [ 66.570809][ T6776] rxrpc_discard_prealloc+0x781/0xab0 [ 66.577878][ T6776] ? lock_sock_nested+0x94/0x110 [ 66.583199][ T6776] rxrpc_listen+0x147/0x360 [ 66.588323][ T6776] afs_close_socket+0x95/0x320 [ 66.593171][ T6776] ? afs_purge_servers+0x16d/0x300 [ 66.600204][ T6776] ? afs_rx_discard_new_call+0x50/0x50 [ 66.605768][ T6776] ? init_wait_var_entry+0x200/0x200 [ 66.613594][ T6776] ? rcu_read_lock_held_common+0xa0/0xa0 [ 66.620525][ T6776] ? check_preemption_disabled+0x38/0x220 [ 66.626360][ T6776] afs_net_exit+0x1bc/0x310 [ 66.631654][ T6776] ? afs_net_init+0xe30/0xe30 [ 66.636607][ T6776] ops_exit_list.isra.0+0xa8/0x150 [ 66.641911][ T6776] cleanup_net+0x511/0xa50 [ 66.646342][ T6776] ? unregister_pernet_device+0x70/0x70 [ 66.653340][ T6776] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 66.659864][ T6776] process_one_work+0x965/0x1690 [ 66.664934][ T6776] ? lock_release+0x800/0x800 [ 66.669615][ T6776] ? pwq_dec_nr_in_flight+0x310/0x310 [ 66.676179][ T6776] ? rwlock_bug.part.0+0x90/0x90 [ 66.681310][ T6776] worker_thread+0x96/0xe10 [ 66.685840][ T6776] ? process_one_work+0x1690/0x1690 [ 66.691623][ T6776] kthread+0x3b5/0x4a0 [ 66.696134][ T6776] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.701937][ T6776] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.707755][ T6776] ret_from_fork+0x1f/0x30 [ 66.712269][ T6776] [ 66.715130][ T6776] Allocated by task 6829: [ 66.719471][ T6776] save_stack+0x1b/0x40 [ 66.724249][ T6776] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 66.730158][ T6776] kmem_cache_alloc_trace+0x153/0x7d0 [ 66.737391][ T6776] afs_alloc_call+0x55/0x630 [ 66.744143][ T6776] afs_charge_preallocation+0xe9/0x2d0 [ 66.750592][ T6776] afs_open_socket+0x292/0x360 [ 66.755491][ T6776] afs_net_init+0xa6c/0xe30 [ 66.760100][ T6776] ops_init+0xaf/0x420 [ 66.764174][ T6776] setup_net+0x2de/0x860 [ 66.768418][ T6776] copy_net_ns+0x293/0x590 [ 66.772850][ T6776] create_new_namespaces+0x3fb/0xb30 [ 66.778219][ T6776] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 66.783952][ T6776] ksys_unshare+0x43d/0x8e0 [ 66.788457][ T6776] __x64_sys_unshare+0x2d/0x40 [ 66.793300][ T6776] do_syscall_64+0x60/0xe0 [ 66.797974][ T6776] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 66.804035][ T6776] [ 66.806357][ T6776] Freed by task 6776: [ 66.810681][ T6776] save_stack+0x1b/0x40 [ 66.815699][ T6776] __kasan_slab_free+0xf7/0x140 [ 66.820580][ T6776] kfree+0x109/0x2b0 [ 66.824493][ T6776] afs_put_call+0x585/0xa40 [ 66.830067][ T6776] rxrpc_discard_prealloc+0x764/0xab0 [ 66.835447][ T6776] rxrpc_listen+0x147/0x360 [ 66.839955][ T6776] afs_close_socket+0x95/0x320 [ 66.844720][ T6776] afs_net_exit+0x1bc/0x310 [ 66.849311][ T6776] ops_exit_list.isra.0+0xa8/0x150 [ 66.854417][ T6776] cleanup_net+0x511/0xa50 [ 66.858832][ T6776] process_one_work+0x965/0x1690 [ 66.863791][ T6776] worker_thread+0x96/0xe10 [ 66.868380][ T6776] kthread+0x3b5/0x4a0 [ 66.872455][ T6776] ret_from_fork+0x1f/0x30 [ 66.876979][ T6776] [ 66.879306][ T6776] The buggy address belongs to the object at ffff888093358800 [ 66.879306][ T6776] which belongs to the cache kmalloc-1k of size 1024 [ 66.893378][ T6776] The buggy address is located 484 bytes inside of [ 66.893378][ T6776] 1024-byte region [ffff888093358800, ffff888093358c00) [ 66.906746][ T6776] The buggy address belongs to the page: [ 66.912586][ T6776] page:ffffea00024cd600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 66.922007][ T6776] flags: 0xfffe0000000200(slab) [ 66.928498][ T6776] raw: 00fffe0000000200 ffffea0002691088 ffffea000250a4c8 ffff8880aa000c40 [ 66.940522][ T6776] raw: 0000000000000000 ffff888093358000 0000000100000002 0000000000000000 [ 66.951142][ T6776] page dumped because: kasan: bad access detected [ 66.958473][ T6776] [ 66.960893][ T6776] Memory state around the buggy address: [ 66.966711][ T6776] ffff888093358880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.974783][ T6776] ffff888093358900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.982965][ T6776] >ffff888093358980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.991045][ T6776] ^ [ 66.998355][ T6776] ffff888093358a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 67.006549][ T6776] ffff888093358a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 67.014693][ T6776] ================================================================== [ 67.022930][ T6776] Disabling lock debugging due to kernel taint [ 67.029474][ T6776] Kernel panic - not syncing: panic_on_warn set ... [ 67.036075][ T6776] CPU: 1 PID: 6776 Comm: kworker/u4:5 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 67.045973][ T6776] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 67.056158][ T6776] Workqueue: netns cleanup_net [ 67.060920][ T6776] Call Trace: [ 67.064216][ T6776] dump_stack+0x18f/0x20d [ 67.068635][ T6776] ? afs_wake_up_async_call+0x680/0x770 [ 67.074194][ T6776] ? afs_put_call+0xa40/0xa40 [ 67.078873][ T6776] panic+0x2e3/0x75c [ 67.083005][ T6776] ? __warn_printk+0xf3/0xf3 [ 67.087702][ T6776] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 67.094155][ T6776] ? trace_hardirqs_on+0x55/0x220 [ 67.099196][ T6776] ? afs_wake_up_async_call+0x6aa/0x770 [ 67.104736][ T6776] ? afs_wake_up_async_call+0x6aa/0x770 [ 67.110276][ T6776] ? afs_put_call+0xa40/0xa40 [ 67.114948][ T6776] end_report+0x4d/0x53 [ 67.119120][ T6776] kasan_report.cold+0xd/0x37 [ 67.123815][ T6776] ? rcu_read_lock_held_common+0x51/0xa0 [ 67.129441][ T6776] ? afs_wake_up_async_call+0x6aa/0x770 [ 67.135157][ T6776] afs_wake_up_async_call+0x6aa/0x770 [ 67.140528][ T6776] ? afs_close_socket+0x320/0x320 [ 67.145639][ T6776] ? afs_put_call+0xa40/0xa40 [ 67.150447][ T6776] rxrpc_notify_socket+0x1db/0x5d0 [ 67.155739][ T6776] ? afs_put_call+0xa40/0xa40 [ 67.160748][ T6776] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 67.167541][ T6776] rxrpc_call_completed+0xca/0xf0 [ 67.172922][ T6776] rxrpc_discard_prealloc+0x781/0xab0 [ 67.178380][ T6776] ? lock_sock_nested+0x94/0x110 [ 67.183416][ T6776] rxrpc_listen+0x147/0x360 [ 67.187917][ T6776] afs_close_socket+0x95/0x320 [ 67.192782][ T6776] ? afs_purge_servers+0x16d/0x300 [ 67.198072][ T6776] ? afs_rx_discard_new_call+0x50/0x50 [ 67.203664][ T6776] ? init_wait_var_entry+0x200/0x200 [ 67.209024][ T6776] ? rcu_read_lock_held_common+0xa0/0xa0 [ 67.214667][ T6776] ? check_preemption_disabled+0x38/0x220 [ 67.220732][ T6776] afs_net_exit+0x1bc/0x310 [ 67.225233][ T6776] ? afs_net_init+0xe30/0xe30 [ 67.229904][ T6776] ops_exit_list.isra.0+0xa8/0x150 [ 67.235036][ T6776] cleanup_net+0x511/0xa50 [ 67.239537][ T6776] ? unregister_pernet_device+0x70/0x70 [ 67.245080][ T6776] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 67.251213][ T6776] process_one_work+0x965/0x1690 [ 67.256154][ T6776] ? lock_release+0x800/0x800 [ 67.261616][ T6776] ? pwq_dec_nr_in_flight+0x310/0x310 [ 67.267004][ T6776] ? rwlock_bug.part.0+0x90/0x90 [ 67.271990][ T6776] worker_thread+0x96/0xe10 [ 67.276510][ T6776] ? process_one_work+0x1690/0x1690 [ 67.281793][ T6776] kthread+0x3b5/0x4a0 [ 67.285863][ T6776] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 67.291579][ T6776] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 67.297504][ T6776] ret_from_fork+0x1f/0x30 [ 67.303594][ T6776] Kernel Offset: disabled [ 67.307921][ T6776] Rebooting in 86400 seconds..