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.14' (ECDSA) to the list of known hosts. 2020/06/15 20:53:52 fuzzer started 2020/06/15 20:53:52 connecting to host at 10.128.0.26:33131 2020/06/15 20:53:52 checking machine... 2020/06/15 20:53:52 checking revisions... 2020/06/15 20:53:52 testing simple program... syzkaller login: [ 65.216899][ T6824] IPVS: ftp: loaded support on port[0] = 21 2020/06/15 20:53:52 building call list... [ 65.578910][ T26] tipc: TX() has been purged, node left! [ 66.081814][ T26] ================================================================== [ 66.090084][ T26] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 66.097974][ T26] Write of size 1 at addr ffff88809d94d9e4 by task kworker/u4:2/26 [ 66.105854][ T26] [ 66.108197][ T26] CPU: 1 PID: 26 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #0 [ 66.116482][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.126540][ T26] Workqueue: netns cleanup_net [ 66.131308][ T26] Call Trace: [ 66.134610][ T26] dump_stack+0x18f/0x20d [ 66.138975][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.144520][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.150242][ T26] ? afs_put_call+0xa40/0xa40 [ 66.154929][ T26] print_address_description.constprop.0.cold+0xd3/0x413 [ 66.161982][ T26] ? vprintk_func+0x97/0x1a6 [ 66.166608][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.172155][ T26] kasan_report.cold+0x1f/0x37 [ 66.176926][ T26] ? rcu_read_lock_held_common+0x51/0xa0 [ 66.182568][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.188121][ T26] afs_wake_up_async_call+0x6aa/0x770 [ 66.193504][ T26] ? afs_close_socket+0x320/0x320 [ 66.198534][ T26] ? afs_put_call+0xa40/0xa40 [ 66.203212][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 66.208332][ T26] ? afs_put_call+0xa40/0xa40 [ 66.213095][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 66.220145][ T26] rxrpc_call_completed+0xca/0xf0 [ 66.225211][ T26] rxrpc_discard_prealloc+0x781/0xab0 [ 66.230725][ T26] ? lock_sock_nested+0x94/0x110 [ 66.235707][ T26] rxrpc_listen+0x147/0x360 [ 66.240262][ T26] afs_close_socket+0x95/0x320 [ 66.245029][ T26] ? afs_purge_servers+0x16d/0x300 [ 66.250166][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 66.255647][ T26] ? init_wait_var_entry+0x200/0x200 [ 66.260938][ T26] ? rcu_read_lock_held_common+0xa0/0xa0 [ 66.266575][ T26] ? check_preemption_disabled+0x38/0x220 [ 66.272319][ T26] afs_net_exit+0x1bc/0x310 [ 66.276841][ T26] ? afs_net_init+0xe30/0xe30 [ 66.281517][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 66.286635][ T26] cleanup_net+0x511/0xa50 [ 66.291059][ T26] ? unregister_pernet_device+0x70/0x70 [ 66.296607][ T26] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 66.302598][ T26] process_one_work+0x965/0x1690 [ 66.307549][ T26] ? lock_release+0x800/0x800 [ 66.312233][ T26] ? pwq_dec_nr_in_flight+0x310/0x310 [ 66.317611][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 66.322570][ T26] worker_thread+0x96/0xe10 [ 66.327087][ T26] ? process_one_work+0x1690/0x1690 [ 66.332291][ T26] kthread+0x3b5/0x4a0 [ 66.336360][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.342077][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.347834][ T26] ret_from_fork+0x1f/0x30 [ 66.352272][ T26] [ 66.354597][ T26] Allocated by task 6824: [ 66.358925][ T26] save_stack+0x1b/0x40 [ 66.363089][ T26] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 66.368729][ T26] kmem_cache_alloc_trace+0x153/0x7d0 [ 66.374099][ T26] afs_alloc_call+0x55/0x630 [ 66.378705][ T26] afs_charge_preallocation+0xe9/0x2d0 [ 66.384163][ T26] afs_open_socket+0x292/0x360 [ 66.388924][ T26] afs_net_init+0xa6c/0xe30 [ 66.393433][ T26] ops_init+0xaf/0x420 [ 66.397505][ T26] setup_net+0x2de/0x860 [ 66.401749][ T26] copy_net_ns+0x293/0x590 [ 66.406161][ T26] create_new_namespaces+0x3fb/0xb30 [ 66.411446][ T26] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 66.417338][ T26] ksys_unshare+0x43d/0x8e0 [ 66.421838][ T26] __x64_sys_unshare+0x2d/0x40 [ 66.426598][ T26] do_syscall_64+0x60/0xe0 [ 66.431012][ T26] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 66.436892][ T26] [ 66.439218][ T26] Freed by task 26: [ 66.443030][ T26] save_stack+0x1b/0x40 [ 66.447183][ T26] __kasan_slab_free+0xf7/0x140 [ 66.452118][ T26] kfree+0x109/0x2b0 [ 66.456014][ T26] afs_put_call+0x585/0xa40 [ 66.460523][ T26] rxrpc_discard_prealloc+0x764/0xab0 [ 66.465893][ T26] rxrpc_listen+0x147/0x360 [ 66.470393][ T26] afs_close_socket+0x95/0x320 [ 66.475152][ T26] afs_net_exit+0x1bc/0x310 [ 66.479768][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 66.485604][ T26] cleanup_net+0x511/0xa50 [ 66.490021][ T26] process_one_work+0x965/0x1690 [ 66.494957][ T26] worker_thread+0x96/0xe10 [ 66.499458][ T26] kthread+0x3b5/0x4a0 [ 66.503526][ T26] ret_from_fork+0x1f/0x30 [ 66.507929][ T26] [ 66.510262][ T26] The buggy address belongs to the object at ffff88809d94d800 [ 66.510262][ T26] which belongs to the cache kmalloc-1k of size 1024 [ 66.524438][ T26] The buggy address is located 484 bytes inside of [ 66.524438][ T26] 1024-byte region [ffff88809d94d800, ffff88809d94dc00) [ 66.537817][ T26] The buggy address belongs to the page: [ 66.543460][ T26] page:ffffea0002765340 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 66.552565][ T26] flags: 0xfffe0000000200(slab) [ 66.557421][ T26] raw: 00fffe0000000200 ffffea000298e188 ffffea00027b6188 ffff8880aa000c40 [ 66.567311][ T26] raw: 0000000000000000 ffff88809d94d000 0000000100000002 0000000000000000 [ 66.575889][ T26] page dumped because: kasan: bad access detected [ 66.582295][ T26] [ 66.584629][ T26] Memory state around the buggy address: [ 66.590256][ T26] ffff88809d94d880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.598343][ T26] ffff88809d94d900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.606434][ T26] >ffff88809d94d980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.614505][ T26] ^ [ 66.621690][ T26] ffff88809d94da00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.629764][ T26] ffff88809d94da80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 66.637838][ T26] ================================================================== [ 66.645898][ T26] Disabling lock debugging due to kernel taint [ 66.652119][ T26] Kernel panic - not syncing: panic_on_warn set ... [ 66.658977][ T26] CPU: 1 PID: 26 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 66.668596][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.678670][ T26] Workqueue: netns cleanup_net [ 66.683438][ T26] Call Trace: [ 66.686750][ T26] dump_stack+0x18f/0x20d [ 66.691332][ T26] ? afs_wake_up_async_call+0x5d0/0x770 [ 66.697152][ T26] ? afs_put_call+0xa40/0xa40 [ 66.701840][ T26] panic+0x2e3/0x75c [ 66.705854][ T26] ? __warn_printk+0xf3/0xf3 [ 66.710441][ T26] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 66.716596][ T26] ? trace_hardirqs_on+0x55/0x220 [ 66.721630][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.727168][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.732707][ T26] ? afs_put_call+0xa40/0xa40 [ 66.737378][ T26] end_report+0x4d/0x53 [ 66.741530][ T26] kasan_report.cold+0xd/0x37 [ 66.746208][ T26] ? rcu_read_lock_held_common+0x51/0xa0 [ 66.751839][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 66.757382][ T26] afs_wake_up_async_call+0x6aa/0x770 [ 66.762748][ T26] ? afs_close_socket+0x320/0x320 [ 66.767770][ T26] ? afs_put_call+0xa40/0xa40 [ 66.772443][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 66.777550][ T26] ? afs_put_call+0xa40/0xa40 [ 66.782240][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 66.788668][ T26] rxrpc_call_completed+0xca/0xf0 [ 66.793810][ T26] rxrpc_discard_prealloc+0x781/0xab0 [ 66.799195][ T26] ? lock_sock_nested+0x94/0x110 [ 66.804141][ T26] rxrpc_listen+0x147/0x360 [ 66.808645][ T26] afs_close_socket+0x95/0x320 [ 66.813403][ T26] ? afs_purge_servers+0x16d/0x300 [ 66.818508][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 66.823986][ T26] ? init_wait_var_entry+0x200/0x200 [ 66.829268][ T26] ? rcu_read_lock_held_common+0xa0/0xa0 [ 66.834901][ T26] ? check_preemption_disabled+0x38/0x220 [ 66.840619][ T26] afs_net_exit+0x1bc/0x310 [ 66.845115][ T26] ? afs_net_init+0xe30/0xe30 [ 66.849881][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 66.854988][ T26] cleanup_net+0x511/0xa50 [ 66.859426][ T26] ? unregister_pernet_device+0x70/0x70 [ 66.864970][ T26] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 66.870952][ T26] process_one_work+0x965/0x1690 [ 66.875891][ T26] ? lock_release+0x800/0x800 [ 66.880577][ T26] ? pwq_dec_nr_in_flight+0x310/0x310 [ 66.885955][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 66.890899][ T26] worker_thread+0x96/0xe10 [ 66.895407][ T26] ? process_one_work+0x1690/0x1690 [ 66.900863][ T26] kthread+0x3b5/0x4a0 [ 66.904926][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.910638][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.916357][ T26] ret_from_fork+0x1f/0x30 [ 66.922131][ T26] Kernel Offset: disabled [ 66.926479][ T26] Rebooting in 86400 seconds..