[ 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.0.123' (ECDSA) to the list of known hosts. 2020/06/14 23:21:26 fuzzer started 2020/06/14 23:21:26 connecting to host at 10.128.0.26:36361 2020/06/14 23:21:26 checking machine... 2020/06/14 23:21:26 checking revisions... 2020/06/14 23:21:26 testing simple program... syzkaller login: [ 57.145629][ T6867] IPVS: ftp: loaded support on port[0] = 21 2020/06/14 23:21:27 building call list... [ 57.473738][ T418] tipc: TX() has been purged, node left! [ 57.975771][ T418] ================================================================== [ 57.983983][ T418] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 57.992188][ T418] Write of size 1 at addr ffff88809722b9e4 by task kworker/u4:7/418 [ 58.000248][ T418] [ 58.002588][ T418] CPU: 0 PID: 418 Comm: kworker/u4:7 Not tainted 5.7.0-next-20200614-syzkaller #0 [ 58.012082][ T418] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.022158][ T418] Workqueue: netns cleanup_net [ 58.026917][ T418] Call Trace: [ 58.030290][ T418] dump_stack+0x18f/0x20d [ 58.034628][ T418] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.040278][ T418] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.045902][ T418] ? afs_put_call+0xa40/0xa40 [ 58.050576][ T418] print_address_description.constprop.0.cold+0xd3/0x413 [ 58.057834][ T418] ? vprintk_func+0x97/0x1a6 [ 58.062440][ T418] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.068156][ T418] kasan_report.cold+0x1f/0x37 [ 58.072920][ T418] ? rcu_read_lock_held_common+0x41/0xa0 [ 58.078632][ T418] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.084177][ T418] afs_wake_up_async_call+0x6aa/0x770 [ 58.089640][ T418] ? afs_close_socket+0x320/0x320 [ 58.094661][ T418] ? afs_put_call+0xa40/0xa40 [ 58.099948][ T418] rxrpc_notify_socket+0x1db/0x5d0 [ 58.105064][ T418] ? afs_put_call+0xa40/0xa40 [ 58.113382][ T418] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 58.119896][ T418] rxrpc_call_completed+0xca/0xf0 [ 58.124924][ T418] rxrpc_discard_prealloc+0x781/0xab0 [ 58.131341][ T418] ? lock_sock_nested+0x94/0x110 [ 58.136732][ T418] rxrpc_listen+0x147/0x360 [ 58.141325][ T418] afs_close_socket+0x95/0x320 [ 58.149473][ T418] ? afs_purge_servers+0x16d/0x300 [ 58.154588][ T418] ? afs_rx_discard_new_call+0x50/0x50 [ 58.160131][ T418] ? init_wait_var_entry+0x200/0x200 [ 58.165444][ T418] ? rcu_read_lock_held_common+0xa0/0xa0 [ 58.171089][ T418] ? check_preemption_disabled+0x38/0x220 [ 58.176824][ T418] afs_net_exit+0x1bc/0x310 [ 58.181328][ T418] ? afs_net_init+0xe30/0xe30 [ 58.186145][ T418] ops_exit_list.isra.0+0xa8/0x150 [ 58.191258][ T418] cleanup_net+0x511/0xa50 [ 58.195687][ T418] ? unregister_pernet_device+0x70/0x70 [ 58.201233][ T418] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 58.207216][ T418] process_one_work+0x965/0x1690 [ 58.212180][ T418] ? lock_release+0x800/0x800 [ 58.216940][ T418] ? pwq_dec_nr_in_flight+0x310/0x310 [ 58.222399][ T418] ? rwlock_bug.part.0+0x90/0x90 [ 58.227431][ T418] worker_thread+0x96/0xe10 [ 58.231955][ T418] ? process_one_work+0x1690/0x1690 [ 58.237162][ T418] kthread+0x3b5/0x4a0 [ 58.241234][ T418] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.246957][ T418] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.253305][ T418] ret_from_fork+0x1f/0x30 [ 58.257921][ T418] [ 58.260249][ T418] Allocated by task 6867: [ 58.264593][ T418] save_stack+0x1b/0x40 [ 58.270742][ T418] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 58.276373][ T418] kmem_cache_alloc_trace+0x153/0x7d0 [ 58.281737][ T418] afs_alloc_call+0x55/0x630 [ 58.286673][ T418] afs_charge_preallocation+0xe9/0x2d0 [ 58.292229][ T418] afs_open_socket+0x292/0x360 [ 58.296998][ T418] afs_net_init+0xa6c/0xe30 [ 58.301591][ T418] ops_init+0xaf/0x420 [ 58.306609][ T418] setup_net+0x2de/0x860 [ 58.311220][ T418] copy_net_ns+0x293/0x590 [ 58.315635][ T418] create_new_namespaces+0x3fb/0xb30 [ 58.320917][ T418] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 58.326632][ T418] ksys_unshare+0x43d/0x8e0 [ 58.331318][ T418] __x64_sys_unshare+0x2d/0x40 [ 58.336078][ T418] do_syscall_64+0x60/0xe0 [ 58.340519][ T418] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 58.346397][ T418] [ 58.348717][ T418] Freed by task 418: [ 58.352942][ T418] save_stack+0x1b/0x40 [ 58.357094][ T418] __kasan_slab_free+0xf7/0x140 [ 58.361941][ T418] kfree+0x109/0x2b0 [ 58.365829][ T418] afs_put_call+0x585/0xa40 [ 58.370327][ T418] rxrpc_discard_prealloc+0x764/0xab0 [ 58.375794][ T418] rxrpc_listen+0x147/0x360 [ 58.380291][ T418] afs_close_socket+0x95/0x320 [ 58.385134][ T418] afs_net_exit+0x1bc/0x310 [ 58.389635][ T418] ops_exit_list.isra.0+0xa8/0x150 [ 58.394741][ T418] cleanup_net+0x511/0xa50 [ 58.399152][ T418] process_one_work+0x965/0x1690 [ 58.404174][ T418] worker_thread+0x96/0xe10 [ 58.408677][ T418] kthread+0x3b5/0x4a0 [ 58.412740][ T418] ret_from_fork+0x1f/0x30 [ 58.417155][ T418] [ 58.419478][ T418] The buggy address belongs to the object at ffff88809722b800 [ 58.419478][ T418] which belongs to the cache kmalloc-1k of size 1024 [ 58.433524][ T418] The buggy address is located 484 bytes inside of [ 58.433524][ T418] 1024-byte region [ffff88809722b800, ffff88809722bc00) [ 58.447505][ T418] The buggy address belongs to the page: [ 58.453479][ T418] page:ffffea00025c8ac0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 58.462577][ T418] flags: 0xfffe0000000200(slab) [ 58.467430][ T418] raw: 00fffe0000000200 ffffea0002505488 ffffea00024dfb48 ffff8880aa000c40 [ 58.476050][ T418] raw: 0000000000000000 ffff88809722b000 0000000100000002 0000000000000000 [ 58.484939][ T418] page dumped because: kasan: bad access detected [ 58.491338][ T418] [ 58.493656][ T418] Memory state around the buggy address: [ 58.499283][ T418] ffff88809722b880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.507433][ T418] ffff88809722b900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.515753][ T418] >ffff88809722b980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.523840][ T418] ^ [ 58.531029][ T418] ffff88809722ba00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.539087][ T418] ffff88809722ba80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.547403][ T418] ================================================================== [ 58.555543][ T418] Disabling lock debugging due to kernel taint [ 58.561752][ T418] Kernel panic - not syncing: panic_on_warn set ... [ 58.568342][ T418] CPU: 0 PID: 418 Comm: kworker/u4:7 Tainted: G B 5.7.0-next-20200614-syzkaller #0 [ 58.578920][ T418] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.589292][ T418] Workqueue: netns cleanup_net [ 58.594136][ T418] Call Trace: [ 58.597459][ T418] dump_stack+0x18f/0x20d [ 58.601796][ T418] ? afs_wake_up_async_call+0x5e0/0x770 [ 58.607632][ T418] ? afs_put_call+0xa40/0xa40 [ 58.612309][ T418] panic+0x2e3/0x75c [ 58.616203][ T418] ? __warn_printk+0xf3/0xf3 [ 58.620955][ T418] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 58.627224][ T418] ? trace_hardirqs_on+0x55/0x220 [ 58.632247][ T418] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.637949][ T418] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.644446][ T418] ? afs_put_call+0xa40/0xa40 [ 58.649244][ T418] end_report+0x4d/0x53 [ 58.653397][ T418] kasan_report.cold+0xd/0x37 [ 58.658073][ T418] ? rcu_read_lock_held_common+0x41/0xa0 [ 58.663945][ T418] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.669523][ T418] afs_wake_up_async_call+0x6aa/0x770 [ 58.674889][ T418] ? afs_close_socket+0x320/0x320 [ 58.679900][ T418] ? afs_put_call+0xa40/0xa40 [ 58.684578][ T418] rxrpc_notify_socket+0x1db/0x5d0 [ 58.689711][ T418] ? afs_put_call+0xa40/0xa40 [ 58.694556][ T418] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 58.701165][ T418] rxrpc_call_completed+0xca/0xf0 [ 58.706286][ T418] rxrpc_discard_prealloc+0x781/0xab0 [ 58.711797][ T418] ? lock_sock_nested+0x94/0x110 [ 58.716742][ T418] rxrpc_listen+0x147/0x360 [ 58.721332][ T418] afs_close_socket+0x95/0x320 [ 58.726178][ T418] ? afs_purge_servers+0x16d/0x300 [ 58.731271][ T418] ? afs_rx_discard_new_call+0x50/0x50 [ 58.736835][ T418] ? init_wait_var_entry+0x200/0x200 [ 58.742243][ T418] ? rcu_read_lock_held_common+0xa0/0xa0 [ 58.747861][ T418] ? check_preemption_disabled+0x38/0x220 [ 58.754273][ T418] afs_net_exit+0x1bc/0x310 [ 58.758767][ T418] ? afs_net_init+0xe30/0xe30 [ 58.763429][ T418] ops_exit_list.isra.0+0xa8/0x150 [ 58.768533][ T418] cleanup_net+0x511/0xa50 [ 58.772928][ T418] ? unregister_pernet_device+0x70/0x70 [ 58.778610][ T418] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 58.784766][ T418] process_one_work+0x965/0x1690 [ 58.789699][ T418] ? lock_release+0x800/0x800 [ 58.796287][ T418] ? pwq_dec_nr_in_flight+0x310/0x310 [ 58.801769][ T418] ? rwlock_bug.part.0+0x90/0x90 [ 58.806868][ T418] worker_thread+0x96/0xe10 [ 58.811454][ T418] ? process_one_work+0x1690/0x1690 [ 58.816638][ T418] kthread+0x3b5/0x4a0 [ 58.820697][ T418] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.826635][ T418] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.832434][ T418] ret_from_fork+0x1f/0x30 [ 58.838826][ T418] Kernel Offset: disabled [ 58.843154][ T418] Rebooting in 86400 seconds..