[ 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... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.161' (ECDSA) to the list of known hosts. 2020/06/25 23:46:18 fuzzer started 2020/06/25 23:46:18 connecting to host at 10.128.0.26:45129 2020/06/25 23:46:18 checking machine... 2020/06/25 23:46:18 checking revisions... 2020/06/25 23:46:18 testing simple program... syzkaller login: [ 59.726739][ T6814] IPVS: ftp: loaded support on port[0] = 21 2020/06/25 23:46:18 building call list... [ 60.048224][ T6764] tipc: TX() has been purged, node left! [ 60.590240][ T6764] ================================================================== [ 60.598492][ T6764] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 60.606385][ T6764] Write of size 1 at addr ffff88809fa641e4 by task kworker/u4:6/6764 [ 60.614441][ T6764] [ 60.616778][ T6764] CPU: 1 PID: 6764 Comm: kworker/u4:6 Not tainted 5.8.0-rc1-syzkaller #0 [ 60.625189][ T6764] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.635279][ T6764] Workqueue: netns cleanup_net [ 60.640035][ T6764] Call Trace: [ 60.643337][ T6764] dump_stack+0x18f/0x20d [ 60.647673][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.653206][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.658735][ T6764] ? afs_put_call+0x440/0x440 [ 60.663407][ T6764] print_address_description.constprop.0.cold+0xae/0x436 [ 60.670577][ T6764] ? vprintk_func+0x97/0x1a6 [ 60.675161][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.680720][ T6764] kasan_report.cold+0x1f/0x37 [ 60.685472][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.691016][ T6764] afs_wake_up_async_call+0x430/0x4a0 [ 60.696394][ T6764] ? afs_close_socket+0x320/0x320 [ 60.701428][ T6764] rxrpc_notify_socket+0x1db/0x5d0 [ 60.706525][ T6764] ? afs_put_call+0x440/0x440 [ 60.711217][ T6764] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.717637][ T6764] rxrpc_call_completed+0xd0/0xf0 [ 60.722642][ T6764] rxrpc_discard_prealloc+0x777/0xab0 [ 60.728020][ T6764] ? lock_sock_nested+0x94/0x110 [ 60.733049][ T6764] rxrpc_listen+0x11c/0x330 [ 60.737561][ T6764] afs_close_socket+0x95/0x320 [ 60.742321][ T6764] ? afs_purge_servers+0x16d/0x300 [ 60.747414][ T6764] ? afs_rx_discard_new_call+0x50/0x50 [ 60.752866][ T6764] ? init_wait_var_entry+0x200/0x200 [ 60.758261][ T6764] ? check_preemption_disabled+0x38/0x220 [ 60.763971][ T6764] afs_net_exit+0x1bc/0x310 [ 60.768466][ T6764] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.774257][ T6764] ops_exit_list+0xb0/0x160 [ 60.778743][ T6764] cleanup_net+0x4ea/0xa00 [ 60.783145][ T6764] ? __schedule+0x887/0x1eb0 [ 60.787737][ T6764] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.793090][ T6764] ? check_preemption_disabled+0x38/0x220 [ 60.798795][ T6764] process_one_work+0x94c/0x1670 [ 60.803718][ T6764] ? lock_release+0x8d0/0x8d0 [ 60.808376][ T6764] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.813732][ T6764] ? rwlock_bug.part.0+0x90/0x90 [ 60.818657][ T6764] worker_thread+0x64c/0x1120 [ 60.823320][ T6764] ? __kthread_parkme+0x13f/0x1e0 [ 60.828325][ T6764] ? process_one_work+0x1670/0x1670 [ 60.833584][ T6764] kthread+0x3b5/0x4a0 [ 60.837631][ T6764] ? __kthread_bind_mask+0xc0/0xc0 [ 60.842720][ T6764] ? __kthread_bind_mask+0xc0/0xc0 [ 60.847817][ T6764] ret_from_fork+0x1f/0x30 [ 60.852218][ T6764] [ 60.854527][ T6764] Allocated by task 6814: [ 60.858848][ T6764] save_stack+0x1b/0x40 [ 60.862978][ T6764] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 60.868606][ T6764] kmem_cache_alloc_trace+0x14f/0x2d0 [ 60.875783][ T6764] afs_alloc_call+0x4f/0x360 [ 60.880352][ T6764] afs_charge_preallocation+0xe9/0x2d0 [ 60.885874][ T6764] afs_open_socket+0x294/0x360 [ 60.890625][ T6764] afs_net_init+0xa6c/0xe30 [ 60.895117][ T6764] ops_init+0xaf/0x470 [ 60.899163][ T6764] setup_net+0x2d8/0x850 [ 60.903379][ T6764] copy_net_ns+0x2cf/0x5e0 [ 60.907772][ T6764] create_new_namespaces+0x3f6/0xb10 [ 60.913043][ T6764] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.918673][ T6764] ksys_unshare+0x36c/0x9a0 [ 60.923172][ T6764] __x64_sys_unshare+0x2d/0x40 [ 60.927938][ T6764] do_syscall_64+0x60/0xe0 [ 60.932351][ T6764] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 60.938488][ T6764] [ 60.940811][ T6764] Freed by task 6764: [ 60.944878][ T6764] save_stack+0x1b/0x40 [ 60.949032][ T6764] __kasan_slab_free+0xf5/0x140 [ 60.953877][ T6764] kfree+0x103/0x2c0 [ 60.957765][ T6764] afs_put_call+0x345/0x440 [ 60.962267][ T6764] rxrpc_discard_prealloc+0x75a/0xab0 [ 60.967637][ T6764] rxrpc_listen+0x11c/0x330 [ 60.972136][ T6764] afs_close_socket+0x95/0x320 [ 60.976893][ T6764] afs_net_exit+0x1bc/0x310 [ 60.981392][ T6764] ops_exit_list+0xb0/0x160 [ 60.985890][ T6764] cleanup_net+0x4ea/0xa00 [ 60.990325][ T6764] process_one_work+0x94c/0x1670 [ 60.995265][ T6764] worker_thread+0x64c/0x1120 [ 61.000392][ T6764] kthread+0x3b5/0x4a0 [ 61.004460][ T6764] ret_from_fork+0x1f/0x30 [ 61.008862][ T6764] [ 61.011191][ T6764] The buggy address belongs to the object at ffff88809fa64000 [ 61.011191][ T6764] which belongs to the cache kmalloc-1k of size 1024 [ 61.025331][ T6764] The buggy address is located 484 bytes inside of [ 61.025331][ T6764] 1024-byte region [ffff88809fa64000, ffff88809fa64400) [ 61.038679][ T6764] The buggy address belongs to the page: [ 61.044399][ T6764] page:ffffea00027e9900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 61.053509][ T6764] flags: 0xfffe0000000200(slab) [ 61.058368][ T6764] raw: 00fffe0000000200 ffffea000239ac88 ffffea00027ef208 ffff8880aa000c40 [ 61.067331][ T6764] raw: 0000000000000000 ffff88809fa64000 0000000100000002 0000000000000000 [ 61.076261][ T6764] page dumped because: kasan: bad access detected [ 61.082670][ T6764] [ 61.084993][ T6764] Memory state around the buggy address: [ 61.090626][ T6764] ffff88809fa64080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.098694][ T6764] ffff88809fa64100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.106840][ T6764] >ffff88809fa64180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.115169][ T6764] ^ [ 61.122364][ T6764] ffff88809fa64200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.130441][ T6764] ffff88809fa64280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.138582][ T6764] ================================================================== [ 61.148551][ T6764] Disabling lock debugging due to kernel taint [ 61.154765][ T6764] Kernel panic - not syncing: panic_on_warn set ... [ 61.161393][ T6764] CPU: 1 PID: 6764 Comm: kworker/u4:6 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 61.171180][ T6764] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.181244][ T6764] Workqueue: netns cleanup_net [ 61.186004][ T6764] Call Trace: [ 61.189303][ T6764] dump_stack+0x18f/0x20d [ 61.193629][ T6764] ? afs_wake_up_async_call+0x400/0x4a0 [ 61.199173][ T6764] ? afs_put_call+0x440/0x440 [ 61.203853][ T6764] panic+0x2e3/0x75c [ 61.207742][ T6764] ? __warn_printk+0xf3/0xf3 [ 61.212331][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.217898][ T6764] ? trace_hardirqs_on+0x55/0x220 [ 61.222925][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.228473][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.234023][ T6764] ? afs_put_call+0x440/0x440 [ 61.241391][ T6764] end_report+0x4d/0x53 [ 61.245547][ T6764] kasan_report.cold+0xd/0x37 [ 61.250229][ T6764] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.255772][ T6764] afs_wake_up_async_call+0x430/0x4a0 [ 61.261138][ T6764] ? afs_close_socket+0x320/0x320 [ 61.266164][ T6764] rxrpc_notify_socket+0x1db/0x5d0 [ 61.271288][ T6764] ? afs_put_call+0x440/0x440 [ 61.275992][ T6764] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.282417][ T6764] rxrpc_call_completed+0xd0/0xf0 [ 61.287444][ T6764] rxrpc_discard_prealloc+0x777/0xab0 [ 61.292823][ T6764] ? lock_sock_nested+0x94/0x110 [ 61.297758][ T6764] rxrpc_listen+0x11c/0x330 [ 61.302265][ T6764] afs_close_socket+0x95/0x320 [ 61.307022][ T6764] ? afs_purge_servers+0x16d/0x300 [ 61.312129][ T6764] ? afs_rx_discard_new_call+0x50/0x50 [ 61.317595][ T6764] ? init_wait_var_entry+0x200/0x200 [ 61.322887][ T6764] ? check_preemption_disabled+0x38/0x220 [ 61.328609][ T6764] afs_net_exit+0x1bc/0x310 [ 61.333105][ T6764] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 61.338907][ T6764] ops_exit_list+0xb0/0x160 [ 61.343409][ T6764] cleanup_net+0x4ea/0xa00 [ 61.347826][ T6764] ? __schedule+0x887/0x1eb0 [ 61.352416][ T6764] ? ops_free_list.part.0+0x3d0/0x3d0 [ 61.357789][ T6764] ? check_preemption_disabled+0x38/0x220 [ 61.363510][ T6764] process_one_work+0x94c/0x1670 [ 61.368448][ T6764] ? lock_release+0x8d0/0x8d0 [ 61.373124][ T6764] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 61.378488][ T6764] ? rwlock_bug.part.0+0x90/0x90 [ 61.383512][ T6764] worker_thread+0x64c/0x1120 [ 61.388283][ T6764] ? __kthread_parkme+0x13f/0x1e0 [ 61.393302][ T6764] ? process_one_work+0x1670/0x1670 [ 61.398489][ T6764] kthread+0x3b5/0x4a0 [ 61.402550][ T6764] ? __kthread_bind_mask+0xc0/0xc0 [ 61.407661][ T6764] ? __kthread_bind_mask+0xc0/0xc0 [ 61.413122][ T6764] ret_from_fork+0x1f/0x30 [ 61.419091][ T6764] Kernel Offset: disabled [ 61.423429][ T6764] Rebooting in 86400 seconds..