[ 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.15.202' (ECDSA) to the list of known hosts. 2020/06/15 02:07:54 fuzzer started 2020/06/15 02:07:54 connecting to host at 10.128.0.26:38025 2020/06/15 02:07:54 checking machine... 2020/06/15 02:07:54 checking revisions... 2020/06/15 02:07:54 testing simple program... syzkaller login: [ 60.981554][ T6803] IPVS: ftp: loaded support on port[0] = 21 2020/06/15 02:07:54 building call list... [ 61.296540][ T7] tipc: TX() has been purged, node left! [ 61.808583][ T7] ================================================================== [ 61.816901][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.824784][ T7] Write of size 1 at addr ffff88808bc021e4 by task kworker/u4:0/7 [ 61.832569][ T7] [ 61.834899][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.8.0-rc1-next-20200615-syzkaller #0 [ 61.844250][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.854818][ T7] Workqueue: netns cleanup_net [ 61.859583][ T7] Call Trace: [ 61.862895][ T7] dump_stack+0x18f/0x20d [ 61.867239][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.872778][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.878333][ T7] ? afs_put_call+0xa40/0xa40 [ 61.883008][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.890032][ T7] ? vprintk_func+0x97/0x1a6 [ 61.894625][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.900165][ T7] kasan_report.cold+0x1f/0x37 [ 61.905019][ T7] ? rcu_read_lock_held_common+0x71/0xa0 [ 61.910646][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.916194][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 61.921559][ T7] ? afs_close_socket+0x320/0x320 [ 61.926582][ T7] ? afs_put_call+0xa40/0xa40 [ 61.931254][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 61.936374][ T7] ? afs_put_call+0xa40/0xa40 [ 61.941047][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.947459][ T7] rxrpc_call_completed+0xca/0xf0 [ 61.952504][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 61.957888][ T7] ? lock_sock_nested+0x94/0x110 [ 61.962824][ T7] rxrpc_listen+0x147/0x360 [ 61.967330][ T7] afs_close_socket+0x95/0x320 [ 61.972089][ T7] ? afs_purge_servers+0x16d/0x300 [ 61.977201][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 61.982661][ T7] ? init_wait_var_entry+0x200/0x200 [ 61.987963][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.993592][ T7] ? check_preemption_disabled+0x38/0x220 [ 61.999325][ T7] afs_net_exit+0x1bc/0x310 [ 62.003822][ T7] ? afs_net_init+0xe30/0xe30 [ 62.008498][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 62.013610][ T7] cleanup_net+0x511/0xa50 [ 62.018025][ T7] ? unregister_pernet_device+0x70/0x70 [ 62.023571][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.029637][ T7] process_one_work+0x965/0x1690 [ 62.034583][ T7] ? lock_release+0x800/0x800 [ 62.039262][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.044639][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 62.049596][ T7] worker_thread+0x96/0xe10 [ 62.054124][ T7] ? process_one_work+0x1690/0x1690 [ 62.059333][ T7] kthread+0x3b5/0x4a0 [ 62.063482][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.069283][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.075007][ T7] ret_from_fork+0x1f/0x30 [ 62.079431][ T7] [ 62.081753][ T7] Allocated by task 6803: [ 62.086091][ T7] save_stack+0x1b/0x40 [ 62.090248][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.095887][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.101267][ T7] afs_alloc_call+0x55/0x630 [ 62.105862][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 62.111407][ T7] afs_open_socket+0x292/0x360 [ 62.116182][ T7] afs_net_init+0xa6c/0xe30 [ 62.120680][ T7] ops_init+0xaf/0x420 [ 62.124739][ T7] setup_net+0x2de/0x860 [ 62.128974][ T7] copy_net_ns+0x293/0x590 [ 62.133384][ T7] create_new_namespaces+0x3fb/0xb30 [ 62.138664][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.144316][ T7] ksys_unshare+0x43d/0x8e0 [ 62.148815][ T7] __x64_sys_unshare+0x2d/0x40 [ 62.153572][ T7] do_syscall_64+0x60/0xe0 [ 62.157983][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.163956][ T7] [ 62.166277][ T7] Freed by task 7: [ 62.170019][ T7] save_stack+0x1b/0x40 [ 62.174177][ T7] __kasan_slab_free+0xf7/0x140 [ 62.179110][ T7] kfree+0x109/0x2b0 [ 62.182999][ T7] afs_put_call+0x585/0xa40 [ 62.187516][ T7] rxrpc_discard_prealloc+0x764/0xab0 [ 62.192890][ T7] rxrpc_listen+0x147/0x360 [ 62.197389][ T7] afs_close_socket+0x95/0x320 [ 62.202142][ T7] afs_net_exit+0x1bc/0x310 [ 62.206640][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 62.211748][ T7] cleanup_net+0x511/0xa50 [ 62.217042][ T7] process_one_work+0x965/0x1690 [ 62.221985][ T7] worker_thread+0x96/0xe10 [ 62.226479][ T7] kthread+0x3b5/0x4a0 [ 62.230543][ T7] ret_from_fork+0x1f/0x30 [ 62.234943][ T7] [ 62.237266][ T7] The buggy address belongs to the object at ffff88808bc02000 [ 62.237266][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 62.251592][ T7] The buggy address is located 484 bytes inside of [ 62.251592][ T7] 1024-byte region [ffff88808bc02000, ffff88808bc02400) [ 62.265042][ T7] The buggy address belongs to the page: [ 62.271030][ T7] page:ffffea00022f0080 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.280247][ T7] flags: 0xfffe0000000200(slab) [ 62.285102][ T7] raw: 00fffe0000000200 ffffea00029cb0c8 ffffea00026c5c88 ffff8880aa000c40 [ 62.293700][ T7] raw: 0000000000000000 ffff88808bc02000 0000000100000002 0000000000000000 [ 62.302295][ T7] page dumped because: kasan: bad access detected [ 62.308736][ T7] [ 62.311053][ T7] Memory state around the buggy address: [ 62.316731][ T7] ffff88808bc02080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.324899][ T7] ffff88808bc02100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.332997][ T7] >ffff88808bc02180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.341082][ T7] ^ [ 62.349068][ T7] ffff88808bc02200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.357139][ T7] ffff88808bc02280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.365193][ T7] ================================================================== [ 62.373261][ T7] Disabling lock debugging due to kernel taint [ 62.379544][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 62.386128][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.8.0-rc1-next-20200615-syzkaller #0 [ 62.396873][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.406932][ T7] Workqueue: netns cleanup_net [ 62.411688][ T7] Call Trace: [ 62.414977][ T7] dump_stack+0x18f/0x20d [ 62.419323][ T7] ? afs_wake_up_async_call+0x660/0x770 [ 62.424865][ T7] ? afs_put_call+0xa40/0xa40 [ 62.429718][ T7] panic+0x2e3/0x75c [ 62.433634][ T7] ? __warn_printk+0xf3/0xf3 [ 62.438312][ T7] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.444467][ T7] ? trace_hardirqs_on+0x55/0x220 [ 62.449596][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.455145][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.460941][ T7] ? afs_put_call+0xa40/0xa40 [ 62.465610][ T7] end_report+0x4d/0x53 [ 62.469761][ T7] kasan_report.cold+0xd/0x37 [ 62.474438][ T7] ? rcu_read_lock_held_common+0x71/0xa0 [ 62.480068][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.485746][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 62.491124][ T7] ? afs_close_socket+0x320/0x320 [ 62.496143][ T7] ? afs_put_call+0xa40/0xa40 [ 62.500813][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 62.505920][ T7] ? afs_put_call+0xa40/0xa40 [ 62.510674][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.517091][ T7] rxrpc_call_completed+0xca/0xf0 [ 62.522134][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 62.527504][ T7] ? lock_sock_nested+0x94/0x110 [ 62.532454][ T7] rxrpc_listen+0x147/0x360 [ 62.536954][ T7] afs_close_socket+0x95/0x320 [ 62.541885][ T7] ? afs_purge_servers+0x16d/0x300 [ 62.547002][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 62.552470][ T7] ? init_wait_var_entry+0x200/0x200 [ 62.557755][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.563387][ T7] ? check_preemption_disabled+0x38/0x220 [ 62.569098][ T7] afs_net_exit+0x1bc/0x310 [ 62.573594][ T7] ? afs_net_init+0xe30/0xe30 [ 62.578263][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 62.583369][ T7] cleanup_net+0x511/0xa50 [ 62.587782][ T7] ? unregister_pernet_device+0x70/0x70 [ 62.593345][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.600368][ T7] process_one_work+0x965/0x1690 [ 62.606726][ T7] ? lock_release+0x800/0x800 [ 62.611402][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.616788][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 62.621727][ T7] worker_thread+0x96/0xe10 [ 62.626237][ T7] ? process_one_work+0x1690/0x1690 [ 62.631428][ T7] kthread+0x3b5/0x4a0 [ 62.635579][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.641293][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.647007][ T7] ret_from_fork+0x1f/0x30 [ 62.652824][ T7] Kernel Offset: disabled [ 62.657357][ T7] Rebooting in 86400 seconds..