Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.130' (ECDSA) to the list of known hosts. 2020/06/19 07:13:56 fuzzer started 2020/06/19 07:13:56 connecting to host at 10.128.0.26:40221 2020/06/19 07:13:56 checking machine... 2020/06/19 07:13:56 checking revisions... 2020/06/19 07:13:56 testing simple program... syzkaller login: [ 59.850516][ T6811] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 07:13:56 building call list... [ 60.204992][ T21] tipc: TX() has been purged, node left! [ 60.727378][ T21] ================================================================== [ 60.735609][ T21] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 60.743593][ T21] Write of size 1 at addr ffff88809fd8f1e4 by task kworker/u4:1/21 [ 60.751468][ T21] [ 60.753803][ T21] CPU: 0 PID: 21 Comm: kworker/u4:1 Not tainted 5.8.0-rc1-syzkaller #0 [ 60.762036][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.772109][ T21] Workqueue: netns cleanup_net [ 60.776866][ T21] Call Trace: [ 60.780159][ T21] dump_stack+0x18f/0x20d [ 60.784493][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.790037][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.795599][ T21] ? afs_put_call+0xa40/0xa40 [ 60.800276][ T21] print_address_description.constprop.0.cold+0xd3/0x413 [ 60.807304][ T21] ? vprintk_func+0x97/0x1a6 [ 60.811899][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.817442][ T21] kasan_report.cold+0x1f/0x37 [ 60.822208][ T21] ? rcu_read_lock_held_common+0x51/0xa0 [ 60.827835][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.833383][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 60.838759][ T21] ? afs_close_socket+0x320/0x320 [ 60.843785][ T21] ? afs_put_call+0xa40/0xa40 [ 60.848462][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 60.853580][ T21] ? afs_put_call+0xa40/0xa40 [ 60.858257][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.864672][ T21] rxrpc_call_completed+0xca/0xf0 [ 60.869702][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 60.875081][ T21] ? lock_sock_nested+0x94/0x110 [ 60.880024][ T21] rxrpc_listen+0x147/0x360 [ 60.884535][ T21] afs_close_socket+0x95/0x320 [ 60.889298][ T21] ? afs_purge_servers+0x16d/0x300 [ 60.894409][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 60.899870][ T21] ? init_wait_var_entry+0x200/0x200 [ 60.905162][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.910795][ T21] ? check_preemption_disabled+0x38/0x220 [ 60.916635][ T21] afs_net_exit+0x1bc/0x310 [ 60.921134][ T21] ? afs_net_init+0xe30/0xe30 [ 60.925809][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 60.930922][ T21] cleanup_net+0x511/0xa50 [ 60.935341][ T21] ? unregister_pernet_device+0x70/0x70 [ 60.940890][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 60.946876][ T21] process_one_work+0x965/0x1690 [ 60.951821][ T21] ? lock_release+0x800/0x800 [ 60.956498][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 60.961873][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 60.966850][ T21] worker_thread+0x96/0xe10 [ 60.971368][ T21] ? process_one_work+0x1690/0x1690 [ 60.976568][ T21] kthread+0x3b5/0x4a0 [ 60.980635][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.986610][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.992334][ T21] ret_from_fork+0x1f/0x30 [ 60.996768][ T21] [ 60.999092][ T21] Allocated by task 6811: [ 61.003422][ T21] save_stack+0x1b/0x40 [ 61.007576][ T21] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.013204][ T21] kmem_cache_alloc_trace+0x153/0x7d0 [ 61.018571][ T21] afs_alloc_call+0x55/0x630 [ 61.023156][ T21] afs_charge_preallocation+0xe9/0x2d0 [ 61.028610][ T21] afs_open_socket+0x292/0x360 [ 61.033365][ T21] afs_net_init+0xa6c/0xe30 [ 61.037864][ T21] ops_init+0xaf/0x420 [ 61.041928][ T21] setup_net+0x2de/0x860 [ 61.046164][ T21] copy_net_ns+0x293/0x590 [ 61.050587][ T21] create_new_namespaces+0x3fb/0xb30 [ 61.055867][ T21] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.061495][ T21] ksys_unshare+0x43d/0x8e0 [ 61.066002][ T21] __x64_sys_unshare+0x2d/0x40 [ 61.071283][ T21] do_syscall_64+0x60/0xe0 [ 61.075698][ T21] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.081586][ T21] [ 61.083910][ T21] Freed by task 21: [ 61.087718][ T21] save_stack+0x1b/0x40 [ 61.091889][ T21] __kasan_slab_free+0xf7/0x140 [ 61.096739][ T21] kfree+0x109/0x2b0 [ 61.100637][ T21] afs_put_call+0x585/0xa40 [ 61.105156][ T21] rxrpc_discard_prealloc+0x764/0xab0 [ 61.110538][ T21] rxrpc_listen+0x147/0x360 [ 61.115050][ T21] afs_close_socket+0x95/0x320 [ 61.119817][ T21] afs_net_exit+0x1bc/0x310 [ 61.124320][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 61.129427][ T21] cleanup_net+0x511/0xa50 [ 61.133841][ T21] process_one_work+0x965/0x1690 [ 61.138775][ T21] worker_thread+0x96/0xe10 [ 61.143300][ T21] kthread+0x3b5/0x4a0 [ 61.147369][ T21] ret_from_fork+0x1f/0x30 [ 61.151772][ T21] [ 61.154099][ T21] The buggy address belongs to the object at ffff88809fd8f000 [ 61.154099][ T21] which belongs to the cache kmalloc-1k of size 1024 [ 61.168147][ T21] The buggy address is located 484 bytes inside of [ 61.168147][ T21] 1024-byte region [ffff88809fd8f000, ffff88809fd8f400) [ 61.181494][ T21] The buggy address belongs to the page: [ 61.187134][ T21] page:ffffea00027f63c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 61.196319][ T21] flags: 0xfffe0000000200(slab) [ 61.201170][ T21] raw: 00fffe0000000200 ffffea00029a76c8 ffffea000250d548 ffff8880aa000c40 [ 61.209752][ T21] raw: 0000000000000000 ffff88809fd8f000 0000000100000002 0000000000000000 [ 61.218351][ T21] page dumped because: kasan: bad access detected [ 61.224760][ T21] [ 61.227086][ T21] Memory state around the buggy address: [ 61.232714][ T21] ffff88809fd8f080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.240773][ T21] ffff88809fd8f100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.248836][ T21] >ffff88809fd8f180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.257414][ T21] ^ [ 61.264604][ T21] ffff88809fd8f200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.272664][ T21] ffff88809fd8f280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.280724][ T21] ================================================================== [ 61.288777][ T21] Disabling lock debugging due to kernel taint [ 61.295695][ T21] Kernel panic - not syncing: panic_on_warn set ... [ 61.302282][ T21] CPU: 0 PID: 21 Comm: kworker/u4:1 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 61.311926][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.321984][ T21] Workqueue: netns cleanup_net [ 61.326736][ T21] Call Trace: [ 61.330030][ T21] dump_stack+0x18f/0x20d [ 61.334358][ T21] ? afs_wake_up_async_call+0x670/0x770 [ 61.339894][ T21] ? afs_put_call+0xa40/0xa40 [ 61.344564][ T21] panic+0x2e3/0x75c [ 61.348454][ T21] ? __warn_printk+0xf3/0xf3 [ 61.353040][ T21] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 61.359209][ T21] ? trace_hardirqs_on+0x55/0x220 [ 61.364232][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.369769][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.375305][ T21] ? afs_put_call+0xa40/0xa40 [ 61.379973][ T21] end_report+0x4d/0x53 [ 61.384156][ T21] kasan_report.cold+0xd/0x37 [ 61.388835][ T21] ? rcu_read_lock_held_common+0x51/0xa0 [ 61.394464][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.400004][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 61.405365][ T21] ? afs_close_socket+0x320/0x320 [ 61.410381][ T21] ? afs_put_call+0xa40/0xa40 [ 61.415055][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 61.420178][ T21] ? afs_put_call+0xa40/0xa40 [ 61.424849][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.431258][ T21] rxrpc_call_completed+0xca/0xf0 [ 61.436277][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 61.441643][ T21] ? lock_sock_nested+0x94/0x110 [ 61.446572][ T21] rxrpc_listen+0x147/0x360 [ 61.451066][ T21] afs_close_socket+0x95/0x320 [ 61.455821][ T21] ? afs_purge_servers+0x16d/0x300 [ 61.460926][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 61.466394][ T21] ? init_wait_var_entry+0x200/0x200 [ 61.471681][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.477307][ T21] ? check_preemption_disabled+0x38/0x220 [ 61.483039][ T21] afs_net_exit+0x1bc/0x310 [ 61.487794][ T21] ? afs_net_init+0xe30/0xe30 [ 61.492463][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 61.497564][ T21] cleanup_net+0x511/0xa50 [ 61.501973][ T21] ? unregister_pernet_device+0x70/0x70 [ 61.507777][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.513752][ T21] process_one_work+0x965/0x1690 [ 61.518685][ T21] ? lock_release+0x800/0x800 [ 61.523355][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.528723][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 61.533658][ T21] worker_thread+0x96/0xe10 [ 61.538159][ T21] ? process_one_work+0x1690/0x1690 [ 61.543346][ T21] kthread+0x3b5/0x4a0 [ 61.547411][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.553120][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.558831][ T21] ret_from_fork+0x1f/0x30 [ 61.564605][ T21] Kernel Offset: disabled [ 61.568937][ T21] Rebooting in 86400 seconds..