Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.37' (ECDSA) to the list of known hosts. 2020/06/18 08:53:01 fuzzer started 2020/06/18 08:53:02 connecting to host at 10.128.0.26:38721 2020/06/18 08:53:02 checking machine... 2020/06/18 08:53:02 checking revisions... 2020/06/18 08:53:02 testing simple program... syzkaller login: [ 64.775796][ T6857] IPVS: ftp: loaded support on port[0] = 21 2020/06/18 08:53:02 building call list... [ 65.155427][ T139] tipc: TX() has been purged, node left! [ 65.668056][ T139] ================================================================== [ 65.676316][ T139] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 65.684732][ T139] Write of size 1 at addr ffff88809efbe9e4 by task kworker/u4:3/139 [ 65.692701][ T139] [ 65.695035][ T139] CPU: 1 PID: 139 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-syzkaller #0 [ 65.703350][ T139] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.713499][ T139] Workqueue: netns cleanup_net [ 65.718258][ T139] Call Trace: [ 65.721582][ T139] dump_stack+0x18f/0x20d [ 65.725918][ T139] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.731458][ T139] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.736996][ T139] ? afs_put_call+0xa40/0xa40 [ 65.741678][ T139] print_address_description.constprop.0.cold+0xd3/0x413 [ 65.748706][ T139] ? vprintk_func+0x97/0x1a6 [ 65.753302][ T139] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.758849][ T139] kasan_report.cold+0x1f/0x37 [ 65.763615][ T139] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.769248][ T139] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.774816][ T139] afs_wake_up_async_call+0x6aa/0x770 [ 65.780185][ T139] ? afs_close_socket+0x320/0x320 [ 65.785431][ T139] ? afs_put_call+0xa40/0xa40 [ 65.790127][ T139] rxrpc_notify_socket+0x1db/0x5d0 [ 65.795378][ T139] ? afs_put_call+0xa40/0xa40 [ 65.800059][ T139] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.806477][ T139] rxrpc_call_completed+0xca/0xf0 [ 65.811541][ T139] rxrpc_discard_prealloc+0x781/0xab0 [ 65.816918][ T139] ? lock_sock_nested+0x94/0x110 [ 65.821867][ T139] rxrpc_listen+0x147/0x360 [ 65.826380][ T139] afs_close_socket+0x95/0x320 [ 65.831155][ T139] ? afs_purge_servers+0x16d/0x300 [ 65.836278][ T139] ? afs_rx_discard_new_call+0x50/0x50 [ 65.841758][ T139] ? init_wait_var_entry+0x200/0x200 [ 65.847052][ T139] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.852689][ T139] ? check_preemption_disabled+0x38/0x220 [ 65.858414][ T139] afs_net_exit+0x1bc/0x310 [ 65.862988][ T139] ? afs_net_init+0xe30/0xe30 [ 65.867665][ T139] ops_exit_list.isra.0+0xa8/0x150 [ 65.872875][ T139] cleanup_net+0x511/0xa50 [ 65.877295][ T139] ? unregister_pernet_device+0x70/0x70 [ 65.883020][ T139] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.889010][ T139] process_one_work+0x965/0x1690 [ 65.894028][ T139] ? lock_release+0x800/0x800 [ 65.898708][ T139] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.904101][ T139] ? rwlock_bug.part.0+0x90/0x90 [ 65.909066][ T139] worker_thread+0x96/0xe10 [ 65.913595][ T139] ? process_one_work+0x1690/0x1690 [ 65.918798][ T139] kthread+0x3b5/0x4a0 [ 65.922871][ T139] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.928614][ T139] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.934357][ T139] ret_from_fork+0x1f/0x30 [ 65.938785][ T139] [ 65.941108][ T139] Allocated by task 6857: [ 65.945438][ T139] save_stack+0x1b/0x40 [ 65.949591][ T139] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 65.955223][ T139] kmem_cache_alloc_trace+0x153/0x7d0 [ 65.960591][ T139] afs_alloc_call+0x55/0x630 [ 65.965202][ T139] afs_charge_preallocation+0xe9/0x2d0 [ 65.970660][ T139] afs_open_socket+0x292/0x360 [ 65.975490][ T139] afs_net_init+0xa6c/0xe30 [ 65.979993][ T139] ops_init+0xaf/0x420 [ 65.984055][ T139] setup_net+0x2de/0x860 [ 65.988293][ T139] copy_net_ns+0x293/0x590 [ 65.992714][ T139] create_new_namespaces+0x3fb/0xb30 [ 65.997995][ T139] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 66.003622][ T139] ksys_unshare+0x43d/0x8e0 [ 66.008120][ T139] __x64_sys_unshare+0x2d/0x40 [ 66.012897][ T139] do_syscall_64+0x60/0xe0 [ 66.017316][ T139] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 66.023199][ T139] [ 66.025521][ T139] Freed by task 139: [ 66.029414][ T139] save_stack+0x1b/0x40 [ 66.033654][ T139] __kasan_slab_free+0xf7/0x140 [ 66.038498][ T139] kfree+0x109/0x2b0 [ 66.042390][ T139] afs_put_call+0x585/0xa40 [ 66.046895][ T139] rxrpc_discard_prealloc+0x764/0xab0 [ 66.052262][ T139] rxrpc_listen+0x147/0x360 [ 66.056763][ T139] afs_close_socket+0x95/0x320 [ 66.061956][ T139] afs_net_exit+0x1bc/0x310 [ 66.066718][ T139] ops_exit_list.isra.0+0xa8/0x150 [ 66.071825][ T139] cleanup_net+0x511/0xa50 [ 66.076238][ T139] process_one_work+0x965/0x1690 [ 66.081170][ T139] worker_thread+0x96/0xe10 [ 66.085671][ T139] kthread+0x3b5/0x4a0 [ 66.089736][ T139] ret_from_fork+0x1f/0x30 [ 66.094136][ T139] [ 66.096464][ T139] The buggy address belongs to the object at ffff88809efbe800 [ 66.096464][ T139] which belongs to the cache kmalloc-1k of size 1024 [ 66.110527][ T139] The buggy address is located 484 bytes inside of [ 66.110527][ T139] 1024-byte region [ffff88809efbe800, ffff88809efbec00) [ 66.123987][ T139] The buggy address belongs to the page: [ 66.129656][ T139] page:ffffea00027bef80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 66.138793][ T139] flags: 0xfffe0000000200(slab) [ 66.143652][ T139] raw: 00fffe0000000200 ffffea000280b448 ffffea000281b708 ffff8880aa000c40 [ 66.152253][ T139] raw: 0000000000000000 ffff88809efbe000 0000000100000002 0000000000000000 [ 66.160832][ T139] page dumped because: kasan: bad access detected [ 66.167238][ T139] [ 66.169562][ T139] Memory state around the buggy address: [ 66.175192][ T139] ffff88809efbe880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.183357][ T139] ffff88809efbe900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.191418][ T139] >ffff88809efbe980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.202165][ T139] ^ [ 66.209362][ T139] ffff88809efbea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.217422][ T139] ffff88809efbea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.225475][ T139] ================================================================== [ 66.233529][ T139] Disabling lock debugging due to kernel taint [ 66.239741][ T139] Kernel panic - not syncing: panic_on_warn set ... [ 66.246335][ T139] CPU: 1 PID: 139 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 66.256911][ T139] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.266977][ T139] Workqueue: netns cleanup_net [ 66.271736][ T139] Call Trace: [ 66.275031][ T139] dump_stack+0x18f/0x20d [ 66.279362][ T139] ? afs_wake_up_async_call+0x680/0x770 [ 66.284898][ T139] ? afs_put_call+0xa40/0xa40 [ 66.289577][ T139] panic+0x2e3/0x75c [ 66.293474][ T139] ? __warn_printk+0xf3/0xf3 [ 66.298076][ T139] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 66.304231][ T139] ? trace_hardirqs_on+0x55/0x220 [ 66.309253][ T139] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.314793][ T139] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.320330][ T139] ? afs_put_call+0xa40/0xa40 [ 66.325000][ T139] end_report+0x4d/0x53 [ 66.329155][ T139] kasan_report.cold+0xd/0x37 [ 66.333830][ T139] ? rcu_read_lock_held_common+0x51/0xa0 [ 66.339455][ T139] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.344997][ T139] afs_wake_up_async_call+0x6aa/0x770 [ 66.350360][ T139] ? afs_close_socket+0x320/0x320 [ 66.355475][ T139] ? afs_put_call+0xa40/0xa40 [ 66.360173][ T139] rxrpc_notify_socket+0x1db/0x5d0 [ 66.365282][ T139] ? afs_put_call+0xa40/0xa40 [ 66.369961][ T139] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 66.376370][ T139] rxrpc_call_completed+0xca/0xf0 [ 66.381394][ T139] rxrpc_discard_prealloc+0x781/0xab0 [ 66.386767][ T139] ? lock_sock_nested+0x94/0x110 [ 66.391697][ T139] rxrpc_listen+0x147/0x360 [ 66.396194][ T139] afs_close_socket+0x95/0x320 [ 66.400967][ T139] ? afs_purge_servers+0x16d/0x300 [ 66.406081][ T139] ? afs_rx_discard_new_call+0x50/0x50 [ 66.411554][ T139] ? init_wait_var_entry+0x200/0x200 [ 66.416846][ T139] ? rcu_read_lock_held_common+0xa0/0xa0 [ 66.422472][ T139] ? check_preemption_disabled+0x38/0x220 [ 66.428214][ T139] afs_net_exit+0x1bc/0x310 [ 66.432712][ T139] ? afs_net_init+0xe30/0xe30 [ 66.437382][ T139] ops_exit_list.isra.0+0xa8/0x150 [ 66.442492][ T139] cleanup_net+0x511/0xa50 [ 66.446901][ T139] ? unregister_pernet_device+0x70/0x70 [ 66.452448][ T139] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 66.458435][ T139] process_one_work+0x965/0x1690 [ 66.463805][ T139] ? lock_release+0x800/0x800 [ 66.468479][ T139] ? pwq_dec_nr_in_flight+0x310/0x310 [ 66.473846][ T139] ? rwlock_bug.part.0+0x90/0x90 [ 66.478782][ T139] worker_thread+0x96/0xe10 [ 66.483288][ T139] ? process_one_work+0x1690/0x1690 [ 66.488499][ T139] kthread+0x3b5/0x4a0 [ 66.492564][ T139] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.498274][ T139] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.503994][ T139] ret_from_fork+0x1f/0x30 [ 66.509831][ T139] Kernel Offset: disabled [ 66.514166][ T139] Rebooting in 86400 seconds..