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.10.0' (ECDSA) to the list of known hosts. 2020/06/19 03:29:38 fuzzer started 2020/06/19 03:29:38 connecting to host at 10.128.0.26:39315 2020/06/19 03:29:38 checking machine... 2020/06/19 03:29:38 checking revisions... 2020/06/19 03:29:38 testing simple program... syzkaller login: [ 61.046737][ T6823] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 03:29:39 building call list... [ 61.386660][ T49] tipc: TX() has been purged, node left! [ 61.908885][ T49] ================================================================== [ 61.917151][ T49] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.925039][ T49] Write of size 1 at addr ffff88809393b1e4 by task kworker/u4:3/49 [ 61.932919][ T49] [ 61.935252][ T49] CPU: 1 PID: 49 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-syzkaller #0 [ 61.943482][ T49] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.953561][ T49] Workqueue: netns cleanup_net [ 61.958319][ T49] Call Trace: [ 61.961615][ T49] dump_stack+0x18f/0x20d [ 61.965948][ T49] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.971491][ T49] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.977033][ T49] ? afs_put_call+0xa40/0xa40 [ 61.981710][ T49] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.988744][ T49] ? vprintk_func+0x97/0x1a6 [ 61.993344][ T49] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.998888][ T49] kasan_report.cold+0x1f/0x37 [ 62.003832][ T49] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.009470][ T49] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.015021][ T49] afs_wake_up_async_call+0x6aa/0x770 [ 62.020393][ T49] ? afs_close_socket+0x320/0x320 [ 62.025610][ T49] ? afs_put_call+0xa40/0xa40 [ 62.031085][ T49] rxrpc_notify_socket+0x1db/0x5d0 [ 62.036222][ T49] ? afs_put_call+0xa40/0xa40 [ 62.040898][ T49] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.047317][ T49] rxrpc_call_completed+0xca/0xf0 [ 62.052349][ T49] rxrpc_discard_prealloc+0x781/0xab0 [ 62.057819][ T49] ? lock_sock_nested+0x94/0x110 [ 62.062797][ T49] rxrpc_listen+0x147/0x360 [ 62.067302][ T49] afs_close_socket+0x95/0x320 [ 62.072063][ T49] ? afs_purge_servers+0x16d/0x300 [ 62.077176][ T49] ? afs_rx_discard_new_call+0x50/0x50 [ 62.082661][ T49] ? init_wait_var_entry+0x200/0x200 [ 62.091598][ T49] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.097232][ T49] ? check_preemption_disabled+0x38/0x220 [ 62.103061][ T49] afs_net_exit+0x1bc/0x310 [ 62.107571][ T49] ? afs_net_init+0xe30/0xe30 [ 62.112279][ T49] ops_exit_list.isra.0+0xa8/0x150 [ 62.117838][ T49] cleanup_net+0x511/0xa50 [ 62.122285][ T49] ? unregister_pernet_device+0x70/0x70 [ 62.127840][ T49] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.133829][ T49] process_one_work+0x965/0x1690 [ 62.138779][ T49] ? lock_release+0x800/0x800 [ 62.143456][ T49] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.149008][ T49] ? rwlock_bug.part.0+0x90/0x90 [ 62.154046][ T49] worker_thread+0x96/0xe10 [ 62.158589][ T49] ? process_one_work+0x1690/0x1690 [ 62.164396][ T49] kthread+0x3b5/0x4a0 [ 62.168467][ T49] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.174184][ T49] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.179908][ T49] ret_from_fork+0x1f/0x30 [ 62.184336][ T49] [ 62.186658][ T49] Allocated by task 6823: [ 62.190986][ T49] save_stack+0x1b/0x40 [ 62.195139][ T49] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.200767][ T49] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.206135][ T49] afs_alloc_call+0x55/0x630 [ 62.210807][ T49] afs_charge_preallocation+0xe9/0x2d0 [ 62.216259][ T49] afs_open_socket+0x292/0x360 [ 62.221023][ T49] afs_net_init+0xa6c/0xe30 [ 62.225521][ T49] ops_init+0xaf/0x420 [ 62.229592][ T49] setup_net+0x2de/0x860 [ 62.233832][ T49] copy_net_ns+0x293/0x590 [ 62.238247][ T49] create_new_namespaces+0x3fb/0xb30 [ 62.243532][ T49] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.249165][ T49] ksys_unshare+0x43d/0x8e0 [ 62.253670][ T49] __x64_sys_unshare+0x2d/0x40 [ 62.258433][ T49] do_syscall_64+0x60/0xe0 [ 62.262867][ T49] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.268757][ T49] [ 62.271083][ T49] Freed by task 49: [ 62.274897][ T49] save_stack+0x1b/0x40 [ 62.279053][ T49] __kasan_slab_free+0xf7/0x140 [ 62.283900][ T49] kfree+0x109/0x2b0 [ 62.287968][ T49] afs_put_call+0x585/0xa40 [ 62.292495][ T49] rxrpc_discard_prealloc+0x764/0xab0 [ 62.298648][ T49] rxrpc_listen+0x147/0x360 [ 62.303147][ T49] afs_close_socket+0x95/0x320 [ 62.307903][ T49] afs_net_exit+0x1bc/0x310 [ 62.312428][ T49] ops_exit_list.isra.0+0xa8/0x150 [ 62.317530][ T49] cleanup_net+0x511/0xa50 [ 62.321944][ T49] process_one_work+0x965/0x1690 [ 62.326898][ T49] worker_thread+0x96/0xe10 [ 62.331409][ T49] kthread+0x3b5/0x4a0 [ 62.335495][ T49] ret_from_fork+0x1f/0x30 [ 62.339907][ T49] [ 62.342235][ T49] The buggy address belongs to the object at ffff88809393b000 [ 62.342235][ T49] which belongs to the cache kmalloc-1k of size 1024 [ 62.356302][ T49] The buggy address is located 484 bytes inside of [ 62.356302][ T49] 1024-byte region [ffff88809393b000, ffff88809393b400) [ 62.369660][ T49] The buggy address belongs to the page: [ 62.375296][ T49] page:ffffea00024e4ec0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.384396][ T49] flags: 0xfffe0000000200(slab) [ 62.389360][ T49] raw: 00fffe0000000200 ffffea00029ed1c8 ffffea0002490088 ffff8880aa000c40 [ 62.397945][ T49] raw: 0000000000000000 ffff88809393b000 0000000100000002 0000000000000000 [ 62.406525][ T49] page dumped because: kasan: bad access detected [ 62.412934][ T49] [ 62.415270][ T49] Memory state around the buggy address: [ 62.420912][ T49] ffff88809393b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.428988][ T49] ffff88809393b100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.437053][ T49] >ffff88809393b180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.445110][ T49] ^ [ 62.453020][ T49] ffff88809393b200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.461094][ T49] ffff88809393b280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.469220][ T49] ================================================================== [ 62.477387][ T49] Disabling lock debugging due to kernel taint [ 62.483602][ T49] Kernel panic - not syncing: panic_on_warn set ... [ 62.490217][ T49] CPU: 1 PID: 49 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.499841][ T49] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.509921][ T49] Workqueue: netns cleanup_net [ 62.514936][ T49] Call Trace: [ 62.518223][ T49] dump_stack+0x18f/0x20d [ 62.522552][ T49] ? afs_wake_up_async_call+0x680/0x770 [ 62.528093][ T49] ? afs_put_call+0xa40/0xa40 [ 62.532965][ T49] panic+0x2e3/0x75c [ 62.536862][ T49] ? __warn_printk+0xf3/0xf3 [ 62.541451][ T49] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.547605][ T49] ? trace_hardirqs_on+0x55/0x220 [ 62.552722][ T49] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.558395][ T49] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.563934][ T49] ? afs_put_call+0xa40/0xa40 [ 62.568605][ T49] end_report+0x4d/0x53 [ 62.572777][ T49] kasan_report.cold+0xd/0x37 [ 62.577451][ T49] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.583101][ T49] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.588645][ T49] afs_wake_up_async_call+0x6aa/0x770 [ 62.594010][ T49] ? afs_close_socket+0x320/0x320 [ 62.599024][ T49] ? afs_put_call+0xa40/0xa40 [ 62.603695][ T49] rxrpc_notify_socket+0x1db/0x5d0 [ 62.608818][ T49] ? afs_put_call+0xa40/0xa40 [ 62.613516][ T49] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.619922][ T49] rxrpc_call_completed+0xca/0xf0 [ 62.625115][ T49] rxrpc_discard_prealloc+0x781/0xab0 [ 62.630479][ T49] ? lock_sock_nested+0x94/0x110 [ 62.635418][ T49] rxrpc_listen+0x147/0x360 [ 62.639913][ T49] afs_close_socket+0x95/0x320 [ 62.644688][ T49] ? afs_purge_servers+0x16d/0x300 [ 62.649790][ T49] ? afs_rx_discard_new_call+0x50/0x50 [ 62.655262][ T49] ? init_wait_var_entry+0x200/0x200 [ 62.660555][ T49] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.666177][ T49] ? check_preemption_disabled+0x38/0x220 [ 62.671885][ T49] afs_net_exit+0x1bc/0x310 [ 62.676389][ T49] ? afs_net_init+0xe30/0xe30 [ 62.681059][ T49] ops_exit_list.isra.0+0xa8/0x150 [ 62.686160][ T49] cleanup_net+0x511/0xa50 [ 62.690571][ T49] ? unregister_pernet_device+0x70/0x70 [ 62.696545][ T49] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.702527][ T49] process_one_work+0x965/0x1690 [ 62.708243][ T49] ? lock_release+0x800/0x800 [ 62.712912][ T49] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.718289][ T49] ? rwlock_bug.part.0+0x90/0x90 [ 62.723221][ T49] worker_thread+0x96/0xe10 [ 62.727721][ T49] ? process_one_work+0x1690/0x1690 [ 62.732908][ T49] kthread+0x3b5/0x4a0 [ 62.736969][ T49] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.742678][ T49] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.748390][ T49] ret_from_fork+0x1f/0x30 [ 62.753438][ T49] Kernel Offset: disabled [ 62.757755][ T49] Rebooting in 86400 seconds..