Starting Load/Save RF Kill Switch Status... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.58' (ECDSA) to the list of known hosts. 2020/06/18 08:34:32 fuzzer started 2020/06/18 08:34:33 connecting to host at 10.128.0.26:42203 2020/06/18 08:34:33 checking machine... 2020/06/18 08:34:33 checking revisions... 2020/06/18 08:34:33 testing simple program... syzkaller login: [ 61.134398][ T6821] IPVS: ftp: loaded support on port[0] = 21 2020/06/18 08:34:33 building call list... [ 61.509377][ T21] tipc: TX() has been purged, node left! [ 61.991947][ T21] ================================================================== [ 62.000218][ T21] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.008116][ T21] Write of size 1 at addr ffff8880a4da51e4 by task kworker/u4:1/21 [ 62.015995][ T21] [ 62.018524][ T21] CPU: 0 PID: 21 Comm: kworker/u4:1 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.026751][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.036821][ T21] Workqueue: netns cleanup_net [ 62.041575][ T21] Call Trace: [ 62.044867][ T21] dump_stack+0x18f/0x20d [ 62.049221][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.054848][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.060387][ T21] ? afs_put_call+0xa40/0xa40 [ 62.065061][ T21] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.072092][ T21] ? vprintk_func+0x97/0x1a6 [ 62.076694][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.082235][ T21] kasan_report.cold+0x1f/0x37 [ 62.087008][ T21] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.092637][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.098182][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 62.103551][ T21] ? afs_close_socket+0x320/0x320 [ 62.108574][ T21] ? afs_put_call+0xa40/0xa40 [ 62.113251][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 62.118363][ T21] ? afs_put_call+0xa40/0xa40 [ 62.123039][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.129453][ T21] rxrpc_call_completed+0xca/0xf0 [ 62.134484][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 62.139860][ T21] ? lock_sock_nested+0x94/0x110 [ 62.144799][ T21] rxrpc_listen+0x147/0x360 [ 62.149308][ T21] afs_close_socket+0x95/0x320 [ 62.154079][ T21] ? afs_purge_servers+0x16d/0x300 [ 62.159189][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 62.164651][ T21] ? init_wait_var_entry+0x200/0x200 [ 62.169956][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.175592][ T21] ? check_preemption_disabled+0x38/0x220 [ 62.181330][ T21] afs_net_exit+0x1bc/0x310 [ 62.185832][ T21] ? afs_net_init+0xe30/0xe30 [ 62.190505][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 62.195629][ T21] cleanup_net+0x511/0xa50 [ 62.200045][ T21] ? unregister_pernet_device+0x70/0x70 [ 62.205596][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.211581][ T21] process_one_work+0x965/0x1690 [ 62.217224][ T21] ? lock_release+0x800/0x800 [ 62.221994][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.227374][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 62.232320][ T21] worker_thread+0x96/0xe10 [ 62.236851][ T21] ? process_one_work+0x1690/0x1690 [ 62.242049][ T21] kthread+0x3b5/0x4a0 [ 62.246115][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.251925][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.257656][ T21] ret_from_fork+0x1f/0x30 [ 62.262099][ T21] [ 62.264420][ T21] Allocated by task 6821: [ 62.268745][ T21] save_stack+0x1b/0x40 [ 62.273609][ T21] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.279238][ T21] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.284603][ T21] afs_alloc_call+0x55/0x630 [ 62.289272][ T21] afs_charge_preallocation+0xe9/0x2d0 [ 62.294724][ T21] afs_open_socket+0x292/0x360 [ 62.299497][ T21] afs_net_init+0xa6c/0xe30 [ 62.304085][ T21] ops_init+0xaf/0x420 [ 62.308146][ T21] setup_net+0x2de/0x860 [ 62.312385][ T21] copy_net_ns+0x293/0x590 [ 62.316799][ T21] create_new_namespaces+0x3fb/0xb30 [ 62.322095][ T21] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.327723][ T21] ksys_unshare+0x43d/0x8e0 [ 62.332224][ T21] __x64_sys_unshare+0x2d/0x40 [ 62.336986][ T21] do_syscall_64+0x60/0xe0 [ 62.341400][ T21] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.347275][ T21] [ 62.349596][ T21] Freed by task 21: [ 62.353401][ T21] save_stack+0x1b/0x40 [ 62.357571][ T21] __kasan_slab_free+0xf7/0x140 [ 62.362416][ T21] kfree+0x109/0x2b0 [ 62.366305][ T21] afs_put_call+0x585/0xa40 [ 62.370822][ T21] rxrpc_discard_prealloc+0x764/0xab0 [ 62.376188][ T21] rxrpc_listen+0x147/0x360 [ 62.380684][ T21] afs_close_socket+0x95/0x320 [ 62.385495][ T21] afs_net_exit+0x1bc/0x310 [ 62.389994][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 62.395097][ T21] cleanup_net+0x511/0xa50 [ 62.399511][ T21] process_one_work+0x965/0x1690 [ 62.404442][ T21] worker_thread+0x96/0xe10 [ 62.408945][ T21] kthread+0x3b5/0x4a0 [ 62.413015][ T21] ret_from_fork+0x1f/0x30 [ 62.417414][ T21] [ 62.419737][ T21] The buggy address belongs to the object at ffff8880a4da5000 [ 62.419737][ T21] which belongs to the cache kmalloc-1k of size 1024 [ 62.433815][ T21] The buggy address is located 484 bytes inside of [ 62.433815][ T21] 1024-byte region [ffff8880a4da5000, ffff8880a4da5400) [ 62.447160][ T21] The buggy address belongs to the page: [ 62.452793][ T21] page:ffffea0002936940 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.461890][ T21] flags: 0xfffe0000000200(slab) [ 62.466740][ T21] raw: 00fffe0000000200 ffffea00024bd048 ffffea0002a5f708 ffff8880aa000c40 [ 62.475324][ T21] raw: 0000000000000000 ffff8880a4da5000 0000000100000002 0000000000000000 [ 62.483897][ T21] page dumped because: kasan: bad access detected [ 62.490307][ T21] [ 62.492631][ T21] Memory state around the buggy address: [ 62.498254][ T21] ffff8880a4da5080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.506308][ T21] ffff8880a4da5100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.514365][ T21] >ffff8880a4da5180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.522425][ T21] ^ [ 62.529618][ T21] ffff8880a4da5200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.537774][ T21] ffff8880a4da5280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.545836][ T21] ================================================================== [ 62.553883][ T21] Disabling lock debugging due to kernel taint [ 62.560102][ T21] Kernel panic - not syncing: panic_on_warn set ... [ 62.566875][ T21] CPU: 0 PID: 21 Comm: kworker/u4:1 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.576501][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.586591][ T21] Workqueue: netns cleanup_net [ 62.591346][ T21] Call Trace: [ 62.594681][ T21] dump_stack+0x18f/0x20d [ 62.599011][ T21] ? afs_wake_up_async_call+0x670/0x770 [ 62.604546][ T21] ? afs_put_call+0xa40/0xa40 [ 62.609240][ T21] panic+0x2e3/0x75c [ 62.613136][ T21] ? __warn_printk+0xf3/0xf3 [ 62.617722][ T21] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.623967][ T21] ? trace_hardirqs_on+0x55/0x220 [ 62.628987][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.634525][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.640066][ T21] ? afs_put_call+0xa40/0xa40 [ 62.644750][ T21] end_report+0x4d/0x53 [ 62.648896][ T21] kasan_report.cold+0xd/0x37 [ 62.654102][ T21] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.660520][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.667078][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 62.672439][ T21] ? afs_close_socket+0x320/0x320 [ 62.677540][ T21] ? afs_put_call+0xa40/0xa40 [ 62.682208][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 62.687333][ T21] ? afs_put_call+0xa40/0xa40 [ 62.692001][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.698421][ T21] rxrpc_call_completed+0xca/0xf0 [ 62.703460][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 62.708832][ T21] ? lock_sock_nested+0x94/0x110 [ 62.713851][ T21] rxrpc_listen+0x147/0x360 [ 62.718345][ T21] afs_close_socket+0x95/0x320 [ 62.723110][ T21] ? afs_purge_servers+0x16d/0x300 [ 62.728212][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 62.733662][ T21] ? init_wait_var_entry+0x200/0x200 [ 62.738945][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.744570][ T21] ? check_preemption_disabled+0x38/0x220 [ 62.750556][ T21] afs_net_exit+0x1bc/0x310 [ 62.755050][ T21] ? afs_net_init+0xe30/0xe30 [ 62.759717][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 62.764822][ T21] cleanup_net+0x511/0xa50 [ 62.769234][ T21] ? unregister_pernet_device+0x70/0x70 [ 62.774950][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.780927][ T21] process_one_work+0x965/0x1690 [ 62.785861][ T21] ? lock_release+0x800/0x800 [ 62.790538][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.795904][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 62.800922][ T21] worker_thread+0x96/0xe10 [ 62.805421][ T21] ? process_one_work+0x1690/0x1690 [ 62.810623][ T21] kthread+0x3b5/0x4a0 [ 62.814682][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.820395][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.826112][ T21] ret_from_fork+0x1f/0x30 [ 62.831898][ T21] Kernel Offset: disabled [ 62.836319][ T21] Rebooting in 86400 seconds..