[ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Started OpenBSD Secure Shell server. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.165' (ECDSA) to the list of known hosts. 2020/06/25 16:07:34 fuzzer started 2020/06/25 16:07:34 connecting to host at 10.128.0.26:36381 2020/06/25 16:07:34 checking machine... 2020/06/25 16:07:34 checking revisions... 2020/06/25 16:07:34 testing simple program... syzkaller login: [ 61.143757][ T6823] IPVS: ftp: loaded support on port[0] = 21 2020/06/25 16:07:35 building call list... [ 61.478745][ T26] tipc: TX() has been purged, node left! [ 62.020936][ T26] ================================================================== [ 62.029457][ T26] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 62.038318][ T26] Write of size 1 at addr ffff8880a03f29e4 by task kworker/u4:2/26 [ 62.046255][ T26] [ 62.048587][ T26] CPU: 1 PID: 26 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.056901][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.066958][ T26] Workqueue: netns cleanup_net [ 62.071714][ T26] Call Trace: [ 62.075012][ T26] dump_stack+0x18f/0x20d [ 62.079347][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.084888][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.090434][ T26] ? afs_put_call+0x440/0x440 [ 62.095138][ T26] print_address_description.constprop.0.cold+0xae/0x436 [ 62.102193][ T26] ? vprintk_func+0x97/0x1a6 [ 62.106804][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.112352][ T26] kasan_report.cold+0x1f/0x37 [ 62.117124][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.122845][ T26] afs_wake_up_async_call+0x430/0x4a0 [ 62.128222][ T26] ? afs_close_socket+0x320/0x320 [ 62.133250][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 62.138451][ T26] ? afs_put_call+0x440/0x440 [ 62.143133][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.149638][ T26] rxrpc_call_completed+0xd0/0xf0 [ 62.154666][ T26] rxrpc_discard_prealloc+0x777/0xab0 [ 62.160041][ T26] ? lock_sock_nested+0x94/0x110 [ 62.164993][ T26] rxrpc_listen+0x11c/0x330 [ 62.169624][ T26] afs_close_socket+0x95/0x320 [ 62.174387][ T26] ? afs_purge_servers+0x16d/0x300 [ 62.179685][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 62.185332][ T26] ? init_wait_var_entry+0x200/0x200 [ 62.190641][ T26] ? check_preemption_disabled+0x38/0x220 [ 62.196383][ T26] afs_net_exit+0x1bc/0x310 [ 62.200909][ T26] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 62.206634][ T26] ops_exit_list+0xb0/0x160 [ 62.211140][ T26] cleanup_net+0x4ea/0xa00 [ 62.216566][ T26] ? __schedule+0x887/0x1eb0 [ 62.221329][ T26] ? ops_free_list.part.0+0x3d0/0x3d0 [ 62.226791][ T26] ? check_preemption_disabled+0x38/0x220 [ 62.232644][ T26] process_one_work+0x94c/0x1670 [ 62.237601][ T26] ? lock_release+0x8d0/0x8d0 [ 62.242478][ T26] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 62.247865][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 62.252829][ T26] worker_thread+0x64c/0x1120 [ 62.257637][ T26] ? __kthread_parkme+0x13f/0x1e0 [ 62.262674][ T26] ? process_one_work+0x1670/0x1670 [ 62.267888][ T26] kthread+0x3b5/0x4a0 [ 62.271959][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 62.277154][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 62.282290][ T26] ret_from_fork+0x1f/0x30 [ 62.286724][ T26] [ 62.289049][ T26] Allocated by task 6823: [ 62.293379][ T26] save_stack+0x1b/0x40 [ 62.297538][ T26] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 62.304384][ T26] kmem_cache_alloc_trace+0x14f/0x2d0 [ 62.309756][ T26] afs_alloc_call+0x4f/0x360 [ 62.314436][ T26] afs_charge_preallocation+0xe9/0x2d0 [ 62.319892][ T26] afs_open_socket+0x294/0x360 [ 62.324651][ T26] afs_net_init+0xa6c/0xe30 [ 62.329149][ T26] ops_init+0xaf/0x470 [ 62.335470][ T26] setup_net+0x2d8/0x850 [ 62.339706][ T26] copy_net_ns+0x2cf/0x5e0 [ 62.344122][ T26] create_new_namespaces+0x3f6/0xb10 [ 62.349405][ T26] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.355164][ T26] ksys_unshare+0x36c/0x9a0 [ 62.359681][ T26] __x64_sys_unshare+0x2d/0x40 [ 62.364462][ T26] do_syscall_64+0x60/0xe0 [ 62.368894][ T26] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.374772][ T26] [ 62.377093][ T26] Freed by task 26: [ 62.380900][ T26] save_stack+0x1b/0x40 [ 62.385051][ T26] __kasan_slab_free+0xf5/0x140 [ 62.389909][ T26] kfree+0x103/0x2c0 [ 62.393813][ T26] afs_put_call+0x345/0x440 [ 62.398331][ T26] rxrpc_discard_prealloc+0x75a/0xab0 [ 62.403710][ T26] rxrpc_listen+0x11c/0x330 [ 62.408433][ T26] afs_close_socket+0x95/0x320 [ 62.414036][ T26] afs_net_exit+0x1bc/0x310 [ 62.418554][ T26] ops_exit_list+0xb0/0x160 [ 62.423082][ T26] cleanup_net+0x4ea/0xa00 [ 62.427507][ T26] process_one_work+0x94c/0x1670 [ 62.432443][ T26] worker_thread+0x64c/0x1120 [ 62.437116][ T26] kthread+0x3b5/0x4a0 [ 62.441185][ T26] ret_from_fork+0x1f/0x30 [ 62.445587][ T26] [ 62.447915][ T26] The buggy address belongs to the object at ffff8880a03f2800 [ 62.447915][ T26] which belongs to the cache kmalloc-1k of size 1024 [ 62.461963][ T26] The buggy address is located 484 bytes inside of [ 62.461963][ T26] 1024-byte region [ffff8880a03f2800, ffff8880a03f2c00) [ 62.475578][ T26] The buggy address belongs to the page: [ 62.481223][ T26] page:ffffea000280fc80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.490339][ T26] flags: 0xfffe0000000200(slab) [ 62.495194][ T26] raw: 00fffe0000000200 ffffea0002a59588 ffffea00029a6348 ffff8880aa000c40 [ 62.504221][ T26] raw: 0000000000000000 ffff8880a03f2000 0000000100000002 0000000000000000 [ 62.512794][ T26] page dumped because: kasan: bad access detected [ 62.519200][ T26] [ 62.521518][ T26] Memory state around the buggy address: [ 62.528100][ T26] ffff8880a03f2880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.536532][ T26] ffff8880a03f2900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.544677][ T26] >ffff8880a03f2980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.552734][ T26] ^ [ 62.559945][ T26] ffff8880a03f2a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.568354][ T26] ffff8880a03f2a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.576500][ T26] ================================================================== [ 62.584572][ T26] Disabling lock debugging due to kernel taint [ 62.590949][ T26] Kernel panic - not syncing: panic_on_warn set ... [ 62.597621][ T26] CPU: 1 PID: 26 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.607242][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.617328][ T26] Workqueue: netns cleanup_net [ 62.622081][ T26] Call Trace: [ 62.625378][ T26] dump_stack+0x18f/0x20d [ 62.629711][ T26] ? afs_wake_up_async_call+0x370/0x4a0 [ 62.635598][ T26] ? afs_put_call+0x440/0x440 [ 62.640291][ T26] panic+0x2e3/0x75c [ 62.644188][ T26] ? __warn_printk+0xf3/0xf3 [ 62.648779][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.654498][ T26] ? trace_hardirqs_on+0x55/0x220 [ 62.659518][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.665056][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.670592][ T26] ? afs_put_call+0x440/0x440 [ 62.675260][ T26] end_report+0x4d/0x53 [ 62.679502][ T26] kasan_report.cold+0xd/0x37 [ 62.684173][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.689712][ T26] afs_wake_up_async_call+0x430/0x4a0 [ 62.695075][ T26] ? afs_close_socket+0x320/0x320 [ 62.700095][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 62.705200][ T26] ? afs_put_call+0x440/0x440 [ 62.709884][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.716296][ T26] rxrpc_call_completed+0xd0/0xf0 [ 62.721317][ T26] rxrpc_discard_prealloc+0x777/0xab0 [ 62.726681][ T26] ? lock_sock_nested+0x94/0x110 [ 62.731615][ T26] rxrpc_listen+0x11c/0x330 [ 62.738504][ T26] afs_close_socket+0x95/0x320 [ 62.743268][ T26] ? afs_purge_servers+0x16d/0x300 [ 62.748391][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 62.754025][ T26] ? init_wait_var_entry+0x200/0x200 [ 62.759312][ T26] ? check_preemption_disabled+0x38/0x220 [ 62.765033][ T26] afs_net_exit+0x1bc/0x310 [ 62.769619][ T26] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 62.775248][ T26] ops_exit_list+0xb0/0x160 [ 62.782874][ T26] cleanup_net+0x4ea/0xa00 [ 62.787284][ T26] ? __schedule+0x887/0x1eb0 [ 62.791872][ T26] ? ops_free_list.part.0+0x3d0/0x3d0 [ 62.797332][ T26] ? check_preemption_disabled+0x38/0x220 [ 62.803244][ T26] process_one_work+0x94c/0x1670 [ 62.808190][ T26] ? lock_release+0x8d0/0x8d0 [ 62.812864][ T26] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 62.818240][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 62.823192][ T26] worker_thread+0x64c/0x1120 [ 62.827876][ T26] ? __kthread_parkme+0x13f/0x1e0 [ 62.832898][ T26] ? process_one_work+0x1670/0x1670 [ 62.838092][ T26] kthread+0x3b5/0x4a0 [ 62.842243][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 62.847553][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 62.852676][ T26] ret_from_fork+0x1f/0x30 [ 62.858907][ T26] Kernel Offset: disabled [ 62.863244][ T26] Rebooting in 86400 seconds..