Warning: Permanently added '[localhost]:51727' (ECDSA) to the list of known hosts. syzkaller login: [ 101.810136][ T40] kauditd_printk_skb: 7 callbacks suppressed [ 101.812225][ T40] audit: type=1400 audit(1592958568.075:42): avc: denied { map } for pid=9018 comm="syz-fuzzer" path="/syz-fuzzer" dev="sda1" ino=16525 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 2020/06/24 00:29:28 fuzzer started 2020/06/24 00:29:28 connecting to host at 10.0.2.10:43251 2020/06/24 00:29:28 checking machine... 2020/06/24 00:29:28 checking revisions... [ 102.204166][ T40] audit: type=1400 audit(1592958568.465:43): avc: denied { integrity } for pid=9018 comm="syz-fuzzer" lockdown_reason="debugfs access" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=lockdown permissive=1 2020/06/24 00:29:28 testing simple program... [ 102.241684][ T40] audit: type=1400 audit(1592958568.475:44): avc: denied { map } for pid=9018 comm="syz-fuzzer" path="/sys/kernel/debug/kcov" dev="debugfs" ino=3109 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 [ 102.886749][ T9039] IPVS: ftp: loaded support on port[0] = 21 2020/06/24 00:29:29 building call list... [ 103.478933][ T1808] tipc: TX() has been purged, node left! [ 104.232055][ T1808] ================================================================== [ 104.254282][ T1808] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 104.298400][ T1808] Write of size 1 at addr ffff88802753c9e4 by task kworker/u16:1/1808 [ 104.298400][ T1808] [ 104.298400][ T1808] CPU: 1 PID: 1808 Comm: kworker/u16:1 Not tainted 5.8.0-rc2-syzkaller #0 [ 104.298400][ T1808] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 [ 104.298400][ T1808] Workqueue: netns cleanup_net [ 104.298400][ T1808] Call Trace: [ 104.298400][ T1808] dump_stack+0x18f/0x20d [ 104.298400][ T1808] ? afs_wake_up_async_call+0x6aa/0x770 [ 104.298400][ T1808] ? afs_wake_up_async_call+0x6aa/0x770 [ 104.298400][ T1808] ? afs_put_call+0xa40/0xa40 [ 104.298400][ T1808] print_address_description.constprop.0.cold+0xd3/0x413 [ 104.298400][ T1808] ? vprintk_func+0x97/0x1a6 [ 104.298400][ T1808] ? afs_wake_up_async_call+0x6aa/0x770 [ 104.298400][ T1808] kasan_report.cold+0x1f/0x37 [ 104.298400][ T1808] ? rcu_read_lock_held_common+0x71/0xa0 [ 104.298400][ T1808] ? afs_wake_up_async_call+0x6aa/0x770 [ 104.298400][ T1808] afs_wake_up_async_call+0x6aa/0x770 [ 104.298400][ T1808] ? afs_close_socket+0x320/0x320 [ 104.298400][ T1808] ? afs_put_call+0xa40/0xa40 [ 104.298400][ T1808] rxrpc_notify_socket+0x1db/0x5d0 [ 104.298400][ T1808] ? afs_put_call+0xa40/0xa40 [ 104.298400][ T1808] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 104.298400][ T1808] rxrpc_call_completed+0xca/0xf0 [ 104.298400][ T1808] rxrpc_discard_prealloc+0x781/0xab0 [ 104.298400][ T1808] rxrpc_listen+0x147/0x360 [ 104.298400][ T1808] afs_close_socket+0x95/0x320 [ 104.298400][ T1808] ? afs_purge_servers+0x181/0x330 [ 104.298400][ T1808] ? afs_rx_discard_new_call+0x50/0x50 [ 104.298400][ T1808] ? init_wait_var_entry+0x200/0x200 [ 104.298400][ T1808] afs_net_exit+0x1c4/0x310 [ 104.298400][ T1808] ? afs_net_init+0xe90/0xe90 [ 104.298400][ T1808] ops_exit_list.isra.0+0xa8/0x150 [ 104.298400][ T1808] cleanup_net+0x511/0xa50 [ 104.298400][ T1808] ? unregister_pernet_device+0x70/0x70 [ 104.298400][ T1808] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 104.298400][ T1808] process_one_work+0x965/0x1690 [ 104.298400][ T1808] ? lock_release+0x800/0x800 [ 104.298400][ T1808] ? pwq_dec_nr_in_flight+0x310/0x310 [ 104.298400][ T1808] ? rwlock_bug.part.0+0x90/0x90 [ 104.298400][ T1808] worker_thread+0x96/0xe10 [ 104.298400][ T1808] ? process_one_work+0x1690/0x1690 [ 104.298400][ T1808] kthread+0x3b5/0x4a0 [ 104.298400][ T1808] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 104.298400][ T1808] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 104.298400][ T1808] ret_from_fork+0x1f/0x30 [ 104.298400][ T1808] [ 104.298400][ T1808] Allocated by task 9039: [ 104.298400][ T1808] save_stack+0x1b/0x40 [ 104.298400][ T1808] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 104.298400][ T1808] kmem_cache_alloc_trace+0x153/0x7d0 [ 104.298400][ T1808] afs_alloc_call+0x55/0x630 [ 104.298400][ T1808] afs_charge_preallocation+0xe9/0x2d0 [ 104.298400][ T1808] afs_open_socket+0x292/0x360 [ 104.298400][ T1808] afs_net_init+0xab4/0xe90 [ 104.298400][ T1808] ops_init+0xaf/0x420 [ 104.298400][ T1808] setup_net+0x2de/0x860 [ 104.298400][ T1808] copy_net_ns+0x293/0x590 [ 104.298400][ T1808] create_new_namespaces+0x3fb/0xb30 [ 104.298400][ T1808] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 104.298400][ T1808] ksys_unshare+0x43d/0x8e0 [ 104.298400][ T1808] __x64_sys_unshare+0x2d/0x40 [ 104.298400][ T1808] do_syscall_64+0x60/0xe0 [ 104.298400][ T1808] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 104.298400][ T1808] [ 104.298400][ T1808] Freed by task 1808: [ 104.298400][ T1808] save_stack+0x1b/0x40 [ 104.298400][ T1808] __kasan_slab_free+0xf7/0x140 [ 104.298400][ T1808] kfree+0x109/0x2b0 [ 104.298400][ T1808] afs_put_call+0x585/0xa40 [ 104.298400][ T1808] rxrpc_discard_prealloc+0x764/0xab0 [ 104.298400][ T1808] rxrpc_listen+0x147/0x360 [ 104.298400][ T1808] afs_close_socket+0x95/0x320 [ 104.298400][ T1808] afs_net_exit+0x1c4/0x310 [ 104.298400][ T1808] ops_exit_list.isra.0+0xa8/0x150 [ 104.298400][ T1808] cleanup_net+0x511/0xa50 [ 104.298400][ T1808] process_one_work+0x965/0x1690 [ 104.298400][ T1808] worker_thread+0x96/0xe10 [ 104.298400][ T1808] kthread+0x3b5/0x4a0 [ 104.298400][ T1808] ret_from_fork+0x1f/0x30 [ 104.298400][ T1808] [ 104.298400][ T1808] The buggy address belongs to the object at ffff88802753c800 [ 104.298400][ T1808] which belongs to the cache kmalloc-1k of size 1024 [ 104.298400][ T1808] The buggy address is located 484 bytes inside of [ 104.298400][ T1808] 1024-byte region [ffff88802753c800, ffff88802753cc00) [ 104.298400][ T1808] The buggy address belongs to the page: [ 104.298400][ T1808] page:ffffea00009d4f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 104.298400][ T1808] flags: 0xfffe0000000200(slab) [ 104.298400][ T1808] raw: 00fffe0000000200 ffffea00009de808 ffffea00009d4f48 ffff88802c800c40 [ 104.298400][ T1808] raw: 0000000000000000 ffff88802753c000 0000000100000002 0000000000000000 [ 104.298400][ T1808] page dumped because: kasan: bad access detected [ 104.298400][ T1808] [ 104.298400][ T1808] Memory state around the buggy address: [ 104.298400][ T1808] ffff88802753c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 104.298400][ T1808] ffff88802753c900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 104.298400][ T1808] >ffff88802753c980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 104.298400][ T1808] ^ [ 104.298400][ T1808] ffff88802753ca00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 104.298400][ T1808] ffff88802753ca80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 104.298400][ T1808] ================================================================== [ 104.298400][ T1808] Disabling lock debugging due to kernel taint [ 105.370983][ T1808] Kernel panic - not syncing: panic_on_warn set ... [ 105.380365][ T1808] CPU: 1 PID: 1808 Comm: kworker/u16:1 Tainted: G B 5.8.0-rc2-syzkaller #0 [ 105.380365][ T1808] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 [ 105.380365][ T1808] Workqueue: netns cleanup_net [ 105.380365][ T1808] Call Trace: [ 105.380365][ T1808] dump_stack+0x18f/0x20d [ 105.380365][ T1808] ? afs_wake_up_async_call+0x5e0/0x770 [ 105.380365][ T1808] ? afs_put_call+0xa40/0xa40 [ 105.380365][ T1808] panic+0x2e3/0x75c [ 105.380365][ T1808] ? __warn_printk+0xf3/0xf3 [ 105.380365][ T1808] ? asm_common_interrupt+0x1e/0x40 [ 105.380365][ T1808] ? trace_hardirqs_on+0x55/0x220 [ 105.380365][ T1808] ? afs_wake_up_async_call+0x6aa/0x770 [ 105.380365][ T1808] ? afs_wake_up_async_call+0x6aa/0x770 [ 105.380365][ T1808] ? afs_put_call+0xa40/0xa40 [ 105.380365][ T1808] end_report+0x4d/0x53 [ 105.380365][ T1808] kasan_report.cold+0xd/0x37 [ 105.380365][ T1808] ? rcu_read_lock_held_common+0x71/0xa0 [ 105.380365][ T1808] ? afs_wake_up_async_call+0x6aa/0x770 [ 105.380365][ T1808] afs_wake_up_async_call+0x6aa/0x770 [ 105.380365][ T1808] ? afs_close_socket+0x320/0x320 [ 105.380365][ T1808] ? afs_put_call+0xa40/0xa40 [ 105.380365][ T1808] rxrpc_notify_socket+0x1db/0x5d0 [ 105.380365][ T1808] ? afs_put_call+0xa40/0xa40 [ 105.380365][ T1808] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 105.380365][ T1808] rxrpc_call_completed+0xca/0xf0 [ 105.380365][ T1808] rxrpc_discard_prealloc+0x781/0xab0 [ 105.380365][ T1808] rxrpc_listen+0x147/0x360 [ 105.380365][ T1808] afs_close_socket+0x95/0x320 [ 105.380365][ T1808] ? afs_purge_servers+0x181/0x330 [ 105.380365][ T1808] ? afs_rx_discard_new_call+0x50/0x50 [ 105.380365][ T1808] ? init_wait_var_entry+0x200/0x200 [ 105.380365][ T1808] afs_net_exit+0x1c4/0x310 [ 105.380365][ T1808] ? afs_net_init+0xe90/0xe90 [ 105.380365][ T1808] ops_exit_list.isra.0+0xa8/0x150 [ 105.380365][ T1808] cleanup_net+0x511/0xa50 [ 105.380365][ T1808] ? unregister_pernet_device+0x70/0x70 [ 105.380365][ T1808] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 105.380365][ T1808] process_one_work+0x965/0x1690 [ 105.380365][ T1808] ? lock_release+0x800/0x800 [ 105.380365][ T1808] ? pwq_dec_nr_in_flight+0x310/0x310 [ 105.380365][ T1808] ? rwlock_bug.part.0+0x90/0x90 [ 105.380365][ T1808] worker_thread+0x96/0xe10 [ 105.380365][ T1808] ? process_one_work+0x1690/0x1690 [ 105.380365][ T1808] kthread+0x3b5/0x4a0 [ 105.380365][ T1808] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 105.380365][ T1808] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 105.380365][ T1808] ret_from_fork+0x1f/0x30 [ 105.380365][ T1808] Kernel Offset: disabled [ 105.380365][ T1808] Rebooting in 86400 seconds..