[ 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.210' (ECDSA) to the list of known hosts. 2020/06/25 20:08:49 fuzzer started 2020/06/25 20:08:49 connecting to host at 10.128.0.26:42139 2020/06/25 20:08:49 checking machine... 2020/06/25 20:08:49 checking revisions... 2020/06/25 20:08:49 testing simple program... syzkaller login: [ 61.846944][ T6833] IPVS: ftp: loaded support on port[0] = 21 2020/06/25 20:08:50 building call list... [ 62.210069][ T309] tipc: TX() has been purged, node left! [ 62.722136][ T309] ================================================================== [ 62.730999][ T309] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 62.738901][ T309] Write of size 1 at addr ffff8880a70071e4 by task kworker/u4:6/309 [ 62.746867][ T309] [ 62.749198][ T309] CPU: 0 PID: 309 Comm: kworker/u4:6 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.757600][ T309] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.767853][ T309] Workqueue: netns cleanup_net [ 62.772641][ T309] Call Trace: [ 62.775943][ T309] dump_stack+0x18f/0x20d [ 62.781490][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.792844][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.798383][ T309] ? afs_put_call+0x440/0x440 [ 62.803080][ T309] print_address_description.constprop.0.cold+0xae/0x436 [ 62.810118][ T309] ? vprintk_func+0x97/0x1a6 [ 62.814714][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.820528][ T309] kasan_report.cold+0x1f/0x37 [ 62.825295][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.830840][ T309] afs_wake_up_async_call+0x430/0x4a0 [ 62.836208][ T309] ? afs_close_socket+0x320/0x320 [ 62.841231][ T309] rxrpc_notify_socket+0x1db/0x5d0 [ 62.846345][ T309] ? afs_put_call+0x440/0x440 [ 62.851058][ T309] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.857562][ T309] rxrpc_call_completed+0xd0/0xf0 [ 62.862593][ T309] rxrpc_discard_prealloc+0x777/0xab0 [ 62.868144][ T309] ? lock_sock_nested+0x94/0x110 [ 62.873087][ T309] rxrpc_listen+0x11c/0x330 [ 62.877592][ T309] afs_close_socket+0x95/0x320 [ 62.882440][ T309] ? afs_purge_servers+0x16d/0x300 [ 62.887547][ T309] ? afs_rx_discard_new_call+0x50/0x50 [ 62.893017][ T309] ? init_wait_var_entry+0x200/0x200 [ 62.898483][ T309] ? check_preemption_disabled+0x38/0x220 [ 62.904201][ T309] afs_net_exit+0x1bc/0x310 [ 62.908970][ T309] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 62.914595][ T309] ops_exit_list+0xb0/0x160 [ 62.919100][ T309] cleanup_net+0x4ea/0xa00 [ 62.923700][ T309] ? __schedule+0x887/0x1eb0 [ 62.928291][ T309] ? ops_free_list.part.0+0x3d0/0x3d0 [ 62.933664][ T309] ? check_preemption_disabled+0x38/0x220 [ 62.939536][ T309] process_one_work+0x94c/0x1670 [ 62.944501][ T309] ? lock_release+0x8d0/0x8d0 [ 62.949181][ T309] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 62.954564][ T309] ? rwlock_bug.part.0+0x90/0x90 [ 62.959521][ T309] worker_thread+0x64c/0x1120 [ 62.964207][ T309] ? __kthread_parkme+0x13f/0x1e0 [ 62.969232][ T309] ? process_one_work+0x1670/0x1670 [ 62.974430][ T309] kthread+0x3b5/0x4a0 [ 62.978504][ T309] ? __kthread_bind_mask+0xc0/0xc0 [ 62.983619][ T309] ? __kthread_bind_mask+0xc0/0xc0 [ 62.988732][ T309] ret_from_fork+0x1f/0x30 [ 62.993167][ T309] [ 62.995496][ T309] Allocated by task 6833: [ 62.999831][ T309] save_stack+0x1b/0x40 [ 63.003997][ T309] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 63.009654][ T309] kmem_cache_alloc_trace+0x14f/0x2d0 [ 63.015018][ T309] afs_alloc_call+0x4f/0x360 [ 63.019612][ T309] afs_charge_preallocation+0xe9/0x2d0 [ 63.025505][ T309] afs_open_socket+0x294/0x360 [ 63.030437][ T309] afs_net_init+0xa6c/0xe30 [ 63.034934][ T309] ops_init+0xaf/0x470 [ 63.039259][ T309] setup_net+0x2d8/0x850 [ 63.043765][ T309] copy_net_ns+0x2cf/0x5e0 [ 63.048198][ T309] create_new_namespaces+0x3f6/0xb10 [ 63.053657][ T309] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 63.059294][ T309] ksys_unshare+0x36c/0x9a0 [ 63.063789][ T309] __x64_sys_unshare+0x2d/0x40 [ 63.068545][ T309] do_syscall_64+0x60/0xe0 [ 63.072961][ T309] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 63.078839][ T309] [ 63.081161][ T309] Freed by task 309: [ 63.085066][ T309] save_stack+0x1b/0x40 [ 63.089229][ T309] __kasan_slab_free+0xf5/0x140 [ 63.094442][ T309] kfree+0x103/0x2c0 [ 63.098434][ T309] afs_put_call+0x345/0x440 [ 63.102951][ T309] rxrpc_discard_prealloc+0x75a/0xab0 [ 63.108329][ T309] rxrpc_listen+0x11c/0x330 [ 63.112935][ T309] afs_close_socket+0x95/0x320 [ 63.117707][ T309] afs_net_exit+0x1bc/0x310 [ 63.122299][ T309] ops_exit_list+0xb0/0x160 [ 63.126799][ T309] cleanup_net+0x4ea/0xa00 [ 63.131299][ T309] process_one_work+0x94c/0x1670 [ 63.136232][ T309] worker_thread+0x64c/0x1120 [ 63.140904][ T309] kthread+0x3b5/0x4a0 [ 63.144970][ T309] ret_from_fork+0x1f/0x30 [ 63.149379][ T309] [ 63.151713][ T309] The buggy address belongs to the object at ffff8880a7007000 [ 63.151713][ T309] which belongs to the cache kmalloc-1k of size 1024 [ 63.165775][ T309] The buggy address is located 484 bytes inside of [ 63.165775][ T309] 1024-byte region [ffff8880a7007000, ffff8880a7007400) [ 63.179511][ T309] The buggy address belongs to the page: [ 63.185175][ T309] page:ffffea00029c01c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 63.194277][ T309] flags: 0xfffe0000000200(slab) [ 63.199128][ T309] raw: 00fffe0000000200 ffffea0002885988 ffffea00027dfc88 ffff8880aa000c40 [ 63.207746][ T309] raw: 0000000000000000 ffff8880a7007000 0000000100000002 0000000000000000 [ 63.216409][ T309] page dumped because: kasan: bad access detected [ 63.222898][ T309] [ 63.225304][ T309] Memory state around the buggy address: [ 63.230932][ T309] ffff8880a7007080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.239092][ T309] ffff8880a7007100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.247347][ T309] >ffff8880a7007180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.255402][ T309] ^ [ 63.262593][ T309] ffff8880a7007200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.270891][ T309] ffff8880a7007280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.278946][ T309] ================================================================== [ 63.287085][ T309] Disabling lock debugging due to kernel taint [ 63.293375][ T309] Kernel panic - not syncing: panic_on_warn set ... [ 63.300058][ T309] CPU: 0 PID: 309 Comm: kworker/u4:6 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 63.310206][ T309] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.320354][ T309] Workqueue: netns cleanup_net [ 63.325118][ T309] Call Trace: [ 63.328405][ T309] dump_stack+0x18f/0x20d [ 63.332735][ T309] ? afs_wake_up_async_call+0x400/0x4a0 [ 63.338363][ T309] ? afs_put_call+0x440/0x440 [ 63.343493][ T309] panic+0x2e3/0x75c [ 63.347385][ T309] ? __warn_printk+0xf3/0xf3 [ 63.351987][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 63.357811][ T309] ? trace_hardirqs_on+0x55/0x220 [ 63.362841][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 63.368379][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 63.373916][ T309] ? afs_put_call+0x440/0x440 [ 63.378589][ T309] end_report+0x4d/0x53 [ 63.382737][ T309] kasan_report.cold+0xd/0x37 [ 63.387411][ T309] ? afs_wake_up_async_call+0x430/0x4a0 [ 63.392952][ T309] afs_wake_up_async_call+0x430/0x4a0 [ 63.398315][ T309] ? afs_close_socket+0x320/0x320 [ 63.403418][ T309] rxrpc_notify_socket+0x1db/0x5d0 [ 63.408520][ T309] ? afs_put_call+0x440/0x440 [ 63.413195][ T309] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 63.419776][ T309] rxrpc_call_completed+0xd0/0xf0 [ 63.425063][ T309] rxrpc_discard_prealloc+0x777/0xab0 [ 63.430428][ T309] ? lock_sock_nested+0x94/0x110 [ 63.435362][ T309] rxrpc_listen+0x11c/0x330 [ 63.439864][ T309] afs_close_socket+0x95/0x320 [ 63.444615][ T309] ? afs_purge_servers+0x16d/0x300 [ 63.449728][ T309] ? afs_rx_discard_new_call+0x50/0x50 [ 63.455184][ T309] ? init_wait_var_entry+0x200/0x200 [ 63.460483][ T309] ? check_preemption_disabled+0x38/0x220 [ 63.466193][ T309] afs_net_exit+0x1bc/0x310 [ 63.470687][ T309] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 63.476314][ T309] ops_exit_list+0xb0/0x160 [ 63.480811][ T309] cleanup_net+0x4ea/0xa00 [ 63.485225][ T309] ? __schedule+0x887/0x1eb0 [ 63.489806][ T309] ? ops_free_list.part.0+0x3d0/0x3d0 [ 63.495181][ T309] ? check_preemption_disabled+0x38/0x220 [ 63.500895][ T309] process_one_work+0x94c/0x1670 [ 63.505835][ T309] ? lock_release+0x8d0/0x8d0 [ 63.510599][ T309] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 63.515968][ T309] ? rwlock_bug.part.0+0x90/0x90 [ 63.520911][ T309] worker_thread+0x64c/0x1120 [ 63.525582][ T309] ? __kthread_parkme+0x13f/0x1e0 [ 63.530858][ T309] ? process_one_work+0x1670/0x1670 [ 63.536045][ T309] kthread+0x3b5/0x4a0 [ 63.541320][ T309] ? __kthread_bind_mask+0xc0/0xc0 [ 63.546420][ T309] ? __kthread_bind_mask+0xc0/0xc0 [ 63.551613][ T309] ret_from_fork+0x1f/0x30 [ 63.557765][ T309] Kernel Offset: disabled [ 63.562173][ T309] Rebooting in 86400 seconds..