Warning: Permanently added '[localhost]:49199' (ECDSA) to the list of known hosts. [ 301.496203][ T42] audit: type=1400 audit(1592512542.711:42): avc: denied { map } for pid=11447 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/18 20:35:42 fuzzer started 2020/06/18 20:35:44 connecting to host at 10.0.2.10:42739 2020/06/18 20:35:44 checking machine... 2020/06/18 20:35:44 checking revisions... [ 303.711241][ T42] audit: type=1400 audit(1592512544.921:43): avc: denied { integrity } for pid=11447 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 [ 303.855622][ T42] audit: type=1400 audit(1592512544.931:44): avc: denied { map } for pid=11447 comm="syz-fuzzer" path="/sys/kernel/debug/kcov" dev="debugfs" ino=13931 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 2020/06/18 20:35:45 testing simple program... [ 306.438960][T11467] IPVS: ftp: loaded support on port[0] = 21 executing program 2020/06/18 20:35:48 building call list... [ 307.344420][ T1818] tipc: TX() has been purged, node left! [ 308.594358][ T1818] ================================================================== [ 308.600141][ T1818] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 308.600141][ T1818] Write of size 1 at addr ffff8880123d61e4 by task kworker/u16:1/1818 [ 308.770068][ T1818] [ 308.770068][ T1818] CPU: 1 PID: 1818 Comm: kworker/u16:1 Not tainted 5.8.0-rc1-syzkaller #0 [ 308.770068][ T1818] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 [ 308.770068][ T1818] Workqueue: netns cleanup_net [ 308.770068][ T1818] Call Trace: [ 308.770068][ T1818] dump_stack+0x18f/0x20d [ 308.770068][ T1818] ? afs_wake_up_async_call+0x6aa/0x770 [ 308.770068][ T1818] ? afs_wake_up_async_call+0x6aa/0x770 [ 308.770068][ T1818] ? afs_put_call+0xa40/0xa40 [ 308.770068][ T1818] print_address_description.constprop.0.cold+0xd3/0x413 [ 308.770068][ T1818] ? vprintk_func+0x97/0x1a6 [ 308.770068][ T1818] ? afs_wake_up_async_call+0x6aa/0x770 [ 308.770068][ T1818] kasan_report.cold+0x1f/0x37 [ 308.770068][ T1818] ? rcu_read_lock_held_common+0x51/0xa0 [ 308.770068][ T1818] ? afs_wake_up_async_call+0x6aa/0x770 [ 308.770068][ T1818] afs_wake_up_async_call+0x6aa/0x770 [ 308.770068][ T1818] ? afs_close_socket+0x320/0x320 [ 309.682165][ T1818] ? afs_put_call+0xa40/0xa40 [ 309.682165][ T1818] rxrpc_notify_socket+0x1db/0x5d0 [ 309.682165][ T1818] ? afs_put_call+0xa40/0xa40 [ 309.682165][ T1818] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 309.682165][ T1818] rxrpc_call_completed+0xca/0xf0 [ 309.682165][ T1818] rxrpc_discard_prealloc+0x781/0xab0 [ 309.682165][ T1818] ? lock_sock_nested+0x94/0x110 [ 309.682165][ T1818] rxrpc_listen+0x147/0x360 [ 309.682165][ T1818] afs_close_socket+0x95/0x320 [ 309.682165][ T1818] ? afs_rx_discard_new_call+0x50/0x50 [ 309.682165][ T1818] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 309.682165][ T1818] ? afs_purge_servers+0x2a8/0x300 [ 309.682165][ T1818] ? afs_purge_servers+0x16d/0x300 [ 309.682165][ T1818] afs_net_exit+0x1bc/0x310 [ 309.682165][ T1818] ? afs_net_init+0xe30/0xe30 [ 309.682165][ T1818] ops_exit_list.isra.0+0xa8/0x150 [ 309.682165][ T1818] cleanup_net+0x511/0xa50 [ 309.682165][ T1818] ? unregister_pernet_device+0x70/0x70 [ 309.682165][ T1818] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 309.682165][ T1818] process_one_work+0x965/0x1690 [ 309.682165][ T1818] ? lock_release+0x800/0x800 [ 309.682165][ T1818] ? pwq_dec_nr_in_flight+0x310/0x310 [ 309.682165][ T1818] ? rwlock_bug.part.0+0x90/0x90 [ 309.682165][ T1818] worker_thread+0x96/0xe10 [ 309.682165][ T1818] ? process_one_work+0x1690/0x1690 [ 309.682165][ T1818] kthread+0x3b5/0x4a0 [ 309.682165][ T1818] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 309.682165][ T1818] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 309.682165][ T1818] ret_from_fork+0x1f/0x30 [ 309.682165][ T1818] [ 309.682165][ T1818] Allocated by task 11467: [ 309.682165][ T1818] save_stack+0x1b/0x40 [ 309.682165][ T1818] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 309.682165][ T1818] kmem_cache_alloc_trace+0x153/0x7d0 [ 309.682165][ T1818] afs_alloc_call+0x55/0x630 [ 309.682165][ T1818] afs_charge_preallocation+0xe9/0x2d0 [ 309.682165][ T1818] afs_open_socket+0x292/0x360 [ 309.682165][ T1818] afs_net_init+0xa6c/0xe30 [ 309.682165][ T1818] ops_init+0xaf/0x420 [ 309.682165][ T1818] setup_net+0x2de/0x860 [ 309.682165][ T1818] copy_net_ns+0x293/0x590 [ 309.682165][ T1818] create_new_namespaces+0x3fb/0xb30 [ 309.682165][ T1818] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 309.682165][ T1818] ksys_unshare+0x43d/0x8e0 [ 309.682165][ T1818] __x64_sys_unshare+0x2d/0x40 [ 309.682165][ T1818] do_syscall_64+0x60/0xe0 [ 309.682165][ T1818] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 309.682165][ T1818] [ 309.682165][ T1818] Freed by task 1818: [ 309.682165][ T1818] save_stack+0x1b/0x40 [ 309.682165][ T1818] __kasan_slab_free+0xf7/0x140 [ 309.682165][ T1818] kfree+0x109/0x2b0 [ 309.682165][ T1818] afs_put_call+0x585/0xa40 [ 309.682165][ T1818] rxrpc_discard_prealloc+0x764/0xab0 [ 309.682165][ T1818] rxrpc_listen+0x147/0x360 [ 309.682165][ T1818] afs_close_socket+0x95/0x320 [ 309.682165][ T1818] afs_net_exit+0x1bc/0x310 [ 309.682165][ T1818] ops_exit_list.isra.0+0xa8/0x150 [ 309.682165][ T1818] cleanup_net+0x511/0xa50 [ 309.682165][ T1818] process_one_work+0x965/0x1690 [ 309.682165][ T1818] worker_thread+0x96/0xe10 [ 309.682165][ T1818] kthread+0x3b5/0x4a0 [ 309.682165][ T1818] ret_from_fork+0x1f/0x30 [ 309.682165][ T1818] [ 309.682165][ T1818] The buggy address belongs to the object at ffff8880123d6000 [ 309.682165][ T1818] which belongs to the cache kmalloc-1k of size 1024 [ 309.682165][ T1818] The buggy address is located 484 bytes inside of [ 309.682165][ T1818] 1024-byte region [ffff8880123d6000, ffff8880123d6400) [ 309.682165][ T1818] The buggy address belongs to the page: [ 309.682165][ T1818] page:ffffea000048f580 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 309.682165][ T1818] flags: 0xfffe0000000200(slab) [ 309.682165][ T1818] raw: 00fffe0000000200 ffffea000048c708 ffffea000048f5c8 ffff88802c800c40 [ 309.682165][ T1818] raw: 0000000000000000 ffff8880123d6000 0000000100000002 0000000000000000 [ 309.682165][ T1818] page dumped because: kasan: bad access detected [ 309.682165][ T1818] [ 309.682165][ T1818] Memory state around the buggy address: [ 309.682165][ T1818] ffff8880123d6080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 309.682165][ T1818] ffff8880123d6100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 309.682165][ T1818] >ffff8880123d6180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 309.682165][ T1818] ^ [ 309.682165][ T1818] ffff8880123d6200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 309.682165][ T1818] ffff8880123d6280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 309.682165][ T1818] ================================================================== [ 309.682165][ T1818] Disabling lock debugging due to kernel taint [ 313.233556][ T1818] Kernel panic - not syncing: panic_on_warn set ... [ 313.239978][ T1818] CPU: 1 PID: 1818 Comm: kworker/u16:1 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 313.317322][ T1818] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 [ 313.317322][ T1818] Workqueue: netns cleanup_net [ 313.317322][ T1818] Call Trace: [ 313.317322][ T1818] dump_stack+0x18f/0x20d [ 313.317322][ T1818] ? afs_wake_up_async_call+0x670/0x770 [ 313.317322][ T1818] ? afs_put_call+0xa40/0xa40 [ 313.317322][ T1818] panic+0x2e3/0x75c [ 313.317322][ T1818] ? __warn_printk+0xf3/0xf3 [ 313.317322][ T1818] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 313.317322][ T1818] ? trace_hardirqs_on+0x55/0x220 [ 313.317322][ T1818] ? afs_wake_up_async_call+0x6aa/0x770 [ 313.317322][ T1818] ? afs_wake_up_async_call+0x6aa/0x770 [ 313.317322][ T1818] ? afs_put_call+0xa40/0xa40 [ 313.317322][ T1818] end_report+0x4d/0x53 [ 313.317322][ T1818] kasan_report.cold+0xd/0x37 [ 313.317322][ T1818] ? rcu_read_lock_held_common+0x51/0xa0 [ 313.317322][ T1818] ? afs_wake_up_async_call+0x6aa/0x770 [ 313.317322][ T1818] afs_wake_up_async_call+0x6aa/0x770 [ 313.317322][ T1818] ? afs_close_socket+0x320/0x320 [ 313.317322][ T1818] ? afs_put_call+0xa40/0xa40 [ 313.317322][ T1818] rxrpc_notify_socket+0x1db/0x5d0 [ 313.317322][ T1818] ? afs_put_call+0xa40/0xa40 [ 313.317322][ T1818] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 313.317322][ T1818] rxrpc_call_completed+0xca/0xf0 [ 313.317322][ T1818] rxrpc_discard_prealloc+0x781/0xab0 [ 313.317322][ T1818] ? lock_sock_nested+0x94/0x110 [ 313.317322][ T1818] rxrpc_listen+0x147/0x360 [ 313.317322][ T1818] afs_close_socket+0x95/0x320 [ 313.317322][ T1818] ? afs_rx_discard_new_call+0x50/0x50 [ 313.317322][ T1818] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 313.317322][ T1818] ? afs_purge_servers+0x2a8/0x300 [ 313.317322][ T1818] ? afs_purge_servers+0x16d/0x300 [ 313.317322][ T1818] afs_net_exit+0x1bc/0x310 [ 313.317322][ T1818] ? afs_net_init+0xe30/0xe30 [ 313.317322][ T1818] ops_exit_list.isra.0+0xa8/0x150 [ 313.317322][ T1818] cleanup_net+0x511/0xa50 [ 313.317322][ T1818] ? unregister_pernet_device+0x70/0x70 [ 313.317322][ T1818] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 313.317322][ T1818] process_one_work+0x965/0x1690 [ 313.317322][ T1818] ? lock_release+0x800/0x800 [ 313.317322][ T1818] ? pwq_dec_nr_in_flight+0x310/0x310 [ 313.317322][ T1818] ? rwlock_bug.part.0+0x90/0x90 [ 313.317322][ T1818] worker_thread+0x96/0xe10 [ 313.317322][ T1818] ? process_one_work+0x1690/0x1690 [ 313.317322][ T1818] kthread+0x3b5/0x4a0 [ 313.317322][ T1818] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 313.317322][ T1818] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 313.317322][ T1818] ret_from_fork+0x1f/0x30 [ 313.317322][ T1818] Kernel Offset: disabled [ 313.317322][ T1818] Rebooting in 86400 seconds..