[ 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.0.179' (ECDSA) to the list of known hosts. 2020/06/18 23:09:48 fuzzer started 2020/06/18 23:09:48 connecting to host at 10.128.0.26:33453 2020/06/18 23:09:48 checking machine... 2020/06/18 23:09:48 checking revisions... 2020/06/18 23:09:48 testing simple program... syzkaller login: [ 60.946220][ T6800] IPVS: ftp: loaded support on port[0] = 21 2020/06/18 23:09:48 building call list... [ 61.292955][ T447] tipc: TX() has been purged, node left! [ 61.805026][ T447] ================================================================== [ 61.813611][ T447] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.821496][ T447] Write of size 1 at addr ffff88809fa2c9e4 by task kworker/u4:4/447 [ 61.829465][ T447] [ 61.831801][ T447] CPU: 1 PID: 447 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-syzkaller #0 [ 61.840201][ T447] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.850546][ T447] Workqueue: netns cleanup_net [ 61.855303][ T447] Call Trace: [ 61.858596][ T447] dump_stack+0x18f/0x20d [ 61.862927][ T447] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.868466][ T447] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.874007][ T447] ? afs_put_call+0xa40/0xa40 [ 61.878699][ T447] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.885728][ T447] ? vprintk_func+0x97/0x1a6 [ 61.890323][ T447] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.895879][ T447] kasan_report.cold+0x1f/0x37 [ 61.900653][ T447] ? rcu_read_lock_held_common+0x51/0xa0 [ 61.906300][ T447] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.911847][ T447] afs_wake_up_async_call+0x6aa/0x770 [ 61.917243][ T447] ? afs_close_socket+0x320/0x320 [ 61.922279][ T447] ? afs_put_call+0xa40/0xa40 [ 61.926953][ T447] rxrpc_notify_socket+0x1db/0x5d0 [ 61.932067][ T447] ? afs_put_call+0xa40/0xa40 [ 61.936833][ T447] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.943250][ T447] rxrpc_call_completed+0xca/0xf0 [ 61.948280][ T447] rxrpc_discard_prealloc+0x781/0xab0 [ 61.953657][ T447] ? lock_sock_nested+0x94/0x110 [ 61.958657][ T447] rxrpc_listen+0x147/0x360 [ 61.963163][ T447] afs_close_socket+0x95/0x320 [ 61.967930][ T447] ? afs_purge_servers+0x16d/0x300 [ 61.973042][ T447] ? afs_rx_discard_new_call+0x50/0x50 [ 61.978503][ T447] ? init_wait_var_entry+0x200/0x200 [ 61.983809][ T447] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.989444][ T447] ? check_preemption_disabled+0x38/0x220 [ 61.995338][ T447] afs_net_exit+0x1bc/0x310 [ 61.999852][ T447] ? afs_net_init+0xe30/0xe30 [ 62.004542][ T447] ops_exit_list.isra.0+0xa8/0x150 [ 62.009657][ T447] cleanup_net+0x511/0xa50 [ 62.014094][ T447] ? unregister_pernet_device+0x70/0x70 [ 62.019730][ T447] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.025735][ T447] process_one_work+0x965/0x1690 [ 62.030778][ T447] ? lock_release+0x800/0x800 [ 62.035457][ T447] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.040946][ T447] ? rwlock_bug.part.0+0x90/0x90 [ 62.045989][ T447] worker_thread+0x96/0xe10 [ 62.050508][ T447] ? process_one_work+0x1690/0x1690 [ 62.055704][ T447] kthread+0x3b5/0x4a0 [ 62.059781][ T447] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.066478][ T447] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.072209][ T447] ret_from_fork+0x1f/0x30 [ 62.076641][ T447] [ 62.078965][ T447] Allocated by task 6800: [ 62.083308][ T447] save_stack+0x1b/0x40 [ 62.087481][ T447] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.093107][ T447] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.098475][ T447] afs_alloc_call+0x55/0x630 [ 62.103058][ T447] afs_charge_preallocation+0xe9/0x2d0 [ 62.108509][ T447] afs_open_socket+0x292/0x360 [ 62.113455][ T447] afs_net_init+0xa6c/0xe30 [ 62.117952][ T447] ops_init+0xaf/0x420 [ 62.122014][ T447] setup_net+0x2de/0x860 [ 62.126354][ T447] copy_net_ns+0x293/0x590 [ 62.130770][ T447] create_new_namespaces+0x3fb/0xb30 [ 62.136053][ T447] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.141681][ T447] ksys_unshare+0x43d/0x8e0 [ 62.146179][ T447] __x64_sys_unshare+0x2d/0x40 [ 62.150948][ T447] do_syscall_64+0x60/0xe0 [ 62.155364][ T447] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.161332][ T447] [ 62.163653][ T447] Freed by task 447: [ 62.167546][ T447] save_stack+0x1b/0x40 [ 62.171695][ T447] __kasan_slab_free+0xf7/0x140 [ 62.176537][ T447] kfree+0x109/0x2b0 [ 62.180433][ T447] afs_put_call+0x585/0xa40 [ 62.184947][ T447] rxrpc_discard_prealloc+0x764/0xab0 [ 62.190317][ T447] rxrpc_listen+0x147/0x360 [ 62.194816][ T447] afs_close_socket+0x95/0x320 [ 62.199574][ T447] afs_net_exit+0x1bc/0x310 [ 62.204076][ T447] ops_exit_list.isra.0+0xa8/0x150 [ 62.209198][ T447] cleanup_net+0x511/0xa50 [ 62.213619][ T447] process_one_work+0x965/0x1690 [ 62.218572][ T447] worker_thread+0x96/0xe10 [ 62.223077][ T447] kthread+0x3b5/0x4a0 [ 62.227179][ T447] ret_from_fork+0x1f/0x30 [ 62.231693][ T447] [ 62.234027][ T447] The buggy address belongs to the object at ffff88809fa2c800 [ 62.234027][ T447] which belongs to the cache kmalloc-1k of size 1024 [ 62.251038][ T447] The buggy address is located 484 bytes inside of [ 62.251038][ T447] 1024-byte region [ffff88809fa2c800, ffff88809fa2cc00) [ 62.264575][ T447] The buggy address belongs to the page: [ 62.270316][ T447] page:ffffea00027e8b00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.279419][ T447] flags: 0xfffe0000000200(slab) [ 62.284273][ T447] raw: 00fffe0000000200 ffffea00027f5d88 ffffea0002a5c548 ffff8880aa000c40 [ 62.292869][ T447] raw: 0000000000000000 ffff88809fa2c000 0000000100000002 0000000000000000 [ 62.301445][ T447] page dumped because: kasan: bad access detected [ 62.307845][ T447] [ 62.310168][ T447] Memory state around the buggy address: [ 62.315795][ T447] ffff88809fa2c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.323866][ T447] ffff88809fa2c900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.331926][ T447] >ffff88809fa2c980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.340001][ T447] ^ [ 62.347191][ T447] ffff88809fa2ca00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.355250][ T447] ffff88809fa2ca80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.363310][ T447] ================================================================== [ 62.371360][ T447] Disabling lock debugging due to kernel taint [ 62.377653][ T447] Kernel panic - not syncing: panic_on_warn set ... [ 62.384688][ T447] CPU: 1 PID: 447 Comm: kworker/u4:4 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.394901][ T447] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.405076][ T447] Workqueue: netns cleanup_net [ 62.410366][ T447] Call Trace: [ 62.413659][ T447] dump_stack+0x18f/0x20d [ 62.418174][ T447] ? afs_wake_up_async_call+0x670/0x770 [ 62.424679][ T447] ? afs_put_call+0xa40/0xa40 [ 62.429354][ T447] panic+0x2e3/0x75c [ 62.433274][ T447] ? __warn_printk+0xf3/0xf3 [ 62.437856][ T447] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.444012][ T447] ? trace_hardirqs_on+0x55/0x220 [ 62.449217][ T447] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.454842][ T447] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.460386][ T447] ? afs_put_call+0xa40/0xa40 [ 62.465059][ T447] end_report+0x4d/0x53 [ 62.469210][ T447] kasan_report.cold+0xd/0x37 [ 62.473915][ T447] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.479538][ T447] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.485092][ T447] afs_wake_up_async_call+0x6aa/0x770 [ 62.490556][ T447] ? afs_close_socket+0x320/0x320 [ 62.495577][ T447] ? afs_put_call+0xa40/0xa40 [ 62.500250][ T447] rxrpc_notify_socket+0x1db/0x5d0 [ 62.505361][ T447] ? afs_put_call+0xa40/0xa40 [ 62.510124][ T447] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.516534][ T447] rxrpc_call_completed+0xca/0xf0 [ 62.521650][ T447] rxrpc_discard_prealloc+0x781/0xab0 [ 62.527025][ T447] ? lock_sock_nested+0x94/0x110 [ 62.531965][ T447] rxrpc_listen+0x147/0x360 [ 62.536475][ T447] afs_close_socket+0x95/0x320 [ 62.541389][ T447] ? afs_purge_servers+0x16d/0x300 [ 62.546509][ T447] ? afs_rx_discard_new_call+0x50/0x50 [ 62.551975][ T447] ? init_wait_var_entry+0x200/0x200 [ 62.557264][ T447] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.562898][ T447] ? check_preemption_disabled+0x38/0x220 [ 62.568613][ T447] afs_net_exit+0x1bc/0x310 [ 62.573111][ T447] ? afs_net_init+0xe30/0xe30 [ 62.577784][ T447] ops_exit_list.isra.0+0xa8/0x150 [ 62.582892][ T447] cleanup_net+0x511/0xa50 [ 62.587311][ T447] ? unregister_pernet_device+0x70/0x70 [ 62.592852][ T447] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.598829][ T447] process_one_work+0x965/0x1690 [ 62.603765][ T447] ? lock_release+0x800/0x800 [ 62.608436][ T447] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.613806][ T447] ? rwlock_bug.part.0+0x90/0x90 [ 62.618745][ T447] worker_thread+0x96/0xe10 [ 62.623252][ T447] ? process_one_work+0x1690/0x1690 [ 62.628466][ T447] kthread+0x3b5/0x4a0 [ 62.632530][ T447] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.638260][ T447] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.644001][ T447] ret_from_fork+0x1f/0x30 [ 62.650133][ T447] Kernel Offset: disabled [ 62.654541][ T447] Rebooting in 86400 seconds..