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.1.27' (ECDSA) to the list of known hosts. 2020/06/19 01:54:43 fuzzer started 2020/06/19 01:54:43 connecting to host at 10.128.0.26:36597 2020/06/19 01:54:43 checking machine... 2020/06/19 01:54:43 checking revisions... 2020/06/19 01:54:43 testing simple program... syzkaller login: [ 63.924299][ T6840] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 01:54:43 building call list... [ 64.251598][ T217] tipc: TX() has been purged, node left! [ 64.793720][ T217] ================================================================== [ 64.801983][ T217] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 64.809892][ T217] Write of size 1 at addr ffff8880a88bc1e4 by task kworker/u4:5/217 [ 64.817852][ T217] [ 64.820210][ T217] CPU: 0 PID: 217 Comm: kworker/u4:5 Not tainted 5.8.0-rc1-syzkaller #0 [ 64.828609][ T217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.838754][ T217] Workqueue: netns cleanup_net [ 64.843509][ T217] Call Trace: [ 64.846889][ T217] dump_stack+0x18f/0x20d [ 64.851219][ T217] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.856761][ T217] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.862572][ T217] ? afs_put_call+0xa40/0xa40 [ 64.867248][ T217] print_address_description.constprop.0.cold+0xd3/0x413 [ 64.874273][ T217] ? vprintk_func+0x97/0x1a6 [ 64.878864][ T217] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.884408][ T217] kasan_report.cold+0x1f/0x37 [ 64.889171][ T217] ? rcu_read_lock_held_common+0x51/0xa0 [ 64.894824][ T217] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.900460][ T217] afs_wake_up_async_call+0x6aa/0x770 [ 64.905830][ T217] ? afs_close_socket+0x320/0x320 [ 64.910853][ T217] ? afs_put_call+0xa40/0xa40 [ 64.915528][ T217] rxrpc_notify_socket+0x1db/0x5d0 [ 64.920642][ T217] ? afs_put_call+0xa40/0xa40 [ 64.925661][ T217] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 64.932173][ T217] rxrpc_call_completed+0xca/0xf0 [ 64.937198][ T217] rxrpc_discard_prealloc+0x781/0xab0 [ 64.942573][ T217] ? lock_sock_nested+0x94/0x110 [ 64.948771][ T217] rxrpc_listen+0x147/0x360 [ 64.953275][ T217] afs_close_socket+0x95/0x320 [ 64.958036][ T217] ? afs_purge_servers+0x16d/0x300 [ 64.963252][ T217] ? afs_rx_discard_new_call+0x50/0x50 [ 64.968718][ T217] ? init_wait_var_entry+0x200/0x200 [ 64.974369][ T217] ? rcu_read_lock_held_common+0xa0/0xa0 [ 64.980097][ T217] ? check_preemption_disabled+0x38/0x220 [ 64.985821][ T217] afs_net_exit+0x1bc/0x310 [ 64.990325][ T217] ? afs_net_init+0xe30/0xe30 [ 64.994999][ T217] ops_exit_list.isra.0+0xa8/0x150 [ 65.000119][ T217] cleanup_net+0x511/0xa50 [ 65.004539][ T217] ? unregister_pernet_device+0x70/0x70 [ 65.010089][ T217] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.016078][ T217] process_one_work+0x965/0x1690 [ 65.021031][ T217] ? lock_release+0x800/0x800 [ 65.025805][ T217] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.031190][ T217] ? rwlock_bug.part.0+0x90/0x90 [ 65.036146][ T217] worker_thread+0x96/0xe10 [ 65.040827][ T217] ? process_one_work+0x1690/0x1690 [ 65.046028][ T217] kthread+0x3b5/0x4a0 [ 65.050102][ T217] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.055817][ T217] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.061549][ T217] ret_from_fork+0x1f/0x30 [ 65.065977][ T217] [ 65.068299][ T217] Allocated by task 6840: [ 65.072628][ T217] save_stack+0x1b/0x40 [ 65.076783][ T217] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 65.082419][ T217] kmem_cache_alloc_trace+0x153/0x7d0 [ 65.087962][ T217] afs_alloc_call+0x55/0x630 [ 65.092553][ T217] afs_charge_preallocation+0xe9/0x2d0 [ 65.098012][ T217] afs_open_socket+0x292/0x360 [ 65.102771][ T217] afs_net_init+0xa6c/0xe30 [ 65.107270][ T217] ops_init+0xaf/0x420 [ 65.111357][ T217] setup_net+0x2de/0x860 [ 65.115594][ T217] copy_net_ns+0x293/0x590 [ 65.120009][ T217] create_new_namespaces+0x3fb/0xb30 [ 65.125301][ T217] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 65.131276][ T217] ksys_unshare+0x43d/0x8e0 [ 65.136166][ T217] __x64_sys_unshare+0x2d/0x40 [ 65.141030][ T217] do_syscall_64+0x60/0xe0 [ 65.145448][ T217] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.151336][ T217] [ 65.153656][ T217] Freed by task 217: [ 65.157552][ T217] save_stack+0x1b/0x40 [ 65.161707][ T217] __kasan_slab_free+0xf7/0x140 [ 65.166566][ T217] kfree+0x109/0x2b0 [ 65.170460][ T217] afs_put_call+0x585/0xa40 [ 65.174967][ T217] rxrpc_discard_prealloc+0x764/0xab0 [ 65.180352][ T217] rxrpc_listen+0x147/0x360 [ 65.184852][ T217] afs_close_socket+0x95/0x320 [ 65.189610][ T217] afs_net_exit+0x1bc/0x310 [ 65.194116][ T217] ops_exit_list.isra.0+0xa8/0x150 [ 65.199228][ T217] cleanup_net+0x511/0xa50 [ 65.204768][ T217] process_one_work+0x965/0x1690 [ 65.209707][ T217] worker_thread+0x96/0xe10 [ 65.214838][ T217] kthread+0x3b5/0x4a0 [ 65.218916][ T217] ret_from_fork+0x1f/0x30 [ 65.223509][ T217] [ 65.225928][ T217] The buggy address belongs to the object at ffff8880a88bc000 [ 65.225928][ T217] which belongs to the cache kmalloc-1k of size 1024 [ 65.240729][ T217] The buggy address is located 484 bytes inside of [ 65.240729][ T217] 1024-byte region [ffff8880a88bc000, ffff8880a88bc400) [ 65.254077][ T217] The buggy address belongs to the page: [ 65.259705][ T217] page:ffffea0002a22f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 65.269349][ T217] flags: 0xfffe0000000200(slab) [ 65.274203][ T217] raw: 00fffe0000000200 ffffea00029ce288 ffffea00029fe188 ffff8880aa000c40 [ 65.282797][ T217] raw: 0000000000000000 ffff8880a88bc000 0000000100000002 0000000000000000 [ 65.291365][ T217] page dumped because: kasan: bad access detected [ 65.297768][ T217] [ 65.300089][ T217] Memory state around the buggy address: [ 65.305831][ T217] ffff8880a88bc080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.313897][ T217] ffff8880a88bc100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.323098][ T217] >ffff8880a88bc180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.331162][ T217] ^ [ 65.338364][ T217] ffff8880a88bc200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.346433][ T217] ffff8880a88bc280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.355005][ T217] ================================================================== [ 65.363051][ T217] Disabling lock debugging due to kernel taint [ 65.369445][ T217] Kernel panic - not syncing: panic_on_warn set ... [ 65.376034][ T217] CPU: 0 PID: 217 Comm: kworker/u4:5 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 65.385742][ T217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.396064][ T217] Workqueue: netns cleanup_net [ 65.400813][ T217] Call Trace: [ 65.404104][ T217] dump_stack+0x18f/0x20d [ 65.408445][ T217] ? afs_wake_up_async_call+0x670/0x770 [ 65.414045][ T217] ? afs_put_call+0xa40/0xa40 [ 65.418724][ T217] panic+0x2e3/0x75c [ 65.422634][ T217] ? __warn_printk+0xf3/0xf3 [ 65.427227][ T217] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 65.433468][ T217] ? trace_hardirqs_on+0x55/0x220 [ 65.438484][ T217] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.444016][ T217] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.449559][ T217] ? afs_put_call+0xa40/0xa40 [ 65.454241][ T217] end_report+0x4d/0x53 [ 65.458394][ T217] kasan_report.cold+0xd/0x37 [ 65.463080][ T217] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.468854][ T217] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.474500][ T217] afs_wake_up_async_call+0x6aa/0x770 [ 65.479875][ T217] ? afs_close_socket+0x320/0x320 [ 65.484991][ T217] ? afs_put_call+0xa40/0xa40 [ 65.489668][ T217] rxrpc_notify_socket+0x1db/0x5d0 [ 65.494783][ T217] ? afs_put_call+0xa40/0xa40 [ 65.499482][ T217] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.506072][ T217] rxrpc_call_completed+0xca/0xf0 [ 65.511207][ T217] rxrpc_discard_prealloc+0x781/0xab0 [ 65.516565][ T217] ? lock_sock_nested+0x94/0x110 [ 65.521501][ T217] rxrpc_listen+0x147/0x360 [ 65.526011][ T217] afs_close_socket+0x95/0x320 [ 65.531200][ T217] ? afs_purge_servers+0x16d/0x300 [ 65.536747][ T217] ? afs_rx_discard_new_call+0x50/0x50 [ 65.542207][ T217] ? init_wait_var_entry+0x200/0x200 [ 65.547619][ T217] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.553252][ T217] ? check_preemption_disabled+0x38/0x220 [ 65.559494][ T217] afs_net_exit+0x1bc/0x310 [ 65.564008][ T217] ? afs_net_init+0xe30/0xe30 [ 65.568680][ T217] ops_exit_list.isra.0+0xa8/0x150 [ 65.573876][ T217] cleanup_net+0x511/0xa50 [ 65.578282][ T217] ? unregister_pernet_device+0x70/0x70 [ 65.583835][ T217] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.590167][ T217] process_one_work+0x965/0x1690 [ 65.595118][ T217] ? lock_release+0x800/0x800 [ 65.599907][ T217] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.605292][ T217] ? rwlock_bug.part.0+0x90/0x90 [ 65.610232][ T217] worker_thread+0x96/0xe10 [ 65.614738][ T217] ? process_one_work+0x1690/0x1690 [ 65.619914][ T217] kthread+0x3b5/0x4a0 [ 65.623971][ T217] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.629710][ T217] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.635503][ T217] ret_from_fork+0x1f/0x30 [ 65.641164][ T217] Kernel Offset: disabled [ 65.645607][ T217] Rebooting in 86400 seconds..