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.1.61' (ECDSA) to the list of known hosts. 2020/06/25 16:15:43 fuzzer started 2020/06/25 16:15:44 connecting to host at 10.128.0.26:38503 2020/06/25 16:15:44 checking machine... 2020/06/25 16:15:44 checking revisions... 2020/06/25 16:15:44 testing simple program... syzkaller login: [ 59.450521][ T6873] IPVS: ftp: loaded support on port[0] = 21 2020/06/25 16:15:44 building call list... [ 59.845884][ T21] tipc: TX() has been purged, node left! [ 60.327160][ T21] ================================================================== [ 60.335402][ T21] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 60.343376][ T21] Write of size 1 at addr ffff8880a6bf89e4 by task kworker/u4:1/21 [ 60.351257][ T21] [ 60.353586][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Not tainted 5.8.0-rc1-syzkaller #0 [ 60.361808][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.371949][ T21] Workqueue: netns cleanup_net [ 60.376699][ T21] Call Trace: [ 60.379985][ T21] dump_stack+0x18f/0x20d [ 60.384314][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.389855][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.395393][ T21] ? afs_put_call+0x440/0x440 [ 60.400070][ T21] print_address_description.constprop.0.cold+0xae/0x436 [ 60.407099][ T21] ? vprintk_func+0x97/0x1a6 [ 60.411690][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.417227][ T21] kasan_report.cold+0x1f/0x37 [ 60.421991][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.427537][ T21] afs_wake_up_async_call+0x430/0x4a0 [ 60.432902][ T21] ? afs_close_socket+0x320/0x320 [ 60.437929][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 60.443054][ T21] ? afs_put_call+0x440/0x440 [ 60.447729][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.454146][ T21] rxrpc_call_completed+0xd0/0xf0 [ 60.459172][ T21] rxrpc_discard_prealloc+0x777/0xab0 [ 60.464542][ T21] ? lock_sock_nested+0x94/0x110 [ 60.469480][ T21] rxrpc_listen+0x11c/0x330 [ 60.473985][ T21] afs_close_socket+0x95/0x320 [ 60.478743][ T21] ? afs_purge_servers+0x16d/0x300 [ 60.483853][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 60.489313][ T21] ? init_wait_var_entry+0x200/0x200 [ 60.494609][ T21] ? check_preemption_disabled+0x38/0x220 [ 60.500333][ T21] afs_net_exit+0x1bc/0x310 [ 60.504834][ T21] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.510460][ T21] ops_exit_list+0xb0/0x160 [ 60.514972][ T21] cleanup_net+0x4ea/0xa00 [ 60.519382][ T21] ? __schedule+0x887/0x1eb0 [ 60.524055][ T21] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.529426][ T21] ? check_preemption_disabled+0x38/0x220 [ 60.535156][ T21] process_one_work+0x94c/0x1670 [ 60.541577][ T21] ? lock_release+0x8d0/0x8d0 [ 60.546249][ T21] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.551640][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 60.556604][ T21] worker_thread+0x64c/0x1120 [ 60.561300][ T21] ? process_one_work+0x1670/0x1670 [ 60.566492][ T21] kthread+0x3b5/0x4a0 [ 60.570554][ T21] ? __kthread_bind_mask+0xc0/0xc0 [ 60.575657][ T21] ? __kthread_bind_mask+0xc0/0xc0 [ 60.580768][ T21] ret_from_fork+0x1f/0x30 [ 60.585191][ T21] [ 60.587512][ T21] Allocated by task 6873: [ 60.591834][ T21] save_stack+0x1b/0x40 [ 60.595984][ T21] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 60.601611][ T21] kmem_cache_alloc_trace+0x14f/0x2d0 [ 60.606979][ T21] afs_alloc_call+0x4f/0x360 [ 60.611561][ T21] afs_charge_preallocation+0xe9/0x2d0 [ 60.617013][ T21] afs_open_socket+0x294/0x360 [ 60.621769][ T21] afs_net_init+0xa6c/0xe30 [ 60.626702][ T21] ops_init+0xaf/0x470 [ 60.630765][ T21] setup_net+0x2d8/0x850 [ 60.634999][ T21] copy_net_ns+0x2cf/0x5e0 [ 60.639409][ T21] create_new_namespaces+0x3f6/0xb10 [ 60.644688][ T21] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.650313][ T21] ksys_unshare+0x36c/0x9a0 [ 60.654816][ T21] __x64_sys_unshare+0x2d/0x40 [ 60.659571][ T21] do_syscall_64+0x60/0xe0 [ 60.663985][ T21] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 60.669876][ T21] [ 60.672211][ T21] Freed by task 21: [ 60.676031][ T21] save_stack+0x1b/0x40 [ 60.680203][ T21] __kasan_slab_free+0xf5/0x140 [ 60.685059][ T21] kfree+0x103/0x2c0 [ 60.688950][ T21] afs_put_call+0x345/0x440 [ 60.693447][ T21] rxrpc_discard_prealloc+0x75a/0xab0 [ 60.698815][ T21] rxrpc_listen+0x11c/0x330 [ 60.704091][ T21] afs_close_socket+0x95/0x320 [ 60.708849][ T21] afs_net_exit+0x1bc/0x310 [ 60.713345][ T21] ops_exit_list+0xb0/0x160 [ 60.717841][ T21] cleanup_net+0x4ea/0xa00 [ 60.722250][ T21] process_one_work+0x94c/0x1670 [ 60.727181][ T21] worker_thread+0x64c/0x1120 [ 60.731849][ T21] kthread+0x3b5/0x4a0 [ 60.735924][ T21] ret_from_fork+0x1f/0x30 [ 60.740324][ T21] [ 60.742645][ T21] The buggy address belongs to the object at ffff8880a6bf8800 [ 60.742645][ T21] which belongs to the cache kmalloc-1k of size 1024 [ 60.756696][ T21] The buggy address is located 484 bytes inside of [ 60.756696][ T21] 1024-byte region [ffff8880a6bf8800, ffff8880a6bf8c00) [ 60.770041][ T21] The buggy address belongs to the page: [ 60.775668][ T21] page:ffffea00029afe00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.784762][ T21] flags: 0xfffe0000000200(slab) [ 60.789614][ T21] raw: 00fffe0000000200 ffffea00027e2b08 ffffea00027e6848 ffff8880aa000c40 [ 60.798195][ T21] raw: 0000000000000000 ffff8880a6bf8000 0000000100000002 0000000000000000 [ 60.806764][ T21] page dumped because: kasan: bad access detected [ 60.813162][ T21] [ 60.815484][ T21] Memory state around the buggy address: [ 60.821628][ T21] ffff8880a6bf8880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.829697][ T21] ffff8880a6bf8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.837759][ T21] >ffff8880a6bf8980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.845816][ T21] ^ [ 60.853002][ T21] ffff8880a6bf8a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.861056][ T21] ffff8880a6bf8a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.869371][ T21] ================================================================== [ 60.877690][ T21] Disabling lock debugging due to kernel taint [ 60.883898][ T21] Kernel panic - not syncing: panic_on_warn set ... [ 60.890488][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 60.900113][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.910184][ T21] Workqueue: netns cleanup_net [ 60.915031][ T21] Call Trace: [ 60.918325][ T21] dump_stack+0x18f/0x20d [ 60.922657][ T21] ? afs_wake_up_async_call+0x400/0x4a0 [ 60.928206][ T21] ? afs_put_call+0x440/0x440 [ 60.932891][ T21] panic+0x2e3/0x75c [ 60.936782][ T21] ? __warn_printk+0xf3/0xf3 [ 60.941370][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.946913][ T21] ? trace_hardirqs_on+0x55/0x220 [ 60.951929][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.957476][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.963016][ T21] ? afs_put_call+0x440/0x440 [ 60.967698][ T21] end_report+0x4d/0x53 [ 60.971858][ T21] kasan_report.cold+0xd/0x37 [ 60.976538][ T21] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.982090][ T21] afs_wake_up_async_call+0x430/0x4a0 [ 60.987566][ T21] ? afs_close_socket+0x320/0x320 [ 60.992599][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 60.997705][ T21] ? afs_put_call+0x440/0x440 [ 61.002373][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.009249][ T21] rxrpc_call_completed+0xd0/0xf0 [ 61.014275][ T21] rxrpc_discard_prealloc+0x777/0xab0 [ 61.019644][ T21] ? lock_sock_nested+0x94/0x110 [ 61.024574][ T21] rxrpc_listen+0x11c/0x330 [ 61.030163][ T21] afs_close_socket+0x95/0x320 [ 61.034927][ T21] ? afs_purge_servers+0x16d/0x300 [ 61.040191][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 61.045653][ T21] ? init_wait_var_entry+0x200/0x200 [ 61.050954][ T21] ? check_preemption_disabled+0x38/0x220 [ 61.056670][ T21] afs_net_exit+0x1bc/0x310 [ 61.061164][ T21] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 61.066799][ T21] ops_exit_list+0xb0/0x160 [ 61.071318][ T21] cleanup_net+0x4ea/0xa00 [ 61.075724][ T21] ? __schedule+0x887/0x1eb0 [ 61.080304][ T21] ? ops_free_list.part.0+0x3d0/0x3d0 [ 61.085672][ T21] ? check_preemption_disabled+0x38/0x220 [ 61.091390][ T21] process_one_work+0x94c/0x1670 [ 61.096416][ T21] ? lock_release+0x8d0/0x8d0 [ 61.101092][ T21] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 61.106478][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 61.111411][ T21] worker_thread+0x64c/0x1120 [ 61.116092][ T21] ? process_one_work+0x1670/0x1670 [ 61.121287][ T21] kthread+0x3b5/0x4a0 [ 61.125348][ T21] ? __kthread_bind_mask+0xc0/0xc0 [ 61.130456][ T21] ? __kthread_bind_mask+0xc0/0xc0 [ 61.135559][ T21] ret_from_fork+0x1f/0x30 [ 61.141466][ T21] Kernel Offset: disabled [ 61.145832][ T21] Rebooting in 86400 seconds..