Starting Load/Save RF Kill Switch Status... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.86' (ECDSA) to the list of known hosts. 2020/06/19 00:40:10 fuzzer started 2020/06/19 00:40:11 connecting to host at 10.128.0.26:42245 2020/06/19 00:40:11 checking machine... 2020/06/19 00:40:11 checking revisions... 2020/06/19 00:40:11 testing simple program... syzkaller login: [ 64.140971][ T6955] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 00:40:11 building call list... [ 64.525154][ T7] tipc: TX() has been purged, node left! [ 65.057279][ T7] ================================================================== [ 65.066329][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 65.074311][ T7] Write of size 1 at addr ffff8880934a21e4 by task kworker/u4:0/7 [ 65.082098][ T7] [ 65.088512][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.8.0-rc1-syzkaller #0 [ 65.097199][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.107531][ T7] Workqueue: netns cleanup_net [ 65.113074][ T7] Call Trace: [ 65.116477][ T7] dump_stack+0x18f/0x20d [ 65.120993][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.126721][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.132263][ T7] ? afs_put_call+0xa40/0xa40 [ 65.138094][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 65.145316][ T7] ? vprintk_func+0x97/0x1a6 [ 65.150130][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.155674][ T7] kasan_report.cold+0x1f/0x37 [ 65.162701][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.168337][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.173885][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 65.179601][ T7] ? afs_close_socket+0x320/0x320 [ 65.184717][ T7] ? afs_put_call+0xa40/0xa40 [ 65.189400][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 65.194530][ T7] ? afs_put_call+0xa40/0xa40 [ 65.199207][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.205646][ T7] rxrpc_call_completed+0xca/0xf0 [ 65.210780][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 65.216353][ T7] ? lock_sock_nested+0x94/0x110 [ 65.221469][ T7] rxrpc_listen+0x147/0x360 [ 65.225975][ T7] afs_close_socket+0x95/0x320 [ 65.230735][ T7] ? afs_purge_servers+0x16d/0x300 [ 65.235845][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 65.241316][ T7] ? init_wait_var_entry+0x200/0x200 [ 65.246609][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.252239][ T7] ? check_preemption_disabled+0x38/0x220 [ 65.257971][ T7] afs_net_exit+0x1bc/0x310 [ 65.262802][ T7] ? afs_net_init+0xe30/0xe30 [ 65.267589][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 65.272922][ T7] cleanup_net+0x511/0xa50 [ 65.277428][ T7] ? unregister_pernet_device+0x70/0x70 [ 65.282975][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.288995][ T7] process_one_work+0x965/0x1690 [ 65.294065][ T7] ? lock_release+0x800/0x800 [ 65.298868][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.304460][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 65.309507][ T7] worker_thread+0x96/0xe10 [ 65.314049][ T7] ? process_one_work+0x1690/0x1690 [ 65.319265][ T7] kthread+0x3b5/0x4a0 [ 65.323348][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.329091][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.334816][ T7] ret_from_fork+0x1f/0x30 [ 65.341434][ T7] [ 65.344308][ T7] Allocated by task 6955: [ 65.348999][ T7] save_stack+0x1b/0x40 [ 65.353324][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 65.359106][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 65.364491][ T7] afs_alloc_call+0x55/0x630 [ 65.369078][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 65.374531][ T7] afs_open_socket+0x292/0x360 [ 65.379292][ T7] afs_net_init+0xa6c/0xe30 [ 65.383819][ T7] ops_init+0xaf/0x420 [ 65.387883][ T7] setup_net+0x2de/0x860 [ 65.392137][ T7] copy_net_ns+0x293/0x590 [ 65.396585][ T7] create_new_namespaces+0x3fb/0xb30 [ 65.401895][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 65.407528][ T7] ksys_unshare+0x43d/0x8e0 [ 65.412025][ T7] __x64_sys_unshare+0x2d/0x40 [ 65.416786][ T7] do_syscall_64+0x60/0xe0 [ 65.421201][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.427108][ T7] [ 65.429441][ T7] Freed by task 7: [ 65.433170][ T7] save_stack+0x1b/0x40 [ 65.437330][ T7] __kasan_slab_free+0xf7/0x140 [ 65.442198][ T7] kfree+0x109/0x2b0 [ 65.446103][ T7] afs_put_call+0x585/0xa40 [ 65.450663][ T7] rxrpc_discard_prealloc+0x764/0xab0 [ 65.456036][ T7] rxrpc_listen+0x147/0x360 [ 65.460669][ T7] afs_close_socket+0x95/0x320 [ 65.465477][ T7] afs_net_exit+0x1bc/0x310 [ 65.469997][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 65.475123][ T7] cleanup_net+0x511/0xa50 [ 65.479557][ T7] process_one_work+0x965/0x1690 [ 65.484528][ T7] worker_thread+0x96/0xe10 [ 65.489042][ T7] kthread+0x3b5/0x4a0 [ 65.493131][ T7] ret_from_fork+0x1f/0x30 [ 65.497539][ T7] [ 65.499872][ T7] The buggy address belongs to the object at ffff8880934a2000 [ 65.499872][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 65.513933][ T7] The buggy address is located 484 bytes inside of [ 65.513933][ T7] 1024-byte region [ffff8880934a2000, ffff8880934a2400) [ 65.527301][ T7] The buggy address belongs to the page: [ 65.532949][ T7] page:ffffea00024d2880 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 65.542085][ T7] flags: 0xfffe0000000200(slab) [ 65.546953][ T7] raw: 00fffe0000000200 ffffea000291a388 ffffea00024d2808 ffff8880aa000c40 [ 65.555564][ T7] raw: 0000000000000000 ffff8880934a2000 0000000100000002 0000000000000000 [ 65.564142][ T7] page dumped because: kasan: bad access detected [ 65.570571][ T7] [ 65.572893][ T7] Memory state around the buggy address: [ 65.578521][ T7] ffff8880934a2080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.586583][ T7] ffff8880934a2100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.594645][ T7] >ffff8880934a2180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.602728][ T7] ^ [ 65.609919][ T7] ffff8880934a2200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.617989][ T7] ffff8880934a2280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.626246][ T7] ================================================================== [ 65.634313][ T7] Disabling lock debugging due to kernel taint [ 65.640528][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 65.647162][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 65.656709][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.666778][ T7] Workqueue: netns cleanup_net [ 65.671538][ T7] Call Trace: [ 65.674848][ T7] dump_stack+0x18f/0x20d [ 65.679202][ T7] ? afs_wake_up_async_call+0x680/0x770 [ 65.684748][ T7] ? afs_put_call+0xa40/0xa40 [ 65.689416][ T7] panic+0x2e3/0x75c [ 65.693347][ T7] ? __warn_printk+0xf3/0xf3 [ 65.697940][ T7] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 65.704139][ T7] ? trace_hardirqs_on+0x55/0x220 [ 65.709158][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.714693][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.720236][ T7] ? afs_put_call+0xa40/0xa40 [ 65.724907][ T7] end_report+0x4d/0x53 [ 65.729084][ T7] kasan_report.cold+0xd/0x37 [ 65.733757][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.739379][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.744916][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 65.750281][ T7] ? afs_close_socket+0x320/0x320 [ 65.755313][ T7] ? afs_put_call+0xa40/0xa40 [ 65.760089][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 65.765207][ T7] ? afs_put_call+0xa40/0xa40 [ 65.770000][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.776448][ T7] rxrpc_call_completed+0xca/0xf0 [ 65.781475][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 65.786843][ T7] ? lock_sock_nested+0x94/0x110 [ 65.791775][ T7] rxrpc_listen+0x147/0x360 [ 65.796270][ T7] afs_close_socket+0x95/0x320 [ 65.801025][ T7] ? afs_purge_servers+0x16d/0x300 [ 65.806214][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 65.811667][ T7] ? init_wait_var_entry+0x200/0x200 [ 65.816954][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.822589][ T7] ? check_preemption_disabled+0x38/0x220 [ 65.828314][ T7] afs_net_exit+0x1bc/0x310 [ 65.832831][ T7] ? afs_net_init+0xe30/0xe30 [ 65.837679][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 65.842785][ T7] cleanup_net+0x511/0xa50 [ 65.847197][ T7] ? unregister_pernet_device+0x70/0x70 [ 65.852743][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.858719][ T7] process_one_work+0x965/0x1690 [ 65.863698][ T7] ? lock_release+0x800/0x800 [ 65.868368][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.873730][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 65.878665][ T7] worker_thread+0x96/0xe10 [ 65.883167][ T7] ? process_one_work+0x1690/0x1690 [ 65.888357][ T7] kthread+0x3b5/0x4a0 [ 65.892420][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.898129][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.903844][ T7] ret_from_fork+0x1f/0x30 [ 65.909826][ T7] Kernel Offset: disabled [ 65.914152][ T7] Rebooting in 86400 seconds..