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.124' (ECDSA) to the list of known hosts. 2020/06/19 05:40:46 fuzzer started 2020/06/19 05:40:46 connecting to host at 10.128.0.26:44817 2020/06/19 05:40:46 checking machine... 2020/06/19 05:40:46 checking revisions... 2020/06/19 05:40:46 testing simple program... syzkaller login: [ 68.711719][ T6829] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 05:40:47 building call list... [ 69.079314][ T155] tipc: TX() has been purged, node left! [ 69.611342][ T155] ================================================================== [ 69.619606][ T155] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 69.627514][ T155] Write of size 1 at addr ffff888093d571e4 by task kworker/u4:3/155 [ 69.635501][ T155] [ 69.637843][ T155] CPU: 0 PID: 155 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-syzkaller #0 [ 69.646332][ T155] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 69.657284][ T155] Workqueue: netns cleanup_net [ 69.662050][ T155] Call Trace: [ 69.665478][ T155] dump_stack+0x18f/0x20d [ 69.670067][ T155] ? afs_wake_up_async_call+0x6aa/0x770 [ 69.675641][ T155] ? afs_wake_up_async_call+0x6aa/0x770 [ 69.681286][ T155] ? afs_put_call+0xa40/0xa40 [ 69.686151][ T155] print_address_description.constprop.0.cold+0xd3/0x413 [ 69.693279][ T155] ? vprintk_func+0x97/0x1a6 [ 69.698330][ T155] ? afs_wake_up_async_call+0x6aa/0x770 [ 69.703900][ T155] kasan_report.cold+0x1f/0x37 [ 69.708854][ T155] ? rcu_read_lock_held_common+0x51/0xa0 [ 69.714613][ T155] ? afs_wake_up_async_call+0x6aa/0x770 [ 69.721343][ T155] afs_wake_up_async_call+0x6aa/0x770 [ 69.726826][ T155] ? afs_close_socket+0x320/0x320 [ 69.731953][ T155] ? afs_put_call+0xa40/0xa40 [ 69.736748][ T155] rxrpc_notify_socket+0x1db/0x5d0 [ 69.743113][ T155] ? afs_put_call+0xa40/0xa40 [ 69.747802][ T155] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 69.754319][ T155] rxrpc_call_completed+0xca/0xf0 [ 69.759469][ T155] rxrpc_discard_prealloc+0x781/0xab0 [ 69.765005][ T155] ? lock_sock_nested+0x94/0x110 [ 69.769994][ T155] rxrpc_listen+0x147/0x360 [ 69.775038][ T155] afs_close_socket+0x95/0x320 [ 69.780554][ T155] ? afs_purge_servers+0x16d/0x300 [ 69.786092][ T155] ? afs_rx_discard_new_call+0x50/0x50 [ 69.791617][ T155] ? init_wait_var_entry+0x200/0x200 [ 69.797021][ T155] ? rcu_read_lock_held_common+0xa0/0xa0 [ 69.802935][ T155] ? check_preemption_disabled+0x38/0x220 [ 69.809881][ T155] afs_net_exit+0x1bc/0x310 [ 69.814390][ T155] ? afs_net_init+0xe30/0xe30 [ 69.819070][ T155] ops_exit_list.isra.0+0xa8/0x150 [ 69.824228][ T155] cleanup_net+0x511/0xa50 [ 69.828742][ T155] ? unregister_pernet_device+0x70/0x70 [ 69.834424][ T155] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 69.840454][ T155] process_one_work+0x965/0x1690 [ 69.845424][ T155] ? lock_release+0x800/0x800 [ 69.850137][ T155] ? pwq_dec_nr_in_flight+0x310/0x310 [ 69.855523][ T155] ? rwlock_bug.part.0+0x90/0x90 [ 69.860477][ T155] worker_thread+0x96/0xe10 [ 69.865005][ T155] ? process_one_work+0x1690/0x1690 [ 69.870478][ T155] kthread+0x3b5/0x4a0 [ 69.874580][ T155] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 69.880547][ T155] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 69.886284][ T155] ret_from_fork+0x1f/0x30 [ 69.890805][ T155] [ 69.893135][ T155] Allocated by task 6829: [ 69.897469][ T155] save_stack+0x1b/0x40 [ 69.901649][ T155] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 69.907390][ T155] kmem_cache_alloc_trace+0x153/0x7d0 [ 69.912775][ T155] afs_alloc_call+0x55/0x630 [ 69.917581][ T155] afs_charge_preallocation+0xe9/0x2d0 [ 69.923207][ T155] afs_open_socket+0x292/0x360 [ 69.928113][ T155] afs_net_init+0xa6c/0xe30 [ 69.932721][ T155] ops_init+0xaf/0x420 [ 69.936791][ T155] setup_net+0x2de/0x860 [ 69.941039][ T155] copy_net_ns+0x293/0x590 [ 69.945640][ T155] create_new_namespaces+0x3fb/0xb30 [ 69.951027][ T155] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 69.956771][ T155] ksys_unshare+0x43d/0x8e0 [ 69.961389][ T155] __x64_sys_unshare+0x2d/0x40 [ 69.966262][ T155] do_syscall_64+0x60/0xe0 [ 69.970694][ T155] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 69.976682][ T155] [ 69.979025][ T155] Freed by task 155: [ 69.982947][ T155] save_stack+0x1b/0x40 [ 69.987117][ T155] __kasan_slab_free+0xf7/0x140 [ 69.992083][ T155] kfree+0x109/0x2b0 [ 69.996074][ T155] afs_put_call+0x585/0xa40 [ 70.000601][ T155] rxrpc_discard_prealloc+0x764/0xab0 [ 70.005973][ T155] rxrpc_listen+0x147/0x360 [ 70.010481][ T155] afs_close_socket+0x95/0x320 [ 70.015253][ T155] afs_net_exit+0x1bc/0x310 [ 70.019780][ T155] ops_exit_list.isra.0+0xa8/0x150 [ 70.024997][ T155] cleanup_net+0x511/0xa50 [ 70.029509][ T155] process_one_work+0x965/0x1690 [ 70.034459][ T155] worker_thread+0x96/0xe10 [ 70.039067][ T155] kthread+0x3b5/0x4a0 [ 70.043139][ T155] ret_from_fork+0x1f/0x30 [ 70.047546][ T155] [ 70.049977][ T155] The buggy address belongs to the object at ffff888093d57000 [ 70.049977][ T155] which belongs to the cache kmalloc-1k of size 1024 [ 70.064150][ T155] The buggy address is located 484 bytes inside of [ 70.064150][ T155] 1024-byte region [ffff888093d57000, ffff888093d57400) [ 70.077822][ T155] The buggy address belongs to the page: [ 70.083464][ T155] page:ffffea00024f55c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 70.092712][ T155] flags: 0xfffe0000000200(slab) [ 70.097575][ T155] raw: 00fffe0000000200 ffffea00025f8308 ffffea0002a2e088 ffff8880aa000c40 [ 70.106168][ T155] raw: 0000000000000000 ffff888093d57000 0000000100000002 0000000000000000 [ 70.114998][ T155] page dumped because: kasan: bad access detected [ 70.121415][ T155] [ 70.123775][ T155] Memory state around the buggy address: [ 70.129435][ T155] ffff888093d57080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.137617][ T155] ffff888093d57100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.145770][ T155] >ffff888093d57180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.153855][ T155] ^ [ 70.161173][ T155] ffff888093d57200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.169331][ T155] ffff888093d57280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.177751][ T155] ================================================================== [ 70.185850][ T155] Disabling lock debugging due to kernel taint [ 70.192172][ T155] Kernel panic - not syncing: panic_on_warn set ... [ 70.198771][ T155] CPU: 0 PID: 155 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 70.208539][ T155] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 70.219784][ T155] Workqueue: netns cleanup_net [ 70.224546][ T155] Call Trace: [ 70.227923][ T155] dump_stack+0x18f/0x20d [ 70.232265][ T155] ? afs_wake_up_async_call+0x670/0x770 [ 70.237851][ T155] ? afs_put_call+0xa40/0xa40 [ 70.242542][ T155] panic+0x2e3/0x75c [ 70.246562][ T155] ? __warn_printk+0xf3/0xf3 [ 70.251160][ T155] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 70.257331][ T155] ? trace_hardirqs_on+0x55/0x220 [ 70.262478][ T155] ? afs_wake_up_async_call+0x6aa/0x770 [ 70.268028][ T155] ? afs_wake_up_async_call+0x6aa/0x770 [ 70.274207][ T155] ? afs_put_call+0xa40/0xa40 [ 70.279384][ T155] end_report+0x4d/0x53 [ 70.283664][ T155] kasan_report.cold+0xd/0x37 [ 70.288375][ T155] ? rcu_read_lock_held_common+0x51/0xa0 [ 70.294006][ T155] ? afs_wake_up_async_call+0x6aa/0x770 [ 70.299690][ T155] afs_wake_up_async_call+0x6aa/0x770 [ 70.305083][ T155] ? afs_close_socket+0x320/0x320 [ 70.310240][ T155] ? afs_put_call+0xa40/0xa40 [ 70.314976][ T155] rxrpc_notify_socket+0x1db/0x5d0 [ 70.320084][ T155] ? afs_put_call+0xa40/0xa40 [ 70.324758][ T155] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 70.331175][ T155] rxrpc_call_completed+0xca/0xf0 [ 70.336413][ T155] rxrpc_discard_prealloc+0x781/0xab0 [ 70.341819][ T155] ? lock_sock_nested+0x94/0x110 [ 70.346757][ T155] rxrpc_listen+0x147/0x360 [ 70.351265][ T155] afs_close_socket+0x95/0x320 [ 70.356271][ T155] ? afs_purge_servers+0x16d/0x300 [ 70.361422][ T155] ? afs_rx_discard_new_call+0x50/0x50 [ 70.367080][ T155] ? init_wait_var_entry+0x200/0x200 [ 70.372432][ T155] ? rcu_read_lock_held_common+0xa0/0xa0 [ 70.378502][ T155] ? check_preemption_disabled+0x38/0x220 [ 70.384490][ T155] afs_net_exit+0x1bc/0x310 [ 70.389082][ T155] ? afs_net_init+0xe30/0xe30 [ 70.393829][ T155] ops_exit_list.isra.0+0xa8/0x150 [ 70.399424][ T155] cleanup_net+0x511/0xa50 [ 70.403945][ T155] ? unregister_pernet_device+0x70/0x70 [ 70.409606][ T155] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 70.415596][ T155] process_one_work+0x965/0x1690 [ 70.420543][ T155] ? lock_release+0x800/0x800 [ 70.425443][ T155] ? pwq_dec_nr_in_flight+0x310/0x310 [ 70.430922][ T155] ? rwlock_bug.part.0+0x90/0x90 [ 70.436077][ T155] worker_thread+0x96/0xe10 [ 70.440795][ T155] ? process_one_work+0x1690/0x1690 [ 70.445997][ T155] kthread+0x3b5/0x4a0 [ 70.450239][ T155] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 70.455962][ T155] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 70.461769][ T155] ret_from_fork+0x1f/0x30 [ 70.468388][ T155] Kernel Offset: disabled [ 70.472750][ T155] Rebooting in 86400 seconds..