Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.60' (ECDSA) to the list of known hosts. 2020/06/18 06:39:33 fuzzer started 2020/06/18 06:39:33 connecting to host at 10.128.0.26:45751 2020/06/18 06:39:33 checking machine... 2020/06/18 06:39:33 checking revisions... 2020/06/18 06:39:33 testing simple program... 2020/06/18 06:39:33 building call list... syzkaller login: [ 64.215849][ T6824] IPVS: ftp: loaded support on port[0] = 21 [ 64.541030][ T244] tipc: TX() has been purged, node left! [ 65.103281][ T244] ================================================================== [ 65.111532][ T244] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 65.119449][ T244] Write of size 1 at addr ffff8880a60b19e4 by task kworker/u4:4/244 [ 65.127508][ T244] [ 65.129850][ T244] CPU: 0 PID: 244 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-syzkaller #0 [ 65.138217][ T244] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.149093][ T244] Workqueue: netns cleanup_net [ 65.153967][ T244] Call Trace: [ 65.157413][ T244] dump_stack+0x18f/0x20d [ 65.162123][ T244] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.167669][ T244] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.173735][ T244] ? afs_put_call+0xa40/0xa40 [ 65.178762][ T244] print_address_description.constprop.0.cold+0xd3/0x413 [ 65.186198][ T244] ? vprintk_func+0x97/0x1a6 [ 65.192547][ T244] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.198180][ T244] kasan_report.cold+0x1f/0x37 [ 65.203039][ T244] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.208675][ T244] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.214226][ T244] afs_wake_up_async_call+0x6aa/0x770 [ 65.219778][ T244] ? afs_close_socket+0x320/0x320 [ 65.225102][ T244] ? afs_put_call+0xa40/0xa40 [ 65.230132][ T244] rxrpc_notify_socket+0x1db/0x5d0 [ 65.235250][ T244] ? afs_put_call+0xa40/0xa40 [ 65.239928][ T244] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.247215][ T244] rxrpc_call_completed+0xca/0xf0 [ 65.253383][ T244] rxrpc_discard_prealloc+0x781/0xab0 [ 65.258763][ T244] ? lock_sock_nested+0x94/0x110 [ 65.263716][ T244] rxrpc_listen+0x147/0x360 [ 65.268224][ T244] afs_close_socket+0x95/0x320 [ 65.273537][ T244] ? afs_purge_servers+0x16d/0x300 [ 65.278737][ T244] ? afs_rx_discard_new_call+0x50/0x50 [ 65.284201][ T244] ? init_wait_var_entry+0x200/0x200 [ 65.289935][ T244] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.295669][ T244] ? check_preemption_disabled+0x38/0x220 [ 65.301499][ T244] afs_net_exit+0x1bc/0x310 [ 65.306119][ T244] ? afs_net_init+0xe30/0xe30 [ 65.310823][ T244] ops_exit_list.isra.0+0xa8/0x150 [ 65.316139][ T244] cleanup_net+0x511/0xa50 [ 65.321025][ T244] ? unregister_pernet_device+0x70/0x70 [ 65.326752][ T244] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.333102][ T244] process_one_work+0x965/0x1690 [ 65.339052][ T244] ? lock_release+0x800/0x800 [ 65.345209][ T244] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.350694][ T244] ? rwlock_bug.part.0+0x90/0x90 [ 65.355698][ T244] worker_thread+0x96/0xe10 [ 65.360222][ T244] ? process_one_work+0x1690/0x1690 [ 65.365447][ T244] kthread+0x3b5/0x4a0 [ 65.369610][ T244] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.375334][ T244] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.381061][ T244] ret_from_fork+0x1f/0x30 [ 65.385489][ T244] [ 65.387992][ T244] Allocated by task 6824: [ 65.392603][ T244] save_stack+0x1b/0x40 [ 65.396935][ T244] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 65.402825][ T244] kmem_cache_alloc_trace+0x153/0x7d0 [ 65.408213][ T244] afs_alloc_call+0x55/0x630 [ 65.412838][ T244] afs_charge_preallocation+0xe9/0x2d0 [ 65.418303][ T244] afs_open_socket+0x292/0x360 [ 65.423376][ T244] afs_net_init+0xa6c/0xe30 [ 65.427989][ T244] ops_init+0xaf/0x420 [ 65.432064][ T244] setup_net+0x2de/0x860 [ 65.436389][ T244] copy_net_ns+0x293/0x590 [ 65.440807][ T244] create_new_namespaces+0x3fb/0xb30 [ 65.446624][ T244] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 65.452372][ T244] ksys_unshare+0x43d/0x8e0 [ 65.457053][ T244] __x64_sys_unshare+0x2d/0x40 [ 65.461824][ T244] do_syscall_64+0x60/0xe0 [ 65.466260][ T244] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.472241][ T244] [ 65.474757][ T244] Freed by task 244: [ 65.478689][ T244] save_stack+0x1b/0x40 [ 65.482866][ T244] __kasan_slab_free+0xf7/0x140 [ 65.487746][ T244] kfree+0x109/0x2b0 [ 65.491729][ T244] afs_put_call+0x585/0xa40 [ 65.496237][ T244] rxrpc_discard_prealloc+0x764/0xab0 [ 65.501613][ T244] rxrpc_listen+0x147/0x360 [ 65.506206][ T244] afs_close_socket+0x95/0x320 [ 65.510989][ T244] afs_net_exit+0x1bc/0x310 [ 65.515509][ T244] ops_exit_list.isra.0+0xa8/0x150 [ 65.521225][ T244] cleanup_net+0x511/0xa50 [ 65.525672][ T244] process_one_work+0x965/0x1690 [ 65.530959][ T244] worker_thread+0x96/0xe10 [ 65.535479][ T244] kthread+0x3b5/0x4a0 [ 65.539581][ T244] ret_from_fork+0x1f/0x30 [ 65.544431][ T244] [ 65.547079][ T244] The buggy address belongs to the object at ffff8880a60b1800 [ 65.547079][ T244] which belongs to the cache kmalloc-1k of size 1024 [ 65.561456][ T244] The buggy address is located 484 bytes inside of [ 65.561456][ T244] 1024-byte region [ffff8880a60b1800, ffff8880a60b1c00) [ 65.575084][ T244] The buggy address belongs to the page: [ 65.580812][ T244] page:ffffea0002982c40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 65.589930][ T244] flags: 0xfffe0000000200(slab) [ 65.594929][ T244] raw: 00fffe0000000200 ffffea0002602748 ffffea00025cc7c8 ffff8880aa000c40 [ 65.603537][ T244] raw: 0000000000000000 ffff8880a60b1000 0000000100000002 0000000000000000 [ 65.612145][ T244] page dumped because: kasan: bad access detected [ 65.619246][ T244] [ 65.621568][ T244] Memory state around the buggy address: [ 65.627202][ T244] ffff8880a60b1880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.635280][ T244] ffff8880a60b1900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.643531][ T244] >ffff8880a60b1980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.651773][ T244] ^ [ 65.660106][ T244] ffff8880a60b1a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.668374][ T244] ffff8880a60b1a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.676444][ T244] ================================================================== [ 65.684510][ T244] Disabling lock debugging due to kernel taint [ 65.690830][ T244] Kernel panic - not syncing: panic_on_warn set ... [ 65.697431][ T244] CPU: 0 PID: 244 Comm: kworker/u4:4 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 65.707260][ T244] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.720192][ T244] Workqueue: netns cleanup_net [ 65.725130][ T244] Call Trace: [ 65.728423][ T244] dump_stack+0x18f/0x20d [ 65.732929][ T244] ? afs_wake_up_async_call+0x680/0x770 [ 65.738585][ T244] ? afs_put_call+0xa40/0xa40 [ 65.743534][ T244] panic+0x2e3/0x75c [ 65.747449][ T244] ? __warn_printk+0xf3/0xf3 [ 65.752047][ T244] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 65.758289][ T244] ? trace_hardirqs_on+0x55/0x220 [ 65.763397][ T244] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.769029][ T244] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.774573][ T244] ? afs_put_call+0xa40/0xa40 [ 65.779250][ T244] end_report+0x4d/0x53 [ 65.786188][ T244] kasan_report.cold+0xd/0x37 [ 65.791075][ T244] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.796703][ T244] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.802767][ T244] afs_wake_up_async_call+0x6aa/0x770 [ 65.808219][ T244] ? afs_close_socket+0x320/0x320 [ 65.813242][ T244] ? afs_put_call+0xa40/0xa40 [ 65.817915][ T244] rxrpc_notify_socket+0x1db/0x5d0 [ 65.823114][ T244] ? afs_put_call+0xa40/0xa40 [ 65.827872][ T244] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.834378][ T244] rxrpc_call_completed+0xca/0xf0 [ 65.839629][ T244] rxrpc_discard_prealloc+0x781/0xab0 [ 65.845089][ T244] ? lock_sock_nested+0x94/0x110 [ 65.850048][ T244] rxrpc_listen+0x147/0x360 [ 65.854551][ T244] afs_close_socket+0x95/0x320 [ 65.859309][ T244] ? afs_purge_servers+0x16d/0x300 [ 65.864423][ T244] ? afs_rx_discard_new_call+0x50/0x50 [ 65.869897][ T244] ? init_wait_var_entry+0x200/0x200 [ 65.875268][ T244] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.880898][ T244] ? check_preemption_disabled+0x38/0x220 [ 65.886706][ T244] afs_net_exit+0x1bc/0x310 [ 65.891205][ T244] ? afs_net_init+0xe30/0xe30 [ 65.895878][ T244] ops_exit_list.isra.0+0xa8/0x150 [ 65.901023][ T244] cleanup_net+0x511/0xa50 [ 65.905462][ T244] ? unregister_pernet_device+0x70/0x70 [ 65.912067][ T244] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.919856][ T244] process_one_work+0x965/0x1690 [ 65.925325][ T244] ? lock_release+0x800/0x800 [ 65.930352][ T244] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.935808][ T244] ? rwlock_bug.part.0+0x90/0x90 [ 65.940752][ T244] worker_thread+0x96/0xe10 [ 65.945258][ T244] ? process_one_work+0x1690/0x1690 [ 65.950799][ T244] kthread+0x3b5/0x4a0 [ 65.954889][ T244] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.961749][ T244] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.967866][ T244] ret_from_fork+0x1f/0x30 [ 65.973662][ T244] Kernel Offset: disabled [ 65.978397][ T244] Rebooting in 86400 seconds..