Warning: Permanently added '10.128.0.148' (ECDSA) to the list of known hosts. 2020/06/25 21:19:17 fuzzer started 2020/06/25 21:19:17 connecting to host at 10.128.0.26:34621 2020/06/25 21:19:17 checking machine... 2020/06/25 21:19:17 checking revisions... 2020/06/25 21:19:17 testing simple program... syzkaller login: [ 60.676389][ T6837] IPVS: ftp: loaded support on port[0] = 21 2020/06/25 21:19:18 building call list... [ 61.030703][ T126] tipc: TX() has been purged, node left! [ 61.562895][ T126] ================================================================== [ 61.571145][ T126] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 61.579204][ T126] Write of size 1 at addr ffff8880971399e4 by task kworker/u4:3/126 [ 61.587170][ T126] [ 61.589590][ T126] CPU: 0 PID: 126 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-syzkaller #0 [ 61.597902][ T126] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.607965][ T126] Workqueue: netns cleanup_net [ 61.612810][ T126] Call Trace: [ 61.616100][ T126] dump_stack+0x18f/0x20d [ 61.620436][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.625981][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.631521][ T126] ? afs_put_call+0x440/0x440 [ 61.636197][ T126] print_address_description.constprop.0.cold+0xae/0x436 [ 61.643225][ T126] ? vprintk_func+0x97/0x1a6 [ 61.647816][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.653361][ T126] kasan_report.cold+0x1f/0x37 [ 61.658130][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.663675][ T126] afs_wake_up_async_call+0x430/0x4a0 [ 61.669053][ T126] ? afs_close_socket+0x320/0x320 [ 61.674330][ T126] rxrpc_notify_socket+0x1db/0x5d0 [ 61.679625][ T126] ? afs_put_call+0x440/0x440 [ 61.684317][ T126] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.690736][ T126] rxrpc_call_completed+0xd0/0xf0 [ 61.695759][ T126] rxrpc_discard_prealloc+0x777/0xab0 [ 61.701144][ T126] ? lock_sock_nested+0x94/0x110 [ 61.707395][ T126] rxrpc_listen+0x11c/0x330 [ 61.711897][ T126] afs_close_socket+0x95/0x320 [ 61.716659][ T126] ? afs_purge_servers+0x16d/0x300 [ 61.721786][ T126] ? afs_rx_discard_new_call+0x50/0x50 [ 61.727854][ T126] ? init_wait_var_entry+0x200/0x200 [ 61.733151][ T126] ? check_preemption_disabled+0x38/0x220 [ 61.739116][ T126] afs_net_exit+0x1bc/0x310 [ 61.743893][ T126] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 61.749554][ T126] ops_exit_list+0xb0/0x160 [ 61.754084][ T126] cleanup_net+0x4ea/0xa00 [ 61.758505][ T126] ? __schedule+0x887/0x1eb0 [ 61.763097][ T126] ? ops_free_list.part.0+0x3d0/0x3d0 [ 61.768479][ T126] ? check_preemption_disabled+0x38/0x220 [ 61.774207][ T126] process_one_work+0x94c/0x1670 [ 61.779152][ T126] ? lock_release+0x8d0/0x8d0 [ 61.783833][ T126] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 61.789815][ T126] ? rwlock_bug.part.0+0x90/0x90 [ 61.794763][ T126] worker_thread+0x64c/0x1120 [ 61.799455][ T126] ? process_one_work+0x1670/0x1670 [ 61.804748][ T126] kthread+0x3b5/0x4a0 [ 61.808819][ T126] ? __kthread_bind_mask+0xc0/0xc0 [ 61.813944][ T126] ? __kthread_bind_mask+0xc0/0xc0 [ 61.819145][ T126] ret_from_fork+0x1f/0x30 [ 61.823570][ T126] [ 61.825891][ T126] Allocated by task 6837: [ 61.830215][ T126] save_stack+0x1b/0x40 [ 61.834801][ T126] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 61.840427][ T126] kmem_cache_alloc_trace+0x14f/0x2d0 [ 61.845878][ T126] afs_alloc_call+0x4f/0x360 [ 61.850464][ T126] afs_charge_preallocation+0xe9/0x2d0 [ 61.855939][ T126] afs_open_socket+0x294/0x360 [ 61.860694][ T126] afs_net_init+0xa6c/0xe30 [ 61.865195][ T126] ops_init+0xaf/0x470 [ 61.869394][ T126] setup_net+0x2d8/0x850 [ 61.874324][ T126] copy_net_ns+0x2cf/0x5e0 [ 61.879375][ T126] create_new_namespaces+0x3f6/0xb10 [ 61.884658][ T126] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.890282][ T126] ksys_unshare+0x36c/0x9a0 [ 61.894982][ T126] __x64_sys_unshare+0x2d/0x40 [ 61.899747][ T126] do_syscall_64+0x60/0xe0 [ 61.904183][ T126] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.910073][ T126] [ 61.912409][ T126] Freed by task 126: [ 61.916302][ T126] save_stack+0x1b/0x40 [ 61.920568][ T126] __kasan_slab_free+0xf5/0x140 [ 61.925423][ T126] kfree+0x103/0x2c0 [ 61.929665][ T126] afs_put_call+0x345/0x440 [ 61.934188][ T126] rxrpc_discard_prealloc+0x75a/0xab0 [ 61.940367][ T126] rxrpc_listen+0x11c/0x330 [ 61.944866][ T126] afs_close_socket+0x95/0x320 [ 61.949626][ T126] afs_net_exit+0x1bc/0x310 [ 61.954158][ T126] ops_exit_list+0xb0/0x160 [ 61.958811][ T126] cleanup_net+0x4ea/0xa00 [ 61.963325][ T126] process_one_work+0x94c/0x1670 [ 61.968465][ T126] worker_thread+0x64c/0x1120 [ 61.973243][ T126] kthread+0x3b5/0x4a0 [ 61.977314][ T126] ret_from_fork+0x1f/0x30 [ 61.981801][ T126] [ 61.984515][ T126] The buggy address belongs to the object at ffff888097139800 [ 61.984515][ T126] which belongs to the cache kmalloc-1k of size 1024 [ 61.999873][ T126] The buggy address is located 484 bytes inside of [ 61.999873][ T126] 1024-byte region [ffff888097139800, ffff888097139c00) [ 62.013401][ T126] The buggy address belongs to the page: [ 62.019026][ T126] page:ffffea00025c4e40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.028217][ T126] flags: 0xfffe0000000200(slab) [ 62.033074][ T126] raw: 00fffe0000000200 ffffea0002554708 ffffea00029e9a88 ffff8880aa000c40 [ 62.042472][ T126] raw: 0000000000000000 ffff888097139000 0000000100000002 0000000000000000 [ 62.051501][ T126] page dumped because: kasan: bad access detected [ 62.058198][ T126] [ 62.060528][ T126] Memory state around the buggy address: [ 62.066360][ T126] ffff888097139880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.074442][ T126] ffff888097139900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.082587][ T126] >ffff888097139980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.090641][ T126] ^ [ 62.097934][ T126] ffff888097139a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.106181][ T126] ffff888097139a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.114429][ T126] ================================================================== [ 62.122481][ T126] Disabling lock debugging due to kernel taint [ 62.128767][ T126] Kernel panic - not syncing: panic_on_warn set ... [ 62.135353][ T126] CPU: 0 PID: 126 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.145068][ T126] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.155591][ T126] Workqueue: netns cleanup_net [ 62.160455][ T126] Call Trace: [ 62.163848][ T126] dump_stack+0x18f/0x20d [ 62.168180][ T126] ? afs_wake_up_async_call+0x370/0x4a0 [ 62.173728][ T126] ? afs_put_call+0x440/0x440 [ 62.178409][ T126] panic+0x2e3/0x75c [ 62.182387][ T126] ? __warn_printk+0xf3/0xf3 [ 62.187000][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.192543][ T126] ? trace_hardirqs_on+0x55/0x220 [ 62.197562][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.203132][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.208763][ T126] ? afs_put_call+0x440/0x440 [ 62.213547][ T126] end_report+0x4d/0x53 [ 62.217696][ T126] kasan_report.cold+0xd/0x37 [ 62.222564][ T126] ? afs_wake_up_async_call+0x430/0x4a0 [ 62.228100][ T126] afs_wake_up_async_call+0x430/0x4a0 [ 62.233465][ T126] ? afs_close_socket+0x320/0x320 [ 62.238494][ T126] rxrpc_notify_socket+0x1db/0x5d0 [ 62.243600][ T126] ? afs_put_call+0x440/0x440 [ 62.248275][ T126] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.254782][ T126] rxrpc_call_completed+0xd0/0xf0 [ 62.259799][ T126] rxrpc_discard_prealloc+0x777/0xab0 [ 62.265169][ T126] ? lock_sock_nested+0x94/0x110 [ 62.271145][ T126] rxrpc_listen+0x11c/0x330 [ 62.275814][ T126] afs_close_socket+0x95/0x320 [ 62.280660][ T126] ? afs_purge_servers+0x16d/0x300 [ 62.285850][ T126] ? afs_rx_discard_new_call+0x50/0x50 [ 62.291298][ T126] ? init_wait_var_entry+0x200/0x200 [ 62.296586][ T126] ? check_preemption_disabled+0x38/0x220 [ 62.302472][ T126] afs_net_exit+0x1bc/0x310 [ 62.306966][ T126] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 62.312594][ T126] ops_exit_list+0xb0/0x160 [ 62.317093][ T126] cleanup_net+0x4ea/0xa00 [ 62.322458][ T126] ? __schedule+0x887/0x1eb0 [ 62.327042][ T126] ? ops_free_list.part.0+0x3d0/0x3d0 [ 62.332643][ T126] ? check_preemption_disabled+0x38/0x220 [ 62.338454][ T126] process_one_work+0x94c/0x1670 [ 62.343394][ T126] ? lock_release+0x8d0/0x8d0 [ 62.348066][ T126] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 62.353479][ T126] ? rwlock_bug.part.0+0x90/0x90 [ 62.358461][ T126] worker_thread+0x64c/0x1120 [ 62.363245][ T126] ? process_one_work+0x1670/0x1670 [ 62.368539][ T126] kthread+0x3b5/0x4a0 [ 62.372607][ T126] ? __kthread_bind_mask+0xc0/0xc0 [ 62.377796][ T126] ? __kthread_bind_mask+0xc0/0xc0 [ 62.382903][ T126] ret_from_fork+0x1f/0x30 [ 62.387993][ T126] Kernel Offset: disabled [ 62.392318][ T126] Rebooting in 86400 seconds..