[ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.2' (ECDSA) to the list of known hosts. 2020/06/15 12:53:26 fuzzer started 2020/06/15 12:53:26 connecting to host at 10.128.0.26:43263 2020/06/15 12:53:26 checking machine... 2020/06/15 12:53:26 checking revisions... 2020/06/15 12:53:26 testing simple program... syzkaller login: [ 61.260692][ T6830] IPVS: ftp: loaded support on port[0] = 21 2020/06/15 12:53:26 building call list... [ 61.624403][ T465] tipc: TX() has been purged, node left! [ 62.126586][ T465] ================================================================== [ 62.135042][ T465] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.143196][ T465] Write of size 1 at addr ffff8880956691e4 by task kworker/u4:5/465 [ 62.151344][ T465] [ 62.153822][ T465] CPU: 1 PID: 465 Comm: kworker/u4:5 Not tainted 5.8.0-rc1-next-20200615-syzkaller #0 [ 62.163437][ T465] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.173691][ T465] Workqueue: netns cleanup_net [ 62.178458][ T465] Call Trace: [ 62.181812][ T465] dump_stack+0x18f/0x20d [ 62.186165][ T465] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.191780][ T465] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.197435][ T465] ? afs_put_call+0xa40/0xa40 [ 62.202235][ T465] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.209602][ T465] ? vprintk_func+0x97/0x1a6 [ 62.214203][ T465] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.219849][ T465] kasan_report.cold+0x1f/0x37 [ 62.224627][ T465] ? rcu_read_lock_held_common+0x71/0xa0 [ 62.230476][ T465] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.236049][ T465] afs_wake_up_async_call+0x6aa/0x770 [ 62.241945][ T465] ? afs_close_socket+0x320/0x320 [ 62.247124][ T465] ? afs_put_call+0xa40/0xa40 [ 62.251801][ T465] rxrpc_notify_socket+0x1db/0x5d0 [ 62.256928][ T465] ? afs_put_call+0xa40/0xa40 [ 62.261612][ T465] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.268191][ T465] rxrpc_call_completed+0xca/0xf0 [ 62.273226][ T465] rxrpc_discard_prealloc+0x781/0xab0 [ 62.278658][ T465] ? lock_sock_nested+0x94/0x110 [ 62.283612][ T465] rxrpc_listen+0x147/0x360 [ 62.288127][ T465] afs_close_socket+0x95/0x320 [ 62.292896][ T465] ? afs_purge_servers+0x16d/0x300 [ 62.298018][ T465] ? afs_rx_discard_new_call+0x50/0x50 [ 62.303501][ T465] ? init_wait_var_entry+0x200/0x200 [ 62.308833][ T465] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.314468][ T465] ? check_preemption_disabled+0x38/0x220 [ 62.320309][ T465] afs_net_exit+0x1bc/0x310 [ 62.324839][ T465] ? afs_net_init+0xe30/0xe30 [ 62.329537][ T465] ops_exit_list.isra.0+0xa8/0x150 [ 62.334877][ T465] cleanup_net+0x511/0xa50 [ 62.339308][ T465] ? unregister_pernet_device+0x70/0x70 [ 62.344980][ T465] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.351076][ T465] process_one_work+0x965/0x1690 [ 62.356134][ T465] ? lock_release+0x800/0x800 [ 62.360821][ T465] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.366293][ T465] ? rwlock_bug.part.0+0x90/0x90 [ 62.371248][ T465] worker_thread+0x96/0xe10 [ 62.375849][ T465] ? process_one_work+0x1690/0x1690 [ 62.381063][ T465] kthread+0x3b5/0x4a0 [ 62.385557][ T465] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.391280][ T465] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.398090][ T465] ret_from_fork+0x1f/0x30 [ 62.402530][ T465] [ 62.404948][ T465] Allocated by task 6830: [ 62.409287][ T465] save_stack+0x1b/0x40 [ 62.413446][ T465] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.419186][ T465] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.424571][ T465] afs_alloc_call+0x55/0x630 [ 62.429186][ T465] afs_charge_preallocation+0xe9/0x2d0 [ 62.434659][ T465] afs_open_socket+0x292/0x360 [ 62.439527][ T465] afs_net_init+0xa6c/0xe30 [ 62.444215][ T465] ops_init+0xaf/0x420 [ 62.448411][ T465] setup_net+0x2de/0x860 [ 62.452661][ T465] copy_net_ns+0x293/0x590 [ 62.457197][ T465] create_new_namespaces+0x3fb/0xb30 [ 62.462572][ T465] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.468211][ T465] ksys_unshare+0x43d/0x8e0 [ 62.472805][ T465] __x64_sys_unshare+0x2d/0x40 [ 62.477660][ T465] do_syscall_64+0x60/0xe0 [ 62.482092][ T465] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.488027][ T465] [ 62.490359][ T465] Freed by task 465: [ 62.494260][ T465] save_stack+0x1b/0x40 [ 62.498497][ T465] __kasan_slab_free+0xf7/0x140 [ 62.503349][ T465] kfree+0x109/0x2b0 [ 62.507521][ T465] afs_put_call+0x585/0xa40 [ 62.512112][ T465] rxrpc_discard_prealloc+0x764/0xab0 [ 62.517488][ T465] rxrpc_listen+0x147/0x360 [ 62.522042][ T465] afs_close_socket+0x95/0x320 [ 62.526895][ T465] afs_net_exit+0x1bc/0x310 [ 62.531406][ T465] ops_exit_list.isra.0+0xa8/0x150 [ 62.536691][ T465] cleanup_net+0x511/0xa50 [ 62.541212][ T465] process_one_work+0x965/0x1690 [ 62.546323][ T465] worker_thread+0x96/0xe10 [ 62.551192][ T465] kthread+0x3b5/0x4a0 [ 62.555297][ T465] ret_from_fork+0x1f/0x30 [ 62.559710][ T465] [ 62.562064][ T465] The buggy address belongs to the object at ffff888095669000 [ 62.562064][ T465] which belongs to the cache kmalloc-1k of size 1024 [ 62.576470][ T465] The buggy address is located 484 bytes inside of [ 62.576470][ T465] 1024-byte region [ffff888095669000, ffff888095669400) [ 62.589990][ T465] The buggy address belongs to the page: [ 62.595633][ T465] page:ffffea0002559a40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.604747][ T465] flags: 0xfffe0000000200(slab) [ 62.609858][ T465] raw: 00fffe0000000200 ffffea000256a948 ffffea00027cd7c8 ffff8880aa000c40 [ 62.618652][ T465] raw: 0000000000000000 ffff888095669000 0000000100000002 0000000000000000 [ 62.627326][ T465] page dumped because: kasan: bad access detected [ 62.633816][ T465] [ 62.636189][ T465] Memory state around the buggy address: [ 62.641922][ T465] ffff888095669080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.649990][ T465] ffff888095669100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.658334][ T465] >ffff888095669180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.666504][ T465] ^ [ 62.673854][ T465] ffff888095669200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.683315][ T465] ffff888095669280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.691459][ T465] ================================================================== [ 62.699630][ T465] Disabling lock debugging due to kernel taint [ 62.705853][ T465] Kernel panic - not syncing: panic_on_warn set ... [ 62.712538][ T465] CPU: 1 PID: 465 Comm: kworker/u4:5 Tainted: G B 5.8.0-rc1-next-20200615-syzkaller #0 [ 62.724479][ T465] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.734687][ T465] Workqueue: netns cleanup_net [ 62.739462][ T465] Call Trace: [ 62.742858][ T465] dump_stack+0x18f/0x20d [ 62.747202][ T465] ? afs_wake_up_async_call+0x660/0x770 [ 62.752761][ T465] ? afs_put_call+0xa40/0xa40 [ 62.757448][ T465] panic+0x2e3/0x75c [ 62.761349][ T465] ? __warn_printk+0xf3/0xf3 [ 62.766090][ T465] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.772523][ T465] ? trace_hardirqs_on+0x55/0x220 [ 62.778255][ T465] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.783804][ T465] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.789639][ T465] ? afs_put_call+0xa40/0xa40 [ 62.794315][ T465] end_report+0x4d/0x53 [ 62.798714][ T465] kasan_report.cold+0xd/0x37 [ 62.803400][ T465] ? rcu_read_lock_held_common+0x71/0xa0 [ 62.809030][ T465] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.814704][ T465] afs_wake_up_async_call+0x6aa/0x770 [ 62.820076][ T465] ? afs_close_socket+0x320/0x320 [ 62.825201][ T465] ? afs_put_call+0xa40/0xa40 [ 62.829873][ T465] rxrpc_notify_socket+0x1db/0x5d0 [ 62.835391][ T465] ? afs_put_call+0xa40/0xa40 [ 62.840070][ T465] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.846649][ T465] rxrpc_call_completed+0xca/0xf0 [ 62.851857][ T465] rxrpc_discard_prealloc+0x781/0xab0 [ 62.857226][ T465] ? lock_sock_nested+0x94/0x110 [ 62.862148][ T465] rxrpc_listen+0x147/0x360 [ 62.867033][ T465] afs_close_socket+0x95/0x320 [ 62.871813][ T465] ? afs_purge_servers+0x16d/0x300 [ 62.877326][ T465] ? afs_rx_discard_new_call+0x50/0x50 [ 62.882867][ T465] ? init_wait_var_entry+0x200/0x200 [ 62.888364][ T465] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.894021][ T465] ? check_preemption_disabled+0x38/0x220 [ 62.899742][ T465] afs_net_exit+0x1bc/0x310 [ 62.904245][ T465] ? afs_net_init+0xe30/0xe30 [ 62.909118][ T465] ops_exit_list.isra.0+0xa8/0x150 [ 62.914435][ T465] cleanup_net+0x511/0xa50 [ 62.919098][ T465] ? unregister_pernet_device+0x70/0x70 [ 62.925050][ T465] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.931039][ T465] process_one_work+0x965/0x1690 [ 62.936151][ T465] ? lock_release+0x800/0x800 [ 62.941048][ T465] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.946917][ T465] ? rwlock_bug.part.0+0x90/0x90 [ 62.952143][ T465] worker_thread+0x96/0xe10 [ 62.956663][ T465] ? process_one_work+0x1690/0x1690 [ 62.961864][ T465] kthread+0x3b5/0x4a0 [ 62.966278][ T465] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.972137][ T465] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.978648][ T465] ret_from_fork+0x1f/0x30 [ 62.984716][ T465] Kernel Offset: disabled [ 62.989166][ T465] Rebooting in 86400 seconds..