Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.62' (ECDSA) to the list of known hosts. 2020/06/18 06:39:21 fuzzer started 2020/06/18 06:39:21 connecting to host at 10.128.0.26:38169 2020/06/18 06:39:21 checking machine... 2020/06/18 06:39:21 checking revisions... 2020/06/18 06:39:21 testing simple program... syzkaller login: [ 61.430749][ T6837] IPVS: ftp: loaded support on port[0] = 21 2020/06/18 06:39:22 building call list... [ 61.854818][ T179] tipc: TX() has been purged, node left! [ 62.447121][ T179] ================================================================== [ 62.455380][ T179] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.463264][ T179] Write of size 1 at addr ffff888099c799e4 by task kworker/u4:4/179 [ 62.471225][ T179] [ 62.473553][ T179] CPU: 0 PID: 179 Comm: kworker/u4:4 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.481863][ T179] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.491917][ T179] Workqueue: netns cleanup_net [ 62.496671][ T179] Call Trace: [ 62.499988][ T179] dump_stack+0x18f/0x20d [ 62.504323][ T179] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.510016][ T179] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.515574][ T179] ? afs_put_call+0xa40/0xa40 [ 62.520255][ T179] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.527385][ T179] ? vprintk_func+0x97/0x1a6 [ 62.531995][ T179] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.537549][ T179] kasan_report.cold+0x1f/0x37 [ 62.542315][ T179] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.547941][ T179] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.553484][ T179] afs_wake_up_async_call+0x6aa/0x770 [ 62.558848][ T179] ? afs_close_socket+0x320/0x320 [ 62.563956][ T179] ? afs_put_call+0xa40/0xa40 [ 62.568629][ T179] rxrpc_notify_socket+0x1db/0x5d0 [ 62.573745][ T179] ? afs_put_call+0xa40/0xa40 [ 62.578475][ T179] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.584891][ T179] rxrpc_call_completed+0xca/0xf0 [ 62.589917][ T179] rxrpc_discard_prealloc+0x781/0xab0 [ 62.595293][ T179] ? lock_sock_nested+0x94/0x110 [ 62.600236][ T179] rxrpc_listen+0x147/0x360 [ 62.604743][ T179] afs_close_socket+0x95/0x320 [ 62.609518][ T179] ? afs_purge_servers+0x16d/0x300 [ 62.614643][ T179] ? afs_rx_discard_new_call+0x50/0x50 [ 62.620110][ T179] ? init_wait_var_entry+0x200/0x200 [ 62.625399][ T179] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.631395][ T179] ? check_preemption_disabled+0x38/0x220 [ 62.637124][ T179] afs_net_exit+0x1bc/0x310 [ 62.641626][ T179] ? afs_net_init+0xe30/0xe30 [ 62.646301][ T179] ops_exit_list.isra.0+0xa8/0x150 [ 62.651414][ T179] cleanup_net+0x511/0xa50 [ 62.655854][ T179] ? unregister_pernet_device+0x70/0x70 [ 62.661402][ T179] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.667390][ T179] process_one_work+0x965/0x1690 [ 62.672335][ T179] ? lock_release+0x800/0x800 [ 62.677028][ T179] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.682419][ T179] ? rwlock_bug.part.0+0x90/0x90 [ 62.687385][ T179] worker_thread+0x96/0xe10 [ 62.691913][ T179] ? process_one_work+0x1690/0x1690 [ 62.697116][ T179] kthread+0x3b5/0x4a0 [ 62.701181][ T179] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.706898][ T179] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.712621][ T179] ret_from_fork+0x1f/0x30 [ 62.717046][ T179] [ 62.719373][ T179] Allocated by task 6837: [ 62.723722][ T179] save_stack+0x1b/0x40 [ 62.727874][ T179] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.733505][ T179] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.738874][ T179] afs_alloc_call+0x55/0x630 [ 62.743461][ T179] afs_charge_preallocation+0xe9/0x2d0 [ 62.748911][ T179] afs_open_socket+0x292/0x360 [ 62.753679][ T179] afs_net_init+0xa6c/0xe30 [ 62.758181][ T179] ops_init+0xaf/0x420 [ 62.762241][ T179] setup_net+0x2de/0x860 [ 62.766474][ T179] copy_net_ns+0x293/0x590 [ 62.770897][ T179] create_new_namespaces+0x3fb/0xb30 [ 62.776175][ T179] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.781803][ T179] ksys_unshare+0x43d/0x8e0 [ 62.786302][ T179] __x64_sys_unshare+0x2d/0x40 [ 62.791060][ T179] do_syscall_64+0x60/0xe0 [ 62.795475][ T179] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.801369][ T179] [ 62.803697][ T179] Freed by task 179: [ 62.807598][ T179] save_stack+0x1b/0x40 [ 62.811763][ T179] __kasan_slab_free+0xf7/0x140 [ 62.816605][ T179] kfree+0x109/0x2b0 [ 62.820492][ T179] afs_put_call+0x585/0xa40 [ 62.824989][ T179] rxrpc_discard_prealloc+0x764/0xab0 [ 62.830353][ T179] rxrpc_listen+0x147/0x360 [ 62.834848][ T179] afs_close_socket+0x95/0x320 [ 62.839601][ T179] afs_net_exit+0x1bc/0x310 [ 62.844095][ T179] ops_exit_list.isra.0+0xa8/0x150 [ 62.849198][ T179] cleanup_net+0x511/0xa50 [ 62.853608][ T179] process_one_work+0x965/0x1690 [ 62.858538][ T179] worker_thread+0x96/0xe10 [ 62.863043][ T179] kthread+0x3b5/0x4a0 [ 62.867111][ T179] ret_from_fork+0x1f/0x30 [ 62.871551][ T179] [ 62.873916][ T179] The buggy address belongs to the object at ffff888099c79800 [ 62.873916][ T179] which belongs to the cache kmalloc-1k of size 1024 [ 62.887976][ T179] The buggy address is located 484 bytes inside of [ 62.887976][ T179] 1024-byte region [ffff888099c79800, ffff888099c79c00) [ 62.901585][ T179] The buggy address belongs to the page: [ 62.907217][ T179] page:ffffea0002671e40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.916336][ T179] flags: 0xfffe0000000200(slab) [ 62.921190][ T179] raw: 00fffe0000000200 ffffea00028589c8 ffffea00024d5908 ffff8880aa000c40 [ 62.929786][ T179] raw: 0000000000000000 ffff888099c79000 0000000100000002 0000000000000000 [ 62.938360][ T179] page dumped because: kasan: bad access detected [ 62.944758][ T179] [ 62.947076][ T179] Memory state around the buggy address: [ 62.952701][ T179] ffff888099c79880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.960768][ T179] ffff888099c79900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.968829][ T179] >ffff888099c79980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.976882][ T179] ^ [ 62.984102][ T179] ffff888099c79a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.992176][ T179] ffff888099c79a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 63.000229][ T179] ================================================================== [ 63.008280][ T179] Disabling lock debugging due to kernel taint [ 63.014529][ T179] Kernel panic - not syncing: panic_on_warn set ... [ 63.021114][ T179] CPU: 0 PID: 179 Comm: kworker/u4:4 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 63.030853][ T179] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.040916][ T179] Workqueue: netns cleanup_net [ 63.045671][ T179] Call Trace: [ 63.048964][ T179] dump_stack+0x18f/0x20d [ 63.053298][ T179] ? afs_wake_up_async_call+0x680/0x770 [ 63.058845][ T179] ? afs_put_call+0xa40/0xa40 [ 63.063520][ T179] panic+0x2e3/0x75c [ 63.067425][ T179] ? __warn_printk+0xf3/0xf3 [ 63.072020][ T179] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 63.078176][ T179] ? trace_hardirqs_on+0x55/0x220 [ 63.083191][ T179] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.088720][ T179] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.094244][ T179] ? afs_put_call+0xa40/0xa40 [ 63.098904][ T179] end_report+0x4d/0x53 [ 63.103049][ T179] kasan_report.cold+0xd/0x37 [ 63.107717][ T179] ? rcu_read_lock_held_common+0x51/0xa0 [ 63.113340][ T179] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.118952][ T179] afs_wake_up_async_call+0x6aa/0x770 [ 63.124428][ T179] ? afs_close_socket+0x320/0x320 [ 63.129459][ T179] ? afs_put_call+0xa40/0xa40 [ 63.134129][ T179] rxrpc_notify_socket+0x1db/0x5d0 [ 63.139233][ T179] ? afs_put_call+0xa40/0xa40 [ 63.143908][ T179] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 63.150313][ T179] rxrpc_call_completed+0xca/0xf0 [ 63.155674][ T179] rxrpc_discard_prealloc+0x781/0xab0 [ 63.161034][ T179] ? lock_sock_nested+0x94/0x110 [ 63.165969][ T179] rxrpc_listen+0x147/0x360 [ 63.170461][ T179] afs_close_socket+0x95/0x320 [ 63.175235][ T179] ? afs_purge_servers+0x16d/0x300 [ 63.180332][ T179] ? afs_rx_discard_new_call+0x50/0x50 [ 63.185779][ T179] ? init_wait_var_entry+0x200/0x200 [ 63.191043][ T179] ? rcu_read_lock_held_common+0xa0/0xa0 [ 63.196652][ T179] ? check_preemption_disabled+0x38/0x220 [ 63.202348][ T179] afs_net_exit+0x1bc/0x310 [ 63.206840][ T179] ? afs_net_init+0xe30/0xe30 [ 63.211498][ T179] ops_exit_list.isra.0+0xa8/0x150 [ 63.216735][ T179] cleanup_net+0x511/0xa50 [ 63.221153][ T179] ? unregister_pernet_device+0x70/0x70 [ 63.226696][ T179] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 63.232674][ T179] process_one_work+0x965/0x1690 [ 63.237609][ T179] ? lock_release+0x800/0x800 [ 63.242273][ T179] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.247622][ T179] ? rwlock_bug.part.0+0x90/0x90 [ 63.252536][ T179] worker_thread+0x96/0xe10 [ 63.257035][ T179] ? process_one_work+0x1690/0x1690 [ 63.262226][ T179] kthread+0x3b5/0x4a0 [ 63.266278][ T179] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.271976][ T179] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.277736][ T179] ret_from_fork+0x1f/0x30 [ 63.283507][ T179] Kernel Offset: disabled [ 63.287938][ T179] Rebooting in 86400 seconds..