[ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.48' (ECDSA) to the list of known hosts. 2020/06/19 18:03:18 fuzzer started 2020/06/19 18:03:18 connecting to host at 10.128.0.26:46575 2020/06/19 18:03:18 checking machine... 2020/06/19 18:03:18 checking revisions... 2020/06/19 18:03:18 testing simple program... syzkaller login: [ 58.404871][ T6904] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 18:03:19 building call list... [ 58.808315][ T7] tipc: TX() has been purged, node left! [ 59.330778][ T7] ================================================================== [ 59.338992][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 59.346874][ T7] Write of size 1 at addr ffff888091f321e4 by task kworker/u4:0/7 [ 59.354657][ T7] [ 59.356983][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.8.0-rc1-syzkaller #0 [ 59.365118][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.375168][ T7] Workqueue: netns cleanup_net [ 59.379918][ T7] Call Trace: [ 59.383207][ T7] dump_stack+0x18f/0x20d [ 59.387533][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.393070][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.398605][ T7] ? afs_put_call+0xa40/0xa40 [ 59.403276][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 59.410296][ T7] ? vprintk_func+0x97/0x1a6 [ 59.414884][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.420425][ T7] kasan_report.cold+0x1f/0x37 [ 59.425190][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 59.430813][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.436355][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 59.441724][ T7] ? afs_close_socket+0x320/0x320 [ 59.446743][ T7] ? afs_put_call+0xa40/0xa40 [ 59.451414][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 59.456531][ T7] ? afs_put_call+0xa40/0xa40 [ 59.461206][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 59.467618][ T7] rxrpc_call_completed+0xca/0xf0 [ 59.472645][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 59.479493][ T7] ? lock_sock_nested+0x94/0x110 [ 59.484429][ T7] rxrpc_listen+0x147/0x360 [ 59.488930][ T7] afs_close_socket+0x95/0x320 [ 59.493687][ T7] ? afs_purge_servers+0x16d/0x300 [ 59.498795][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 59.504253][ T7] ? init_wait_var_entry+0x200/0x200 [ 59.509539][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 59.515167][ T7] ? check_preemption_disabled+0x38/0x220 [ 59.520883][ T7] afs_net_exit+0x1bc/0x310 [ 59.525382][ T7] ? afs_net_init+0xe30/0xe30 [ 59.530054][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 59.535166][ T7] cleanup_net+0x511/0xa50 [ 59.539581][ T7] ? unregister_pernet_device+0x70/0x70 [ 59.545127][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 59.551112][ T7] process_one_work+0x965/0x1690 [ 59.556052][ T7] ? lock_release+0x800/0x800 [ 59.560725][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 59.566113][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 59.571057][ T7] worker_thread+0x96/0xe10 [ 59.575583][ T7] ? process_one_work+0x1690/0x1690 [ 59.580778][ T7] kthread+0x3b5/0x4a0 [ 59.584840][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.590553][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 59.596272][ T7] ret_from_fork+0x1f/0x30 [ 59.600694][ T7] [ 59.603015][ T7] Allocated by task 6904: [ 59.607336][ T7] save_stack+0x1b/0x40 [ 59.611487][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 59.617108][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 59.622471][ T7] afs_alloc_call+0x55/0x630 [ 59.627051][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 59.632511][ T7] afs_open_socket+0x292/0x360 [ 59.637266][ T7] afs_net_init+0xa6c/0xe30 [ 59.641766][ T7] ops_init+0xaf/0x420 [ 59.645849][ T7] setup_net+0x2de/0x860 [ 59.650093][ T7] copy_net_ns+0x293/0x590 [ 59.654519][ T7] create_new_namespaces+0x3fb/0xb30 [ 59.659812][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 59.665455][ T7] ksys_unshare+0x43d/0x8e0 [ 59.669975][ T7] __x64_sys_unshare+0x2d/0x40 [ 59.674725][ T7] do_syscall_64+0x60/0xe0 [ 59.679138][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 59.685017][ T7] [ 59.687338][ T7] Freed by task 7: [ 59.691066][ T7] save_stack+0x1b/0x40 [ 59.695215][ T7] __kasan_slab_free+0xf7/0x140 [ 59.700056][ T7] kfree+0x109/0x2b0 [ 59.703948][ T7] afs_put_call+0x585/0xa40 [ 59.708456][ T7] rxrpc_discard_prealloc+0x764/0xab0 [ 59.713820][ T7] rxrpc_listen+0x147/0x360 [ 59.718316][ T7] afs_close_socket+0x95/0x320 [ 59.723071][ T7] afs_net_exit+0x1bc/0x310 [ 59.727569][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 59.732675][ T7] cleanup_net+0x511/0xa50 [ 59.737085][ T7] process_one_work+0x965/0x1690 [ 59.742104][ T7] worker_thread+0x96/0xe10 [ 59.746604][ T7] kthread+0x3b5/0x4a0 [ 59.750673][ T7] ret_from_fork+0x1f/0x30 [ 59.755074][ T7] [ 59.757399][ T7] The buggy address belongs to the object at ffff888091f32000 [ 59.757399][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 59.771453][ T7] The buggy address is located 484 bytes inside of [ 59.771453][ T7] 1024-byte region [ffff888091f32000, ffff888091f32400) [ 59.784800][ T7] The buggy address belongs to the page: [ 59.790431][ T7] page:ffffea000247cc80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 59.799535][ T7] flags: 0xfffe0000000200(slab) [ 59.804396][ T7] raw: 00fffe0000000200 ffffea0002a02888 ffffea00029b8cc8 ffff8880aa000c40 [ 59.813000][ T7] raw: 0000000000000000 ffff888091f32000 0000000100000002 0000000000000000 [ 59.821575][ T7] page dumped because: kasan: bad access detected [ 59.828083][ T7] [ 59.830405][ T7] Memory state around the buggy address: [ 59.836042][ T7] ffff888091f32080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.844101][ T7] ffff888091f32100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.852160][ T7] >ffff888091f32180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.860217][ T7] ^ [ 59.867425][ T7] ffff888091f32200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.875490][ T7] ffff888091f32280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.883541][ T7] ================================================================== [ 59.891594][ T7] Disabling lock debugging due to kernel taint [ 59.899166][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 59.905751][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 59.915292][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.925344][ T7] Workqueue: netns cleanup_net [ 59.930103][ T7] Call Trace: [ 59.933389][ T7] dump_stack+0x18f/0x20d [ 59.937713][ T7] ? afs_wake_up_async_call+0x670/0x770 [ 59.943247][ T7] ? afs_put_call+0xa40/0xa40 [ 59.947924][ T7] panic+0x2e3/0x75c [ 59.951815][ T7] ? __warn_printk+0xf3/0xf3 [ 59.956401][ T7] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 59.962559][ T7] ? trace_hardirqs_on+0x55/0x220 [ 59.967579][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.973114][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 59.978647][ T7] ? afs_put_call+0xa40/0xa40 [ 59.983318][ T7] end_report+0x4d/0x53 [ 59.987485][ T7] kasan_report.cold+0xd/0x37 [ 59.992154][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 59.997776][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.003340][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 60.008709][ T7] ? afs_close_socket+0x320/0x320 [ 60.013725][ T7] ? afs_put_call+0xa40/0xa40 [ 60.018404][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 60.023545][ T7] ? afs_put_call+0xa40/0xa40 [ 60.028224][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.034643][ T7] rxrpc_call_completed+0xca/0xf0 [ 60.039666][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 60.045032][ T7] ? lock_sock_nested+0x94/0x110 [ 60.049986][ T7] rxrpc_listen+0x147/0x360 [ 60.054481][ T7] afs_close_socket+0x95/0x320 [ 60.059239][ T7] ? afs_purge_servers+0x16d/0x300 [ 60.064341][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 60.069793][ T7] ? init_wait_var_entry+0x200/0x200 [ 60.075091][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.080718][ T7] ? check_preemption_disabled+0x38/0x220 [ 60.086432][ T7] afs_net_exit+0x1bc/0x310 [ 60.090926][ T7] ? afs_net_init+0xe30/0xe30 [ 60.095591][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 60.100694][ T7] cleanup_net+0x511/0xa50 [ 60.105104][ T7] ? unregister_pernet_device+0x70/0x70 [ 60.110644][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 60.116646][ T7] process_one_work+0x965/0x1690 [ 60.121583][ T7] ? lock_release+0x800/0x800 [ 60.126257][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 60.131632][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 60.136563][ T7] worker_thread+0x96/0xe10 [ 60.141062][ T7] ? process_one_work+0x1690/0x1690 [ 60.146252][ T7] kthread+0x3b5/0x4a0 [ 60.150314][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.156027][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.161740][ T7] ret_from_fork+0x1f/0x30 [ 60.167242][ T7] Kernel Offset: disabled [ 60.171558][ T7] Rebooting in 86400 seconds..