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.4' (ECDSA) to the list of known hosts. 2020/06/14 18:57:29 fuzzer started 2020/06/14 18:57:29 connecting to host at 10.128.0.26:34517 2020/06/14 18:57:29 checking machine... 2020/06/14 18:57:29 checking revisions... 2020/06/14 18:57:29 testing simple program... syzkaller login: [ 56.640830][ T6974] IPVS: ftp: loaded support on port[0] = 21 2020/06/14 18:57:29 building call list... [ 56.959572][ T7] tipc: TX() has been purged, node left! [ 57.441504][ T7] ================================================================== [ 57.449811][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 57.457695][ T7] Write of size 1 at addr ffff888099d5e9e4 by task kworker/u4:0/7 [ 57.465508][ T7] [ 57.467837][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.7.0-next-20200614-syzkaller #0 [ 57.476849][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.487279][ T7] Workqueue: netns cleanup_net [ 57.492034][ T7] Call Trace: [ 57.495498][ T7] dump_stack+0x18f/0x20d [ 57.499921][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.505568][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.511310][ T7] ? afs_put_call+0xa40/0xa40 [ 57.516145][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 57.523167][ T7] ? vprintk_func+0x97/0x1a6 [ 57.527765][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.533307][ T7] kasan_report.cold+0x1f/0x37 [ 57.538072][ T7] ? rcu_read_lock_held_common+0x41/0xa0 [ 57.543718][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.549268][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 57.554634][ T7] ? afs_close_socket+0x320/0x320 [ 57.559655][ T7] ? afs_put_call+0xa40/0xa40 [ 57.564331][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 57.569447][ T7] ? afs_put_call+0xa40/0xa40 [ 57.574115][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 57.580812][ T7] rxrpc_call_completed+0xca/0xf0 [ 57.586002][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 57.591430][ T7] ? lock_sock_nested+0x94/0x110 [ 57.596374][ T7] rxrpc_listen+0x147/0x360 [ 57.600883][ T7] afs_close_socket+0x95/0x320 [ 57.605889][ T7] ? afs_purge_servers+0x16d/0x300 [ 57.611020][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 57.616489][ T7] ? init_wait_var_entry+0x200/0x200 [ 57.621780][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 57.627427][ T7] ? check_preemption_disabled+0x38/0x220 [ 57.633287][ T7] afs_net_exit+0x1bc/0x310 [ 57.637790][ T7] ? afs_net_init+0xe30/0xe30 [ 57.642753][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 57.647964][ T7] cleanup_net+0x511/0xa50 [ 57.652400][ T7] ? unregister_pernet_device+0x70/0x70 [ 57.657949][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 57.664215][ T7] process_one_work+0x965/0x1690 [ 57.669364][ T7] ? lock_release+0x800/0x800 [ 57.674049][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 57.679513][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 57.684642][ T7] worker_thread+0x96/0xe10 [ 57.689354][ T7] ? process_one_work+0x1690/0x1690 [ 57.694647][ T7] kthread+0x3b5/0x4a0 [ 57.698712][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 57.704427][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 57.710147][ T7] ret_from_fork+0x1f/0x30 [ 57.714571][ T7] [ 57.716890][ T7] Allocated by task 6974: [ 57.721215][ T7] save_stack+0x1b/0x40 [ 57.725460][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 57.731091][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 57.736827][ T7] afs_alloc_call+0x55/0x630 [ 57.741416][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 57.746880][ T7] afs_open_socket+0x292/0x360 [ 57.751638][ T7] afs_net_init+0xa6c/0xe30 [ 57.756156][ T7] ops_init+0xaf/0x420 [ 57.760414][ T7] setup_net+0x2de/0x860 [ 57.764664][ T7] copy_net_ns+0x293/0x590 [ 57.769087][ T7] create_new_namespaces+0x3fb/0xb30 [ 57.774387][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 57.780137][ T7] ksys_unshare+0x43d/0x8e0 [ 57.784639][ T7] __x64_sys_unshare+0x2d/0x40 [ 57.789408][ T7] do_syscall_64+0x60/0xe0 [ 57.793910][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 57.799889][ T7] [ 57.802222][ T7] Freed by task 7: [ 57.805950][ T7] save_stack+0x1b/0x40 [ 57.810125][ T7] __kasan_slab_free+0xf7/0x140 [ 57.814971][ T7] kfree+0x109/0x2b0 [ 57.818992][ T7] afs_put_call+0x585/0xa40 [ 57.823487][ T7] rxrpc_discard_prealloc+0x764/0xab0 [ 57.828865][ T7] rxrpc_listen+0x147/0x360 [ 57.833364][ T7] afs_close_socket+0x95/0x320 [ 57.838231][ T7] afs_net_exit+0x1bc/0x310 [ 57.842733][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 57.847913][ T7] cleanup_net+0x511/0xa50 [ 57.852417][ T7] process_one_work+0x965/0x1690 [ 57.857465][ T7] worker_thread+0x96/0xe10 [ 57.863030][ T7] kthread+0x3b5/0x4a0 [ 57.867101][ T7] ret_from_fork+0x1f/0x30 [ 57.871589][ T7] [ 57.874149][ T7] The buggy address belongs to the object at ffff888099d5e800 [ 57.874149][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 57.888700][ T7] The buggy address is located 484 bytes inside of [ 57.888700][ T7] 1024-byte region [ffff888099d5e800, ffff888099d5ec00) [ 57.902051][ T7] The buggy address belongs to the page: [ 57.907808][ T7] page:ffffea0002675780 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 57.917199][ T7] flags: 0xfffe0000000200(slab) [ 57.922048][ T7] raw: 00fffe0000000200 ffffea000299b1c8 ffffea00027b2788 ffff8880aa000c40 [ 57.930712][ T7] raw: 0000000000000000 ffff888099d5e000 0000000100000002 0000000000000000 [ 57.939277][ T7] page dumped because: kasan: bad access detected [ 57.946118][ T7] [ 57.948449][ T7] Memory state around the buggy address: [ 57.954214][ T7] ffff888099d5e880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.962267][ T7] ffff888099d5e900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.971866][ T7] >ffff888099d5e980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.979983][ T7] ^ [ 57.987996][ T7] ffff888099d5ea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.996372][ T7] ffff888099d5ea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.004433][ T7] ================================================================== [ 58.013117][ T7] Disabling lock debugging due to kernel taint [ 58.019402][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 58.026496][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.7.0-next-20200614-syzkaller #0 [ 58.036889][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.047040][ T7] Workqueue: netns cleanup_net [ 58.051834][ T7] Call Trace: [ 58.056451][ T7] dump_stack+0x18f/0x20d [ 58.060872][ T7] ? afs_wake_up_async_call+0x5e0/0x770 [ 58.066617][ T7] ? afs_put_call+0xa40/0xa40 [ 58.071378][ T7] panic+0x2e3/0x75c [ 58.075280][ T7] ? __warn_printk+0xf3/0xf3 [ 58.079953][ T7] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 58.086193][ T7] ? trace_hardirqs_on+0x55/0x220 [ 58.091216][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.096935][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.102578][ T7] ? afs_put_call+0xa40/0xa40 [ 58.107354][ T7] end_report+0x4d/0x53 [ 58.111522][ T7] kasan_report.cold+0xd/0x37 [ 58.116224][ T7] ? rcu_read_lock_held_common+0x41/0xa0 [ 58.121857][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.127495][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 58.133039][ T7] ? afs_close_socket+0x320/0x320 [ 58.138169][ T7] ? afs_put_call+0xa40/0xa40 [ 58.142837][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 58.148054][ T7] ? afs_put_call+0xa40/0xa40 [ 58.152720][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 58.159233][ T7] rxrpc_call_completed+0xca/0xf0 [ 58.164346][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 58.169712][ T7] ? lock_sock_nested+0x94/0x110 [ 58.174746][ T7] rxrpc_listen+0x147/0x360 [ 58.179245][ T7] afs_close_socket+0x95/0x320 [ 58.184000][ T7] ? afs_purge_servers+0x16d/0x300 [ 58.189102][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 58.194556][ T7] ? init_wait_var_entry+0x200/0x200 [ 58.199920][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 58.205550][ T7] ? check_preemption_disabled+0x38/0x220 [ 58.211349][ T7] afs_net_exit+0x1bc/0x310 [ 58.215860][ T7] ? afs_net_init+0xe30/0xe30 [ 58.220622][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 58.226960][ T7] cleanup_net+0x511/0xa50 [ 58.231374][ T7] ? unregister_pernet_device+0x70/0x70 [ 58.236918][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 58.242981][ T7] process_one_work+0x965/0x1690 [ 58.247924][ T7] ? lock_release+0x800/0x800 [ 58.252684][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 58.258047][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 58.263279][ T7] worker_thread+0x96/0xe10 [ 58.268301][ T7] ? process_one_work+0x1690/0x1690 [ 58.273600][ T7] kthread+0x3b5/0x4a0 [ 58.277660][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.283563][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.289292][ T7] ret_from_fork+0x1f/0x30 [ 58.295610][ T7] Kernel Offset: disabled [ 58.300099][ T7] Rebooting in 86400 seconds..