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.33' (ECDSA) to the list of known hosts. 2020/06/19 00:22:26 fuzzer started 2020/06/19 00:22:26 connecting to host at 10.128.0.26:45825 2020/06/19 00:22:26 checking machine... 2020/06/19 00:22:26 checking revisions... 2020/06/19 00:22:26 testing simple program... syzkaller login: [ 59.487248][ T6824] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 00:22:26 building call list... [ 59.849262][ T57] tipc: TX() has been purged, node left! [ 60.361056][ T57] ================================================================== [ 60.369284][ T57] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 60.377179][ T57] Write of size 1 at addr ffff88809e8719e4 by task kworker/u4:2/57 [ 60.385057][ T57] [ 60.387384][ T57] CPU: 0 PID: 57 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-next-20200618-syzkaller #0 [ 60.396821][ T57] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.406877][ T57] Workqueue: netns cleanup_net [ 60.411628][ T57] Call Trace: [ 60.414916][ T57] dump_stack+0x18f/0x20d [ 60.419243][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.424782][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.430493][ T57] ? afs_put_call+0xa40/0xa40 [ 60.435252][ T57] print_address_description.constprop.0.cold+0xd3/0x413 [ 60.442277][ T57] ? vprintk_func+0x97/0x1a6 [ 60.446880][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.452419][ T57] kasan_report.cold+0x1f/0x37 [ 60.457188][ T57] ? rcu_read_lock_held_common+0x71/0xa0 [ 60.462897][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.468441][ T57] afs_wake_up_async_call+0x6aa/0x770 [ 60.473808][ T57] ? afs_close_socket+0x320/0x320 [ 60.478827][ T57] ? afs_put_call+0xa40/0xa40 [ 60.483523][ T57] rxrpc_notify_socket+0x1db/0x5d0 [ 60.488633][ T57] ? afs_put_call+0xa40/0xa40 [ 60.493303][ T57] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.499713][ T57] rxrpc_call_completed+0xca/0xf0 [ 60.504756][ T57] rxrpc_discard_prealloc+0x781/0xab0 [ 60.510155][ T57] ? lock_sock_nested+0x94/0x110 [ 60.515350][ T57] rxrpc_listen+0x147/0x360 [ 60.519850][ T57] afs_close_socket+0x95/0x320 [ 60.524611][ T57] ? afs_purge_servers+0x16d/0x300 [ 60.529727][ T57] ? afs_rx_discard_new_call+0x50/0x50 [ 60.535208][ T57] ? init_wait_var_entry+0x200/0x200 [ 60.540496][ T57] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.546135][ T57] ? check_preemption_disabled+0x38/0x220 [ 60.551902][ T57] afs_net_exit+0x1bc/0x310 [ 60.556422][ T57] ? afs_net_init+0xe30/0xe30 [ 60.561133][ T57] ops_exit_list.isra.0+0xa8/0x150 [ 60.566645][ T57] cleanup_net+0x511/0xa50 [ 60.571061][ T57] ? unregister_pernet_device+0x70/0x70 [ 60.576778][ T57] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 60.582772][ T57] process_one_work+0x965/0x1690 [ 60.587713][ T57] ? lock_release+0x800/0x800 [ 60.592386][ T57] ? pwq_dec_nr_in_flight+0x310/0x310 [ 60.597755][ T57] ? rwlock_bug.part.0+0x90/0x90 [ 60.602713][ T57] worker_thread+0x96/0xe10 [ 60.607225][ T57] ? process_one_work+0x1690/0x1690 [ 60.612418][ T57] kthread+0x3b5/0x4a0 [ 60.616480][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.622192][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.628258][ T57] ret_from_fork+0x1f/0x30 [ 60.632706][ T57] [ 60.635025][ T57] Allocated by task 6824: [ 60.639349][ T57] save_stack+0x1b/0x40 [ 60.643500][ T57] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 60.649131][ T57] kmem_cache_alloc_trace+0x153/0x7d0 [ 60.654505][ T57] afs_alloc_call+0x55/0x630 [ 60.659103][ T57] afs_charge_preallocation+0xe9/0x2d0 [ 60.664563][ T57] afs_open_socket+0x292/0x360 [ 60.669334][ T57] afs_net_init+0xa6c/0xe30 [ 60.673853][ T57] ops_init+0xaf/0x420 [ 60.677916][ T57] setup_net+0x2de/0x860 [ 60.682178][ T57] copy_net_ns+0x293/0x590 [ 60.686590][ T57] create_new_namespaces+0x3fb/0xb30 [ 60.691879][ T57] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.697507][ T57] ksys_unshare+0x445/0x8e0 [ 60.702006][ T57] __x64_sys_unshare+0x2d/0x40 [ 60.706768][ T57] do_syscall_64+0x60/0xe0 [ 60.711176][ T57] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 60.717054][ T57] [ 60.719374][ T57] Freed by task 57: [ 60.723176][ T57] save_stack+0x1b/0x40 [ 60.728024][ T57] __kasan_slab_free+0xf7/0x140 [ 60.733300][ T57] kfree+0x109/0x2b0 [ 60.737190][ T57] afs_put_call+0x585/0xa40 [ 60.741695][ T57] rxrpc_discard_prealloc+0x764/0xab0 [ 60.747063][ T57] rxrpc_listen+0x147/0x360 [ 60.751654][ T57] afs_close_socket+0x95/0x320 [ 60.756589][ T57] afs_net_exit+0x1bc/0x310 [ 60.761174][ T57] ops_exit_list.isra.0+0xa8/0x150 [ 60.766409][ T57] cleanup_net+0x511/0xa50 [ 60.770921][ T57] process_one_work+0x965/0x1690 [ 60.775850][ T57] worker_thread+0x96/0xe10 [ 60.780356][ T57] kthread+0x3b5/0x4a0 [ 60.784661][ T57] ret_from_fork+0x1f/0x30 [ 60.789070][ T57] [ 60.791398][ T57] The buggy address belongs to the object at ffff88809e871800 [ 60.791398][ T57] which belongs to the cache kmalloc-1k of size 1024 [ 60.806974][ T57] The buggy address is located 484 bytes inside of [ 60.806974][ T57] 1024-byte region [ffff88809e871800, ffff88809e871c00) [ 60.820360][ T57] The buggy address belongs to the page: [ 60.825993][ T57] page:ffffea00027a1c40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.835104][ T57] flags: 0xfffe0000000200(slab) [ 60.840395][ T57] raw: 00fffe0000000200 ffffea000252e108 ffffea00029b7208 ffff8880aa000c40 [ 60.848977][ T57] raw: 0000000000000000 ffff88809e871000 0000000100000002 0000000000000000 [ 60.857635][ T57] page dumped because: kasan: bad access detected [ 60.864032][ T57] [ 60.866352][ T57] Memory state around the buggy address: [ 60.871980][ T57] ffff88809e871880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.880130][ T57] ffff88809e871900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.888272][ T57] >ffff88809e871980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.896340][ T57] ^ [ 60.903531][ T57] ffff88809e871a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.911588][ T57] ffff88809e871a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.919655][ T57] ================================================================== [ 60.927704][ T57] Disabling lock debugging due to kernel taint [ 60.934051][ T57] Kernel panic - not syncing: panic_on_warn set ... [ 60.940817][ T57] CPU: 0 PID: 57 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-next-20200618-syzkaller #0 [ 60.951661][ T57] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.961715][ T57] Workqueue: netns cleanup_net [ 60.966464][ T57] Call Trace: [ 60.969816][ T57] dump_stack+0x18f/0x20d [ 60.974138][ T57] ? afs_wake_up_async_call+0x660/0x770 [ 60.979673][ T57] ? afs_put_call+0xa40/0xa40 [ 60.984362][ T57] panic+0x2e3/0x75c [ 60.988247][ T57] ? __warn_printk+0xf3/0xf3 [ 60.992827][ T57] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 60.998989][ T57] ? trace_hardirqs_on+0x55/0x220 [ 61.004009][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.009542][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.015094][ T57] ? afs_put_call+0xa40/0xa40 [ 61.019765][ T57] end_report+0x4d/0x53 [ 61.023912][ T57] kasan_report.cold+0xd/0x37 [ 61.028763][ T57] ? rcu_read_lock_held_common+0x71/0xa0 [ 61.034386][ T57] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.040015][ T57] afs_wake_up_async_call+0x6aa/0x770 [ 61.045386][ T57] ? afs_close_socket+0x320/0x320 [ 61.050408][ T57] ? afs_put_call+0xa40/0xa40 [ 61.055072][ T57] rxrpc_notify_socket+0x1db/0x5d0 [ 61.060176][ T57] ? afs_put_call+0xa40/0xa40 [ 61.064843][ T57] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.071245][ T57] rxrpc_call_completed+0xca/0xf0 [ 61.076260][ T57] rxrpc_discard_prealloc+0x781/0xab0 [ 61.081645][ T57] ? lock_sock_nested+0x94/0x110 [ 61.086569][ T57] rxrpc_listen+0x147/0x360 [ 61.091076][ T57] afs_close_socket+0x95/0x320 [ 61.095839][ T57] ? afs_purge_servers+0x16d/0x300 [ 61.100949][ T57] ? afs_rx_discard_new_call+0x50/0x50 [ 61.106407][ T57] ? init_wait_var_entry+0x200/0x200 [ 61.111690][ T57] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.117320][ T57] ? check_preemption_disabled+0x38/0x220 [ 61.123476][ T57] afs_net_exit+0x1bc/0x310 [ 61.127993][ T57] ? afs_net_init+0xe30/0xe30 [ 61.132670][ T57] ops_exit_list.isra.0+0xa8/0x150 [ 61.137872][ T57] cleanup_net+0x511/0xa50 [ 61.142300][ T57] ? unregister_pernet_device+0x70/0x70 [ 61.147860][ T57] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.153843][ T57] process_one_work+0x965/0x1690 [ 61.158792][ T57] ? lock_release+0x800/0x800 [ 61.163477][ T57] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.168847][ T57] ? rwlock_bug.part.0+0x90/0x90 [ 61.173795][ T57] worker_thread+0x96/0xe10 [ 61.178312][ T57] ? process_one_work+0x1690/0x1690 [ 61.183512][ T57] kthread+0x3b5/0x4a0 [ 61.187574][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.194936][ T57] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.200654][ T57] ret_from_fork+0x1f/0x30 [ 61.206530][ T57] Kernel Offset: disabled [ 61.211194][ T57] Rebooting in 86400 seconds..