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.249' (ECDSA) to the list of known hosts. 2020/06/19 00:52:50 fuzzer started 2020/06/19 00:52:50 connecting to host at 10.128.0.26:38611 2020/06/19 00:52:50 checking machine... 2020/06/19 00:52:50 checking revisions... 2020/06/19 00:52:51 testing simple program... syzkaller login: [ 60.480317][ T6836] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 00:52:51 building call list... [ 60.879013][ T26] tipc: TX() has been purged, node left! [ 61.371538][ T26] ================================================================== [ 61.380220][ T26] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.388130][ T26] Write of size 1 at addr ffff8880a64ad9e4 by task kworker/u4:2/26 [ 61.396159][ T26] [ 61.398507][ T26] CPU: 0 PID: 26 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #0 [ 61.407164][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.417323][ T26] Workqueue: netns cleanup_net [ 61.422126][ T26] Call Trace: [ 61.425605][ T26] dump_stack+0x18f/0x20d [ 61.430021][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.435577][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.441218][ T26] ? afs_put_call+0xa40/0xa40 [ 61.446534][ T26] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.453749][ T26] ? vprintk_func+0x97/0x1a6 [ 61.458733][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.464391][ T26] kasan_report.cold+0x1f/0x37 [ 61.469263][ T26] ? rcu_read_lock_held_common+0x51/0xa0 [ 61.475018][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.480579][ T26] afs_wake_up_async_call+0x6aa/0x770 [ 61.486089][ T26] ? afs_close_socket+0x320/0x320 [ 61.491213][ T26] ? afs_put_call+0xa40/0xa40 [ 61.496198][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 61.501422][ T26] ? afs_put_call+0xa40/0xa40 [ 61.506122][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.512778][ T26] rxrpc_call_completed+0xca/0xf0 [ 61.517819][ T26] rxrpc_discard_prealloc+0x781/0xab0 [ 61.523532][ T26] ? lock_sock_nested+0x94/0x110 [ 61.529169][ T26] rxrpc_listen+0x147/0x360 [ 61.533689][ T26] afs_close_socket+0x95/0x320 [ 61.538462][ T26] ? afs_purge_servers+0x16d/0x300 [ 61.543596][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 61.549158][ T26] ? init_wait_var_entry+0x200/0x200 [ 61.554639][ T26] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.560439][ T26] ? check_preemption_disabled+0x38/0x220 [ 61.566226][ T26] afs_net_exit+0x1bc/0x310 [ 61.571008][ T26] ? afs_net_init+0xe30/0xe30 [ 61.575706][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 61.580835][ T26] cleanup_net+0x511/0xa50 [ 61.585280][ T26] ? unregister_pernet_device+0x70/0x70 [ 61.591200][ T26] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.597410][ T26] process_one_work+0x965/0x1690 [ 61.602543][ T26] ? lock_release+0x800/0x800 [ 61.607318][ T26] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.612756][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 61.618022][ T26] worker_thread+0x96/0xe10 [ 61.622574][ T26] ? process_one_work+0x1690/0x1690 [ 61.627790][ T26] kthread+0x3b5/0x4a0 [ 61.632052][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.638025][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.643849][ T26] ret_from_fork+0x1f/0x30 [ 61.648295][ T26] [ 61.651335][ T26] Allocated by task 6836: [ 61.655756][ T26] save_stack+0x1b/0x40 [ 61.660134][ T26] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 61.665866][ T26] kmem_cache_alloc_trace+0x153/0x7d0 [ 61.671302][ T26] afs_alloc_call+0x55/0x630 [ 61.676256][ T26] afs_charge_preallocation+0xe9/0x2d0 [ 61.681727][ T26] afs_open_socket+0x292/0x360 [ 61.686687][ T26] afs_net_init+0xa6c/0xe30 [ 61.691430][ T26] ops_init+0xaf/0x420 [ 61.695607][ T26] setup_net+0x2de/0x860 [ 61.700251][ T26] copy_net_ns+0x293/0x590 [ 61.705028][ T26] create_new_namespaces+0x3fb/0xb30 [ 61.712790][ T26] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.718464][ T26] ksys_unshare+0x43d/0x8e0 [ 61.723908][ T26] __x64_sys_unshare+0x2d/0x40 [ 61.728892][ T26] do_syscall_64+0x60/0xe0 [ 61.733630][ T26] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.739783][ T26] [ 61.742125][ T26] Freed by task 26: [ 61.746082][ T26] save_stack+0x1b/0x40 [ 61.750248][ T26] __kasan_slab_free+0xf7/0x140 [ 61.755714][ T26] kfree+0x109/0x2b0 [ 61.759616][ T26] afs_put_call+0x585/0xa40 [ 61.764561][ T26] rxrpc_discard_prealloc+0x764/0xab0 [ 61.769965][ T26] rxrpc_listen+0x147/0x360 [ 61.774477][ T26] afs_close_socket+0x95/0x320 [ 61.779267][ T26] afs_net_exit+0x1bc/0x310 [ 61.783962][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 61.789462][ T26] cleanup_net+0x511/0xa50 [ 61.794298][ T26] process_one_work+0x965/0x1690 [ 61.799293][ T26] worker_thread+0x96/0xe10 [ 61.803817][ T26] kthread+0x3b5/0x4a0 [ 61.807905][ T26] ret_from_fork+0x1f/0x30 [ 61.812567][ T26] [ 61.815087][ T26] The buggy address belongs to the object at ffff8880a64ad800 [ 61.815087][ T26] which belongs to the cache kmalloc-1k of size 1024 [ 61.829909][ T26] The buggy address is located 484 bytes inside of [ 61.829909][ T26] 1024-byte region [ffff8880a64ad800, ffff8880a64adc00) [ 61.844621][ T26] The buggy address belongs to the page: [ 61.850456][ T26] page:ffffea0002992b40 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff8880a64ad000 [ 61.861374][ T26] flags: 0xfffe0000000200(slab) [ 61.866250][ T26] raw: 00fffe0000000200 ffffea00025c3388 ffffea0002a0e7c8 ffff8880aa000c40 [ 61.875322][ T26] raw: ffff8880a64ad000 ffff8880a64ad000 0000000100000001 0000000000000000 [ 61.883922][ T26] page dumped because: kasan: bad access detected [ 61.890335][ T26] [ 61.892668][ T26] Memory state around the buggy address: [ 61.898422][ T26] ffff8880a64ad880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.906677][ T26] ffff8880a64ad900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.915768][ T26] >ffff8880a64ad980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.923834][ T26] ^ [ 61.931216][ T26] ffff8880a64ada00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.940480][ T26] ffff8880a64ada80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.948986][ T26] ================================================================== [ 61.957697][ T26] Disabling lock debugging due to kernel taint [ 61.963933][ T26] Kernel panic - not syncing: panic_on_warn set ... [ 61.972183][ T26] CPU: 0 PID: 26 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 61.982082][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.993016][ T26] Workqueue: netns cleanup_net [ 61.998013][ T26] Call Trace: [ 62.001415][ T26] dump_stack+0x18f/0x20d [ 62.005886][ T26] ? afs_wake_up_async_call+0x680/0x770 [ 62.011533][ T26] ? afs_put_call+0xa40/0xa40 [ 62.016371][ T26] panic+0x2e3/0x75c [ 62.021022][ T26] ? __warn_printk+0xf3/0xf3 [ 62.025825][ T26] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.032075][ T26] ? trace_hardirqs_on+0x55/0x220 [ 62.037342][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.043003][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.048558][ T26] ? afs_put_call+0xa40/0xa40 [ 62.053383][ T26] end_report+0x4d/0x53 [ 62.057567][ T26] kasan_report.cold+0xd/0x37 [ 62.062559][ T26] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.068205][ T26] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.073951][ T26] afs_wake_up_async_call+0x6aa/0x770 [ 62.079487][ T26] ? afs_close_socket+0x320/0x320 [ 62.084611][ T26] ? afs_put_call+0xa40/0xa40 [ 62.090253][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 62.095589][ T26] ? afs_put_call+0xa40/0xa40 [ 62.100280][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.106714][ T26] rxrpc_call_completed+0xca/0xf0 [ 62.112008][ T26] rxrpc_discard_prealloc+0x781/0xab0 [ 62.117668][ T26] ? lock_sock_nested+0x94/0x110 [ 62.122761][ T26] rxrpc_listen+0x147/0x360 [ 62.127446][ T26] afs_close_socket+0x95/0x320 [ 62.132220][ T26] ? afs_purge_servers+0x16d/0x300 [ 62.137343][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 62.142986][ T26] ? init_wait_var_entry+0x200/0x200 [ 62.148287][ T26] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.153932][ T26] ? check_preemption_disabled+0x38/0x220 [ 62.159661][ T26] afs_net_exit+0x1bc/0x310 [ 62.164175][ T26] ? afs_net_init+0xe30/0xe30 [ 62.169008][ T26] ops_exit_list.isra.0+0xa8/0x150 [ 62.174132][ T26] cleanup_net+0x511/0xa50 [ 62.178699][ T26] ? unregister_pernet_device+0x70/0x70 [ 62.185214][ T26] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.191362][ T26] process_one_work+0x965/0x1690 [ 62.196448][ T26] ? lock_release+0x800/0x800 [ 62.201134][ T26] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.206527][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 62.212604][ T26] worker_thread+0x96/0xe10 [ 62.217355][ T26] ? process_one_work+0x1690/0x1690 [ 62.222567][ T26] kthread+0x3b5/0x4a0 [ 62.226647][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.232370][ T26] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.238233][ T26] ret_from_fork+0x1f/0x30 [ 62.243414][ T26] Kernel Offset: disabled [ 62.248302][ T26] Rebooting in 86400 seconds..