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.117' (ECDSA) to the list of known hosts. 2020/06/26 01:23:19 fuzzer started 2020/06/26 01:23:19 connecting to host at 10.128.0.26:38187 2020/06/26 01:23:19 checking machine... 2020/06/26 01:23:19 checking revisions... 2020/06/26 01:23:19 testing simple program... syzkaller login: [ 59.278830][ T6842] IPVS: ftp: loaded support on port[0] = 21 2020/06/26 01:23:20 building call list... [ 59.614187][ T161] tipc: TX() has been purged, node left! [ 60.136237][ T161] ================================================================== [ 60.144586][ T161] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 60.152473][ T161] Write of size 1 at addr ffff8880974321e4 by task kworker/u4:3/161 [ 60.160436][ T161] [ 60.162766][ T161] CPU: 0 PID: 161 Comm: kworker/u4:3 Not tainted 5.8.0-rc2-syzkaller #0 [ 60.171085][ T161] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.181141][ T161] Workqueue: netns cleanup_net [ 60.185982][ T161] Call Trace: [ 60.189272][ T161] dump_stack+0x18f/0x20d [ 60.193601][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.199230][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.204775][ T161] ? afs_put_call+0x440/0x440 [ 60.209455][ T161] print_address_description.constprop.0.cold+0xae/0x436 [ 60.216487][ T161] ? vprintk_func+0x97/0x1a6 [ 60.221085][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.226627][ T161] kasan_report.cold+0x1f/0x37 [ 60.231394][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.237440][ T161] afs_wake_up_async_call+0x430/0x4a0 [ 60.242935][ T161] ? afs_close_socket+0x320/0x320 [ 60.247968][ T161] rxrpc_notify_socket+0x1db/0x5d0 [ 60.253088][ T161] ? afs_put_call+0x440/0x440 [ 60.257771][ T161] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.264191][ T161] rxrpc_call_completed+0xd0/0xf0 [ 60.269229][ T161] rxrpc_discard_prealloc+0x777/0xab0 [ 60.274601][ T161] ? lock_sock_nested+0x94/0x110 [ 60.279542][ T161] rxrpc_listen+0x11c/0x330 [ 60.284049][ T161] afs_close_socket+0x95/0x320 [ 60.288812][ T161] ? afs_purge_servers+0x181/0x330 [ 60.293933][ T161] ? afs_rx_discard_new_call+0x50/0x50 [ 60.299395][ T161] ? init_wait_var_entry+0x200/0x200 [ 60.304703][ T161] afs_net_exit+0x1c4/0x310 [ 60.309206][ T161] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.314835][ T161] ops_exit_list+0xb0/0x160 [ 60.319339][ T161] cleanup_net+0x4ea/0xa00 [ 60.323753][ T161] ? __schedule+0x887/0x1eb0 [ 60.328346][ T161] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.333718][ T161] ? check_preemption_disabled+0x38/0x220 [ 60.339452][ T161] process_one_work+0x94c/0x1670 [ 60.344416][ T161] ? lock_release+0x8d0/0x8d0 [ 60.349103][ T161] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.354486][ T161] ? rwlock_bug.part.0+0x90/0x90 [ 60.359442][ T161] worker_thread+0x64c/0x1120 [ 60.364134][ T161] ? __kthread_parkme+0x13f/0x1e0 [ 60.369157][ T161] ? process_one_work+0x1670/0x1670 [ 60.374353][ T161] kthread+0x3b5/0x4a0 [ 60.378424][ T161] ? __kthread_bind_mask+0xc0/0xc0 [ 60.383530][ T161] ? __kthread_bind_mask+0xc0/0xc0 [ 60.388644][ T161] ret_from_fork+0x1f/0x30 [ 60.393069][ T161] [ 60.395389][ T161] Allocated by task 6842: [ 60.399725][ T161] save_stack+0x1b/0x40 [ 60.403878][ T161] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 60.409508][ T161] kmem_cache_alloc_trace+0x14f/0x2d0 [ 60.414969][ T161] afs_alloc_call+0x4f/0x360 [ 60.419564][ T161] afs_charge_preallocation+0xe9/0x2d0 [ 60.425024][ T161] afs_open_socket+0x294/0x360 [ 60.429782][ T161] afs_net_init+0xab4/0xe90 [ 60.434279][ T161] ops_init+0xaf/0x470 [ 60.438339][ T161] setup_net+0x2d8/0x850 [ 60.442591][ T161] copy_net_ns+0x2cf/0x5e0 [ 60.447008][ T161] create_new_namespaces+0x3f6/0xb10 [ 60.452395][ T161] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.458047][ T161] ksys_unshare+0x36c/0x9a0 [ 60.462572][ T161] __ia32_sys_unshare+0x2c/0x40 [ 60.467440][ T161] do_syscall_32_irqs_on+0x3f/0x60 [ 60.472570][ T161] do_fast_syscall_32+0x7f/0x120 [ 60.477624][ T161] entry_SYSENTER_compat+0x6d/0x7c [ 60.482725][ T161] [ 60.485050][ T161] Freed by task 161: [ 60.488959][ T161] save_stack+0x1b/0x40 [ 60.493127][ T161] __kasan_slab_free+0xf5/0x140 [ 60.497978][ T161] kfree+0x103/0x2c0 [ 60.501869][ T161] afs_put_call+0x345/0x440 [ 60.506551][ T161] rxrpc_discard_prealloc+0x75a/0xab0 [ 60.511938][ T161] rxrpc_listen+0x11c/0x330 [ 60.516446][ T161] afs_close_socket+0x95/0x320 [ 60.521207][ T161] afs_net_exit+0x1c4/0x310 [ 60.525716][ T161] ops_exit_list+0xb0/0x160 [ 60.530215][ T161] cleanup_net+0x4ea/0xa00 [ 60.534631][ T161] process_one_work+0x94c/0x1670 [ 60.539568][ T161] worker_thread+0x64c/0x1120 [ 60.544243][ T161] kthread+0x3b5/0x4a0 [ 60.548311][ T161] ret_from_fork+0x1f/0x30 [ 60.552719][ T161] [ 60.555046][ T161] The buggy address belongs to the object at ffff888097432000 [ 60.555046][ T161] which belongs to the cache kmalloc-1k of size 1024 [ 60.569093][ T161] The buggy address is located 484 bytes inside of [ 60.569093][ T161] 1024-byte region [ffff888097432000, ffff888097432400) [ 60.582872][ T161] The buggy address belongs to the page: [ 60.588513][ T161] page:ffffea00025d0c80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.597614][ T161] flags: 0xfffe0000000200(slab) [ 60.602467][ T161] raw: 00fffe0000000200 ffffea00024e61c8 ffffea0002484c48 ffff8880aa000c40 [ 60.611057][ T161] raw: 0000000000000000 ffff888097432000 0000000100000002 0000000000000000 [ 60.619634][ T161] page dumped because: kasan: bad access detected [ 60.626035][ T161] [ 60.628356][ T161] Memory state around the buggy address: [ 60.633985][ T161] ffff888097432080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.642043][ T161] ffff888097432100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.650102][ T161] >ffff888097432180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.658330][ T161] ^ [ 60.665521][ T161] ffff888097432200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.673929][ T161] ffff888097432280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.681979][ T161] ================================================================== [ 60.690117][ T161] Disabling lock debugging due to kernel taint [ 60.696316][ T161] Kernel panic - not syncing: panic_on_warn set ... [ 60.702898][ T161] CPU: 0 PID: 161 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc2-syzkaller #0 [ 60.712607][ T161] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.722663][ T161] Workqueue: netns cleanup_net [ 60.727415][ T161] Call Trace: [ 60.730785][ T161] dump_stack+0x18f/0x20d [ 60.735197][ T161] ? afs_wake_up_async_call+0x390/0x4a0 [ 60.740730][ T161] ? afs_put_call+0x440/0x440 [ 60.745399][ T161] panic+0x2e3/0x75c [ 60.749285][ T161] ? __warn_printk+0xf3/0xf3 [ 60.753874][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.759420][ T161] ? trace_hardirqs_on+0x55/0x220 [ 60.764438][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.769973][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.775507][ T161] ? afs_put_call+0x440/0x440 [ 60.780178][ T161] end_report+0x4d/0x53 [ 60.784362][ T161] kasan_report.cold+0xd/0x37 [ 60.789032][ T161] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.794570][ T161] afs_wake_up_async_call+0x430/0x4a0 [ 60.799934][ T161] ? afs_close_socket+0x320/0x320 [ 60.804954][ T161] rxrpc_notify_socket+0x1db/0x5d0 [ 60.810060][ T161] ? afs_put_call+0x440/0x440 [ 60.814729][ T161] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.821136][ T161] rxrpc_call_completed+0xd0/0xf0 [ 60.826152][ T161] rxrpc_discard_prealloc+0x777/0xab0 [ 60.831520][ T161] ? lock_sock_nested+0x94/0x110 [ 60.836490][ T161] rxrpc_listen+0x11c/0x330 [ 60.840990][ T161] afs_close_socket+0x95/0x320 [ 60.845747][ T161] ? afs_purge_servers+0x181/0x330 [ 60.850849][ T161] ? afs_rx_discard_new_call+0x50/0x50 [ 60.856304][ T161] ? init_wait_var_entry+0x200/0x200 [ 60.861584][ T161] afs_net_exit+0x1c4/0x310 [ 60.866078][ T161] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.871701][ T161] ops_exit_list+0xb0/0x160 [ 60.876198][ T161] cleanup_net+0x4ea/0xa00 [ 60.880610][ T161] ? __schedule+0x887/0x1eb0 [ 60.885191][ T161] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.890556][ T161] ? check_preemption_disabled+0x38/0x220 [ 60.896270][ T161] process_one_work+0x94c/0x1670 [ 60.901301][ T161] ? lock_release+0x8d0/0x8d0 [ 60.905971][ T161] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.911344][ T161] ? rwlock_bug.part.0+0x90/0x90 [ 60.916279][ T161] worker_thread+0x64c/0x1120 [ 60.920973][ T161] ? __kthread_parkme+0x13f/0x1e0 [ 60.925990][ T161] ? process_one_work+0x1670/0x1670 [ 60.931181][ T161] kthread+0x3b5/0x4a0 [ 60.935243][ T161] ? __kthread_bind_mask+0xc0/0xc0 [ 60.940355][ T161] ? __kthread_bind_mask+0xc0/0xc0 [ 60.945462][ T161] ret_from_fork+0x1f/0x30 [ 60.951456][ T161] Kernel Offset: disabled [ 60.955824][ T161] Rebooting in 86400 seconds..