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.140' (ECDSA) to the list of known hosts. 2020/06/17 21:51:22 fuzzer started 2020/06/17 21:51:22 connecting to host at 10.128.0.26:36027 2020/06/17 21:51:22 checking machine... 2020/06/17 21:51:22 checking revisions... 2020/06/17 21:51:22 testing simple program... syzkaller login: [ 62.740431][ T6806] IPVS: ftp: loaded support on port[0] = 21 2020/06/17 21:51:22 building call list... [ 63.043741][ T26] tipc: TX() has been purged, node left! [ 63.605634][ T26] ================================================================== [ 63.613873][ T26] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 63.621759][ T26] Write of size 1 at addr ffff8880a30151e4 by task kworker/u4:2/26 [ 63.629635][ T26] [ 63.631974][ T26] CPU: 0 PID: 26 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #0 [ 63.640219][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.650291][ T26] Workqueue: netns cleanup_net [ 63.655049][ T26] Call Trace: [ 63.658358][ T26] dump_stack+0x18f/0x20d [ 63.662689][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.668252][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.673793][ T26] ? afs_put_call+0xa40/0xa40 [ 63.678472][ T26] print_address_description.constprop.0.cold+0xd3/0x413 [ 63.685500][ T26] ? vprintk_func+0x97/0x1a6 [ 63.690124][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.695667][ T26] kasan_report.cold+0x1f/0x37 [ 63.700452][ T26] ? rcu_read_lock_held_common+0x51/0xa0 [ 63.706083][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.711629][ T26] afs_wake_up_async_call+0x6aa/0x770 [ 63.717003][ T26] ? afs_close_socket+0x320/0x320 [ 63.722031][ T26] ? afs_put_call+0xa40/0xa40 [ 63.726716][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 63.731845][ T26] ? afs_put_call+0xa40/0xa40 [ 63.736539][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 63.742955][ T26] rxrpc_call_completed+0xca/0xf0 [ 63.747985][ T26] rxrpc_discard_prealloc+0x781/0xab0 [ 63.753361][ T26] ? lock_sock_nested+0x94/0x110 [ 63.758302][ T26] rxrpc_listen+0x147/0x360 [ 63.762807][ T26] afs_close_socket+0x95/0x320 [ 63.767573][ T26] ? afs_purge_servers+0x16d/0x300 [ 63.772694][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 63.778157][ T26] ? init_wait_var_entry+0x200/0x200 [ 63.783446][ T26] ? rcu_read_lock_held_common+0xa0/0xa0 [ 63.789350][ T26] ? check_preemption_disabled+0x38/0x220 [ 63.795093][ T26] afs_net_exit+0x1bc/0x310 [ 63.799596][ T26] ? afs_net_init+0xe30/0xe30 [ 63.804270][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 63.809383][ T26] cleanup_net+0x511/0xa50 [ 63.813813][ T26] ? unregister_pernet_device+0x70/0x70 [ 63.819368][ T26] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 63.825356][ T26] process_one_work+0x965/0x1690 [ 63.830304][ T26] ? lock_release+0x800/0x800 [ 63.834982][ T26] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.840355][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 63.845333][ T26] worker_thread+0x96/0xe10 [ 63.849859][ T26] ? process_one_work+0x1690/0x1690 [ 63.855062][ T26] kthread+0x3b5/0x4a0 [ 63.859132][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.864852][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.871268][ T26] ret_from_fork+0x1f/0x30 [ 63.875693][ T26] [ 63.878015][ T26] Allocated by task 6806: [ 63.882342][ T26] save_stack+0x1b/0x40 [ 63.886495][ T26] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 63.892123][ T26] kmem_cache_alloc_trace+0x153/0x7d0 [ 63.897490][ T26] afs_alloc_call+0x55/0x630 [ 63.902077][ T26] afs_charge_preallocation+0xe9/0x2d0 [ 63.907530][ T26] afs_open_socket+0x292/0x360 [ 63.912287][ T26] afs_net_init+0xa6c/0xe30 [ 63.916896][ T26] ops_init+0xaf/0x420 [ 63.920960][ T26] setup_net+0x2de/0x860 [ 63.925196][ T26] copy_net_ns+0x293/0x590 [ 63.929612][ T26] create_new_namespaces+0x3fb/0xb30 [ 63.934902][ T26] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 63.940532][ T26] ksys_unshare+0x43d/0x8e0 [ 63.945030][ T26] __x64_sys_unshare+0x2d/0x40 [ 63.949788][ T26] do_syscall_64+0x60/0xe0 [ 63.954208][ T26] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 63.960086][ T26] [ 63.962409][ T26] Freed by task 26: [ 63.966922][ T26] save_stack+0x1b/0x40 [ 63.971095][ T26] __kasan_slab_free+0xf7/0x140 [ 63.975942][ T26] kfree+0x109/0x2b0 [ 63.979965][ T26] afs_put_call+0x585/0xa40 [ 63.984594][ T26] rxrpc_discard_prealloc+0x764/0xab0 [ 63.989975][ T26] rxrpc_listen+0x147/0x360 [ 63.994473][ T26] afs_close_socket+0x95/0x320 [ 63.999231][ T26] afs_net_exit+0x1bc/0x310 [ 64.003731][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 64.008839][ T26] cleanup_net+0x511/0xa50 [ 64.013253][ T26] process_one_work+0x965/0x1690 [ 64.018200][ T26] worker_thread+0x96/0xe10 [ 64.022722][ T26] kthread+0x3b5/0x4a0 [ 64.026813][ T26] ret_from_fork+0x1f/0x30 [ 64.031252][ T26] [ 64.033585][ T26] The buggy address belongs to the object at ffff8880a3015000 [ 64.033585][ T26] which belongs to the cache kmalloc-1k of size 1024 [ 64.047633][ T26] The buggy address is located 484 bytes inside of [ 64.047633][ T26] 1024-byte region [ffff8880a3015000, ffff8880a3015400) [ 64.061152][ T26] The buggy address belongs to the page: [ 64.066783][ T26] page:ffffea00028c0540 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 64.075887][ T26] flags: 0xfffe0000000200(slab) [ 64.080739][ T26] raw: 00fffe0000000200 ffffea0002a59ac8 ffffea00029a12c8 ffff8880aa000c40 [ 64.089323][ T26] raw: 0000000000000000 ffff8880a3015000 0000000100000002 0000000000000000 [ 64.097898][ T26] page dumped because: kasan: bad access detected [ 64.104311][ T26] [ 64.106631][ T26] Memory state around the buggy address: [ 64.112953][ T26] ffff8880a3015080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.121012][ T26] ffff8880a3015100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.129156][ T26] >ffff8880a3015180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.137207][ T26] ^ [ 64.144397][ T26] ffff8880a3015200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.152453][ T26] ffff8880a3015280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.160504][ T26] ================================================================== [ 64.168554][ T26] Disabling lock debugging due to kernel taint [ 64.174783][ T26] Kernel panic - not syncing: panic_on_warn set ... [ 64.181503][ T26] CPU: 0 PID: 26 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 64.191133][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.201195][ T26] Workqueue: netns cleanup_net [ 64.205951][ T26] Call Trace: [ 64.209242][ T26] dump_stack+0x18f/0x20d [ 64.213577][ T26] ? afs_wake_up_async_call+0x680/0x770 [ 64.219122][ T26] ? afs_put_call+0xa40/0xa40 [ 64.223799][ T26] panic+0x2e3/0x75c [ 64.227697][ T26] ? __warn_printk+0xf3/0xf3 [ 64.232294][ T26] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 64.238450][ T26] ? trace_hardirqs_on+0x55/0x220 [ 64.243465][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.249032][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.254571][ T26] ? afs_put_call+0xa40/0xa40 [ 64.259233][ T26] end_report+0x4d/0x53 [ 64.263555][ T26] kasan_report.cold+0xd/0x37 [ 64.268220][ T26] ? rcu_read_lock_held_common+0x51/0xa0 [ 64.273846][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.279395][ T26] afs_wake_up_async_call+0x6aa/0x770 [ 64.284770][ T26] ? afs_close_socket+0x320/0x320 [ 64.289796][ T26] ? afs_put_call+0xa40/0xa40 [ 64.294532][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 64.299635][ T26] ? afs_put_call+0xa40/0xa40 [ 64.304363][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 64.310797][ T26] rxrpc_call_completed+0xca/0xf0 [ 64.315842][ T26] rxrpc_discard_prealloc+0x781/0xab0 [ 64.321249][ T26] ? lock_sock_nested+0x94/0x110 [ 64.326469][ T26] rxrpc_listen+0x147/0x360 [ 64.330970][ T26] afs_close_socket+0x95/0x320 [ 64.335733][ T26] ? afs_purge_servers+0x16d/0x300 [ 64.340841][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 64.346297][ T26] ? init_wait_var_entry+0x200/0x200 [ 64.351574][ T26] ? rcu_read_lock_held_common+0xa0/0xa0 [ 64.357211][ T26] ? check_preemption_disabled+0x38/0x220 [ 64.363620][ T26] afs_net_exit+0x1bc/0x310 [ 64.368111][ T26] ? afs_net_init+0xe30/0xe30 [ 64.372780][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 64.377877][ T26] cleanup_net+0x511/0xa50 [ 64.382289][ T26] ? unregister_pernet_device+0x70/0x70 [ 64.387822][ T26] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 64.393896][ T26] process_one_work+0x965/0x1690 [ 64.398820][ T26] ? lock_release+0x800/0x800 [ 64.403487][ T26] ? pwq_dec_nr_in_flight+0x310/0x310 [ 64.408917][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 64.413853][ T26] worker_thread+0x96/0xe10 [ 64.418370][ T26] ? process_one_work+0x1690/0x1690 [ 64.423560][ T26] kthread+0x3b5/0x4a0 [ 64.427661][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.433378][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.439085][ T26] ret_from_fork+0x1f/0x30 [ 64.444897][ T26] Kernel Offset: disabled [ 64.449224][ T26] Rebooting in 86400 seconds..