[ 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. 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.26' (ECDSA) to the list of known hosts. 2020/06/15 23:13:49 fuzzer started 2020/06/15 23:13:50 connecting to host at 10.128.0.26:42973 2020/06/15 23:13:50 checking machine... 2020/06/15 23:13:50 checking revisions... 2020/06/15 23:13:50 testing simple program... syzkaller login: [ 59.967310][ T6827] IPVS: ftp: loaded support on port[0] = 21 2020/06/15 23:13:50 building call list... [ 60.291776][ T99] tipc: TX() has been purged, node left! [ 60.823559][ T99] ================================================================== [ 60.831805][ T99] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 60.839703][ T99] Write of size 1 at addr ffff88809fb4e9e4 by task kworker/u4:4/99 [ 60.847859][ T99] [ 60.850200][ T99] CPU: 1 PID: 99 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-next-20200615-syzkaller #0 [ 60.859655][ T99] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.869724][ T99] Workqueue: netns cleanup_net [ 60.874539][ T99] Call Trace: [ 60.877844][ T99] dump_stack+0x18f/0x20d [ 60.882304][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.887861][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.893555][ T99] ? afs_put_call+0xa40/0xa40 [ 60.898247][ T99] print_address_description.constprop.0.cold+0xd3/0x413 [ 60.905414][ T99] ? vprintk_func+0x97/0x1a6 [ 60.910104][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.915679][ T99] kasan_report.cold+0x1f/0x37 [ 60.920538][ T99] ? rcu_read_lock_held_common+0x71/0xa0 [ 60.926186][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 60.931743][ T99] afs_wake_up_async_call+0x6aa/0x770 [ 60.937213][ T99] ? afs_close_socket+0x320/0x320 [ 60.942249][ T99] ? afs_put_call+0xa40/0xa40 [ 60.946928][ T99] rxrpc_notify_socket+0x1db/0x5d0 [ 60.952052][ T99] ? afs_put_call+0xa40/0xa40 [ 60.956736][ T99] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.963159][ T99] rxrpc_call_completed+0xca/0xf0 [ 60.968210][ T99] rxrpc_discard_prealloc+0x781/0xab0 [ 60.973592][ T99] ? lock_sock_nested+0x94/0x110 [ 60.978542][ T99] rxrpc_listen+0x147/0x360 [ 60.983059][ T99] afs_close_socket+0x95/0x320 [ 60.987827][ T99] ? afs_purge_servers+0x16d/0x300 [ 60.992948][ T99] ? afs_rx_discard_new_call+0x50/0x50 [ 60.998421][ T99] ? init_wait_var_entry+0x200/0x200 [ 61.003722][ T99] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.009359][ T99] ? check_preemption_disabled+0x38/0x220 [ 61.015094][ T99] afs_net_exit+0x1bc/0x310 [ 61.019604][ T99] ? afs_net_init+0xe30/0xe30 [ 61.024290][ T99] ops_exit_list.isra.0+0xa8/0x150 [ 61.029415][ T99] cleanup_net+0x511/0xa50 [ 61.033847][ T99] ? unregister_pernet_device+0x70/0x70 [ 61.039409][ T99] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.045408][ T99] process_one_work+0x965/0x1690 [ 61.050364][ T99] ? lock_release+0x800/0x800 [ 61.055051][ T99] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.060436][ T99] ? rwlock_bug.part.0+0x90/0x90 [ 61.065392][ T99] worker_thread+0x96/0xe10 [ 61.069915][ T99] ? process_one_work+0x1690/0x1690 [ 61.075123][ T99] kthread+0x3b5/0x4a0 [ 61.079287][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.085015][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.090744][ T99] ret_from_fork+0x1f/0x30 [ 61.095175][ T99] [ 61.097505][ T99] Allocated by task 6827: [ 61.101843][ T99] save_stack+0x1b/0x40 [ 61.106178][ T99] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.111920][ T99] kmem_cache_alloc_trace+0x153/0x7d0 [ 61.117296][ T99] afs_alloc_call+0x55/0x630 [ 61.121889][ T99] afs_charge_preallocation+0xe9/0x2d0 [ 61.128401][ T99] afs_open_socket+0x292/0x360 [ 61.133230][ T99] afs_net_init+0xa6c/0xe30 [ 61.137743][ T99] ops_init+0xaf/0x420 [ 61.141817][ T99] setup_net+0x2de/0x860 [ 61.146159][ T99] copy_net_ns+0x293/0x590 [ 61.150580][ T99] create_new_namespaces+0x3fb/0xb30 [ 61.155875][ T99] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.161520][ T99] ksys_unshare+0x43d/0x8e0 [ 61.166112][ T99] __x64_sys_unshare+0x2d/0x40 [ 61.170885][ T99] do_syscall_64+0x60/0xe0 [ 61.175307][ T99] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.181202][ T99] [ 61.183533][ T99] Freed by task 99: [ 61.187349][ T99] save_stack+0x1b/0x40 [ 61.191509][ T99] __kasan_slab_free+0xf7/0x140 [ 61.196365][ T99] kfree+0x109/0x2b0 [ 61.200272][ T99] afs_put_call+0x585/0xa40 [ 61.204780][ T99] rxrpc_discard_prealloc+0x764/0xab0 [ 61.210153][ T99] rxrpc_listen+0x147/0x360 [ 61.214802][ T99] afs_close_socket+0x95/0x320 [ 61.219571][ T99] afs_net_exit+0x1bc/0x310 [ 61.224087][ T99] ops_exit_list.isra.0+0xa8/0x150 [ 61.229201][ T99] cleanup_net+0x511/0xa50 [ 61.233628][ T99] process_one_work+0x965/0x1690 [ 61.238686][ T99] worker_thread+0x96/0xe10 [ 61.243201][ T99] kthread+0x3b5/0x4a0 [ 61.247275][ T99] ret_from_fork+0x1f/0x30 [ 61.251690][ T99] [ 61.254029][ T99] The buggy address belongs to the object at ffff88809fb4e800 [ 61.254029][ T99] which belongs to the cache kmalloc-1k of size 1024 [ 61.268088][ T99] The buggy address is located 484 bytes inside of [ 61.268088][ T99] 1024-byte region [ffff88809fb4e800, ffff88809fb4ec00) [ 61.281458][ T99] The buggy address belongs to the page: [ 61.287251][ T99] page:ffffea00027ed380 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88809fb4e000 [ 61.297830][ T99] flags: 0xfffe0000000200(slab) [ 61.302696][ T99] raw: 00fffe0000000200 ffffea0002a1ae48 ffffea00027e9288 ffff8880aa000c40 [ 61.311290][ T99] raw: ffff88809fb4e000 ffff88809fb4e000 0000000100000001 0000000000000000 [ 61.319989][ T99] page dumped because: kasan: bad access detected [ 61.326522][ T99] [ 61.328865][ T99] Memory state around the buggy address: [ 61.334505][ T99] ffff88809fb4e880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.342575][ T99] ffff88809fb4e900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.350704][ T99] >ffff88809fb4e980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.359124][ T99] ^ [ 61.366346][ T99] ffff88809fb4ea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.374415][ T99] ffff88809fb4ea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.382475][ T99] ================================================================== [ 61.390659][ T99] Disabling lock debugging due to kernel taint [ 61.396899][ T99] Kernel panic - not syncing: panic_on_warn set ... [ 61.403501][ T99] CPU: 1 PID: 99 Comm: kworker/u4:4 Tainted: G B 5.8.0-rc1-next-20200615-syzkaller #0 [ 61.414348][ T99] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.424521][ T99] Workqueue: netns cleanup_net [ 61.429283][ T99] Call Trace: [ 61.432581][ T99] dump_stack+0x18f/0x20d [ 61.436936][ T99] ? afs_wake_up_async_call+0x660/0x770 [ 61.442617][ T99] ? afs_put_call+0xa40/0xa40 [ 61.447323][ T99] panic+0x2e3/0x75c [ 61.451232][ T99] ? __warn_printk+0xf3/0xf3 [ 61.455835][ T99] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 61.462199][ T99] ? trace_hardirqs_on+0x55/0x220 [ 61.467230][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.472935][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.478481][ T99] ? afs_put_call+0xa40/0xa40 [ 61.483319][ T99] end_report+0x4d/0x53 [ 61.487600][ T99] kasan_report.cold+0xd/0x37 [ 61.492459][ T99] ? rcu_read_lock_held_common+0x71/0xa0 [ 61.498083][ T99] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.503779][ T99] afs_wake_up_async_call+0x6aa/0x770 [ 61.509155][ T99] ? afs_close_socket+0x320/0x320 [ 61.514173][ T99] ? afs_put_call+0xa40/0xa40 [ 61.518914][ T99] rxrpc_notify_socket+0x1db/0x5d0 [ 61.524026][ T99] ? afs_put_call+0xa40/0xa40 [ 61.528698][ T99] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.535113][ T99] rxrpc_call_completed+0xca/0xf0 [ 61.540128][ T99] rxrpc_discard_prealloc+0x781/0xab0 [ 61.545589][ T99] ? lock_sock_nested+0x94/0x110 [ 61.550531][ T99] rxrpc_listen+0x147/0x360 [ 61.555042][ T99] afs_close_socket+0x95/0x320 [ 61.559811][ T99] ? afs_purge_servers+0x16d/0x300 [ 61.564927][ T99] ? afs_rx_discard_new_call+0x50/0x50 [ 61.570389][ T99] ? init_wait_var_entry+0x200/0x200 [ 61.575759][ T99] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.581603][ T99] ? check_preemption_disabled+0x38/0x220 [ 61.587496][ T99] afs_net_exit+0x1bc/0x310 [ 61.591996][ T99] ? afs_net_init+0xe30/0xe30 [ 61.596677][ T99] ops_exit_list.isra.0+0xa8/0x150 [ 61.601793][ T99] cleanup_net+0x511/0xa50 [ 61.606218][ T99] ? unregister_pernet_device+0x70/0x70 [ 61.612068][ T99] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.618068][ T99] process_one_work+0x965/0x1690 [ 61.623011][ T99] ? lock_release+0x800/0x800 [ 61.627921][ T99] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.633291][ T99] ? rwlock_bug.part.0+0x90/0x90 [ 61.638560][ T99] worker_thread+0x96/0xe10 [ 61.643188][ T99] ? process_one_work+0x1690/0x1690 [ 61.648523][ T99] kthread+0x3b5/0x4a0 [ 61.652612][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.658490][ T99] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.664358][ T99] ret_from_fork+0x1f/0x30 [ 61.670374][ T99] Kernel Offset: disabled [ 61.674699][ T99] Rebooting in 86400 seconds..