[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.42' (ECDSA) to the list of known hosts. 2020/06/19 02:20:18 fuzzer started 2020/06/19 02:20:19 connecting to host at 10.128.0.26:41005 2020/06/19 02:20:19 checking machine... 2020/06/19 02:20:19 checking revisions... 2020/06/19 02:20:19 testing simple program... syzkaller login: [ 62.120622][ T6798] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 02:20:19 building call list... [ 62.456751][ T99] tipc: TX() has been purged, node left! [ 62.999014][ T99] ================================================================== [ 63.007259][ T99] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 63.015145][ T99] Write of size 1 at addr ffff88808b0379e4 by task kworker/u4:3/99 [ 63.023975][ T99] [ 63.026307][ T99] CPU: 0 PID: 99 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-syzkaller #0 [ 63.034777][ T99] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.044840][ T99] Workqueue: netns cleanup_net [ 63.049613][ T99] Call Trace: [ 63.053016][ T99] dump_stack+0x18f/0x20d [ 63.057357][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.062909][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.068457][ T99] ? afs_put_call+0xa40/0xa40 [ 63.073156][ T99] print_address_description.constprop.0.cold+0xd3/0x413 [ 63.080185][ T99] ? vprintk_func+0x97/0x1a6 [ 63.084778][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.090322][ T99] kasan_report.cold+0x1f/0x37 [ 63.095089][ T99] ? rcu_read_lock_held_common+0x51/0xa0 [ 63.101100][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.106673][ T99] afs_wake_up_async_call+0x6aa/0x770 [ 63.112762][ T99] ? afs_close_socket+0x320/0x320 [ 63.117785][ T99] ? afs_put_call+0xa40/0xa40 [ 63.122516][ T99] rxrpc_notify_socket+0x1db/0x5d0 [ 63.127725][ T99] ? afs_put_call+0xa40/0xa40 [ 63.132404][ T99] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 63.138854][ T99] rxrpc_call_completed+0xca/0xf0 [ 63.143881][ T99] rxrpc_discard_prealloc+0x781/0xab0 [ 63.149257][ T99] ? lock_sock_nested+0x94/0x110 [ 63.154251][ T99] rxrpc_listen+0x147/0x360 [ 63.158755][ T99] afs_close_socket+0x95/0x320 [ 63.163600][ T99] ? afs_purge_servers+0x16d/0x300 [ 63.168723][ T99] ? afs_rx_discard_new_call+0x50/0x50 [ 63.174184][ T99] ? init_wait_var_entry+0x200/0x200 [ 63.179487][ T99] ? rcu_read_lock_held_common+0xa0/0xa0 [ 63.185119][ T99] ? check_preemption_disabled+0x38/0x220 [ 63.190860][ T99] afs_net_exit+0x1bc/0x310 [ 63.195448][ T99] ? afs_net_init+0xe30/0xe30 [ 63.200118][ T99] ops_exit_list.isra.0+0xa8/0x150 [ 63.205234][ T99] cleanup_net+0x511/0xa50 [ 63.209659][ T99] ? unregister_pernet_device+0x70/0x70 [ 63.215208][ T99] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 63.221191][ T99] process_one_work+0x965/0x1690 [ 63.226253][ T99] ? lock_release+0x800/0x800 [ 63.230963][ T99] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.236340][ T99] ? rwlock_bug.part.0+0x90/0x90 [ 63.241302][ T99] worker_thread+0x96/0xe10 [ 63.245855][ T99] ? process_one_work+0x1690/0x1690 [ 63.251063][ T99] kthread+0x3b5/0x4a0 [ 63.255131][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.260853][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.266661][ T99] ret_from_fork+0x1f/0x30 [ 63.271091][ T99] [ 63.273412][ T99] Allocated by task 6798: [ 63.277742][ T99] save_stack+0x1b/0x40 [ 63.281916][ T99] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 63.287543][ T99] kmem_cache_alloc_trace+0x153/0x7d0 [ 63.292906][ T99] afs_alloc_call+0x55/0x630 [ 63.297491][ T99] afs_charge_preallocation+0xe9/0x2d0 [ 63.302940][ T99] afs_open_socket+0x292/0x360 [ 63.307697][ T99] afs_net_init+0xa6c/0xe30 [ 63.312206][ T99] ops_init+0xaf/0x420 [ 63.316268][ T99] setup_net+0x2de/0x860 [ 63.320520][ T99] copy_net_ns+0x293/0x590 [ 63.324951][ T99] create_new_namespaces+0x3fb/0xb30 [ 63.330238][ T99] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 63.335869][ T99] ksys_unshare+0x43d/0x8e0 [ 63.340366][ T99] __x64_sys_unshare+0x2d/0x40 [ 63.345144][ T99] do_syscall_64+0x60/0xe0 [ 63.349559][ T99] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 63.355437][ T99] [ 63.357761][ T99] Freed by task 99: [ 63.361564][ T99] save_stack+0x1b/0x40 [ 63.365719][ T99] __kasan_slab_free+0xf7/0x140 [ 63.370565][ T99] kfree+0x109/0x2b0 [ 63.374454][ T99] afs_put_call+0x585/0xa40 [ 63.378960][ T99] rxrpc_discard_prealloc+0x764/0xab0 [ 63.384504][ T99] rxrpc_listen+0x147/0x360 [ 63.389097][ T99] afs_close_socket+0x95/0x320 [ 63.393975][ T99] afs_net_exit+0x1bc/0x310 [ 63.398478][ T99] ops_exit_list.isra.0+0xa8/0x150 [ 63.403586][ T99] cleanup_net+0x511/0xa50 [ 63.407997][ T99] process_one_work+0x965/0x1690 [ 63.412922][ T99] worker_thread+0x96/0xe10 [ 63.417431][ T99] kthread+0x3b5/0x4a0 [ 63.421498][ T99] ret_from_fork+0x1f/0x30 [ 63.425901][ T99] [ 63.428227][ T99] The buggy address belongs to the object at ffff88808b037800 [ 63.428227][ T99] which belongs to the cache kmalloc-1k of size 1024 [ 63.442290][ T99] The buggy address is located 484 bytes inside of [ 63.442290][ T99] 1024-byte region [ffff88808b037800, ffff88808b037c00) [ 63.455641][ T99] The buggy address belongs to the page: [ 63.461275][ T99] page:ffffea00022c0dc0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 63.470371][ T99] flags: 0xfffe0000000200(slab) [ 63.475312][ T99] raw: 00fffe0000000200 ffffea00027fff08 ffffea00025079c8 ffff8880aa000c40 [ 63.484003][ T99] raw: 0000000000000000 ffff88808b037000 0000000100000002 0000000000000000 [ 63.492758][ T99] page dumped because: kasan: bad access detected [ 63.499161][ T99] [ 63.501483][ T99] Memory state around the buggy address: [ 63.507112][ T99] ffff88808b037880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.515621][ T99] ffff88808b037900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.523683][ T99] >ffff88808b037980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.532695][ T99] ^ [ 63.539886][ T99] ffff88808b037a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.547944][ T99] ffff88808b037a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.557471][ T99] ================================================================== [ 63.565540][ T99] Disabling lock debugging due to kernel taint [ 63.571734][ T99] Kernel panic - not syncing: panic_on_warn set ... [ 63.578413][ T99] CPU: 0 PID: 99 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 63.588043][ T99] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.598107][ T99] Workqueue: netns cleanup_net [ 63.603134][ T99] Call Trace: [ 63.606426][ T99] dump_stack+0x18f/0x20d [ 63.610774][ T99] ? afs_wake_up_async_call+0x680/0x770 [ 63.616316][ T99] ? afs_put_call+0xa40/0xa40 [ 63.620981][ T99] panic+0x2e3/0x75c [ 63.624867][ T99] ? __warn_printk+0xf3/0xf3 [ 63.629452][ T99] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 63.635611][ T99] ? trace_hardirqs_on+0x55/0x220 [ 63.640628][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.646158][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.651692][ T99] ? afs_put_call+0xa40/0xa40 [ 63.656976][ T99] end_report+0x4d/0x53 [ 63.661134][ T99] kasan_report.cold+0xd/0x37 [ 63.665825][ T99] ? rcu_read_lock_held_common+0x51/0xa0 [ 63.671448][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.676987][ T99] afs_wake_up_async_call+0x6aa/0x770 [ 63.682349][ T99] ? afs_close_socket+0x320/0x320 [ 63.687394][ T99] ? afs_put_call+0xa40/0xa40 [ 63.692593][ T99] rxrpc_notify_socket+0x1db/0x5d0 [ 63.697708][ T99] ? afs_put_call+0xa40/0xa40 [ 63.702815][ T99] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 63.709231][ T99] rxrpc_call_completed+0xca/0xf0 [ 63.714270][ T99] rxrpc_discard_prealloc+0x781/0xab0 [ 63.719652][ T99] ? lock_sock_nested+0x94/0x110 [ 63.724600][ T99] rxrpc_listen+0x147/0x360 [ 63.729103][ T99] afs_close_socket+0x95/0x320 [ 63.733864][ T99] ? afs_purge_servers+0x16d/0x300 [ 63.739388][ T99] ? afs_rx_discard_new_call+0x50/0x50 [ 63.744845][ T99] ? init_wait_var_entry+0x200/0x200 [ 63.750127][ T99] ? rcu_read_lock_held_common+0xa0/0xa0 [ 63.755761][ T99] ? check_preemption_disabled+0x38/0x220 [ 63.761474][ T99] afs_net_exit+0x1bc/0x310 [ 63.766072][ T99] ? afs_net_init+0xe30/0xe30 [ 63.770845][ T99] ops_exit_list.isra.0+0xa8/0x150 [ 63.775954][ T99] cleanup_net+0x511/0xa50 [ 63.780364][ T99] ? unregister_pernet_device+0x70/0x70 [ 63.785906][ T99] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 63.792221][ T99] process_one_work+0x965/0x1690 [ 63.797163][ T99] ? lock_release+0x800/0x800 [ 63.801836][ T99] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.807306][ T99] ? rwlock_bug.part.0+0x90/0x90 [ 63.812247][ T99] worker_thread+0x96/0xe10 [ 63.816747][ T99] ? process_one_work+0x1690/0x1690 [ 63.821958][ T99] kthread+0x3b5/0x4a0 [ 63.826018][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.831750][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.837465][ T99] ret_from_fork+0x1f/0x30 [ 63.843453][ T99] Kernel Offset: disabled [ 63.847779][ T99] Rebooting in 86400 seconds..