[ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. 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.1.16' (ECDSA) to the list of known hosts. 2020/06/19 02:32:15 fuzzer started 2020/06/19 02:32:15 connecting to host at 10.128.0.26:34487 2020/06/19 02:32:15 checking machine... 2020/06/19 02:32:15 checking revisions... 2020/06/19 02:32:15 testing simple program... syzkaller login: [ 64.322168][ T6852] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 02:32:16 building call list... [ 64.656704][ T379] tipc: TX() has been purged, node left! [ 65.198697][ T379] ================================================================== [ 65.206958][ T379] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 65.214871][ T379] Write of size 1 at addr ffff8880821491e4 by task kworker/u4:8/379 [ 65.222837][ T379] [ 65.225473][ T379] CPU: 0 PID: 379 Comm: kworker/u4:8 Not tainted 5.8.0-rc1-syzkaller #0 [ 65.233905][ T379] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.243977][ T379] Workqueue: netns cleanup_net [ 65.248922][ T379] Call Trace: [ 65.252233][ T379] dump_stack+0x18f/0x20d [ 65.256570][ T379] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.262643][ T379] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.268189][ T379] ? afs_put_call+0xa40/0xa40 [ 65.272876][ T379] print_address_description.constprop.0.cold+0xd3/0x413 [ 65.279914][ T379] ? vprintk_func+0x97/0x1a6 [ 65.284512][ T379] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.290062][ T379] kasan_report.cold+0x1f/0x37 [ 65.294834][ T379] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.300473][ T379] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.306027][ T379] afs_wake_up_async_call+0x6aa/0x770 [ 65.311399][ T379] ? afs_close_socket+0x320/0x320 [ 65.316428][ T379] ? afs_put_call+0xa40/0xa40 [ 65.321104][ T379] rxrpc_notify_socket+0x1db/0x5d0 [ 65.326237][ T379] ? afs_put_call+0xa40/0xa40 [ 65.330929][ T379] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.337366][ T379] rxrpc_call_completed+0xca/0xf0 [ 65.342419][ T379] rxrpc_discard_prealloc+0x781/0xab0 [ 65.347794][ T379] ? lock_sock_nested+0x94/0x110 [ 65.352821][ T379] rxrpc_listen+0x147/0x360 [ 65.357335][ T379] afs_close_socket+0x95/0x320 [ 65.362097][ T379] ? afs_purge_servers+0x16d/0x300 [ 65.367210][ T379] ? afs_rx_discard_new_call+0x50/0x50 [ 65.372687][ T379] ? init_wait_var_entry+0x200/0x200 [ 65.378439][ T379] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.384080][ T379] ? check_preemption_disabled+0x38/0x220 [ 65.389812][ T379] afs_net_exit+0x1bc/0x310 [ 65.394321][ T379] ? afs_net_init+0xe30/0xe30 [ 65.398996][ T379] ops_exit_list.isra.0+0xa8/0x150 [ 65.404109][ T379] cleanup_net+0x511/0xa50 [ 65.408528][ T379] ? unregister_pernet_device+0x70/0x70 [ 65.414168][ T379] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.420168][ T379] process_one_work+0x965/0x1690 [ 65.425122][ T379] ? lock_release+0x800/0x800 [ 65.430242][ T379] ? pwq_dec_nr_in_flight+0x310/0x310 [ 65.435623][ T379] ? rwlock_bug.part.0+0x90/0x90 [ 65.440690][ T379] worker_thread+0x96/0xe10 [ 65.445221][ T379] ? process_one_work+0x1690/0x1690 [ 65.450425][ T379] kthread+0x3b5/0x4a0 [ 65.454495][ T379] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.460236][ T379] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.466022][ T379] ret_from_fork+0x1f/0x30 [ 65.470466][ T379] [ 65.472795][ T379] Allocated by task 6852: [ 65.477138][ T379] save_stack+0x1b/0x40 [ 65.481297][ T379] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 65.486926][ T379] kmem_cache_alloc_trace+0x153/0x7d0 [ 65.492302][ T379] afs_alloc_call+0x55/0x630 [ 65.496892][ T379] afs_charge_preallocation+0xe9/0x2d0 [ 65.502349][ T379] afs_open_socket+0x292/0x360 [ 65.507122][ T379] afs_net_init+0xa6c/0xe30 [ 65.511622][ T379] ops_init+0xaf/0x420 [ 65.515687][ T379] setup_net+0x2de/0x860 [ 65.519925][ T379] copy_net_ns+0x293/0x590 [ 65.524339][ T379] create_new_namespaces+0x3fb/0xb30 [ 65.529646][ T379] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 65.535280][ T379] ksys_unshare+0x43d/0x8e0 [ 65.539787][ T379] __x64_sys_unshare+0x2d/0x40 [ 65.544545][ T379] do_syscall_64+0x60/0xe0 [ 65.548961][ T379] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.554838][ T379] [ 65.557161][ T379] Freed by task 379: [ 65.561052][ T379] save_stack+0x1b/0x40 [ 65.565209][ T379] __kasan_slab_free+0xf7/0x140 [ 65.571023][ T379] kfree+0x109/0x2b0 [ 65.574916][ T379] afs_put_call+0x585/0xa40 [ 65.579418][ T379] rxrpc_discard_prealloc+0x764/0xab0 [ 65.584805][ T379] rxrpc_listen+0x147/0x360 [ 65.589305][ T379] afs_close_socket+0x95/0x320 [ 65.594061][ T379] afs_net_exit+0x1bc/0x310 [ 65.598683][ T379] ops_exit_list.isra.0+0xa8/0x150 [ 65.603793][ T379] cleanup_net+0x511/0xa50 [ 65.608248][ T379] process_one_work+0x965/0x1690 [ 65.613217][ T379] worker_thread+0x96/0xe10 [ 65.617826][ T379] kthread+0x3b5/0x4a0 [ 65.621923][ T379] ret_from_fork+0x1f/0x30 [ 65.626376][ T379] [ 65.628828][ T379] The buggy address belongs to the object at ffff888082149000 [ 65.628828][ T379] which belongs to the cache kmalloc-1k of size 1024 [ 65.642891][ T379] The buggy address is located 484 bytes inside of [ 65.642891][ T379] 1024-byte region [ffff888082149000, ffff888082149400) [ 65.656425][ T379] The buggy address belongs to the page: [ 65.662062][ T379] page:ffffea0002085240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 65.671512][ T379] flags: 0xfffe0000000200(slab) [ 65.676365][ T379] raw: 00fffe0000000200 ffffea0002085188 ffffea0002085288 ffff8880aa000c40 [ 65.684966][ T379] raw: 0000000000000000 ffff888082149000 0000000100000002 0000000000000000 [ 65.693550][ T379] page dumped because: kasan: bad access detected [ 65.700062][ T379] [ 65.702385][ T379] Memory state around the buggy address: [ 65.708012][ T379] ffff888082149080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.716087][ T379] ffff888082149100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.724582][ T379] >ffff888082149180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.732904][ T379] ^ [ 65.745337][ T379] ffff888082149200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.753434][ T379] ffff888082149280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.761513][ T379] ================================================================== [ 65.769663][ T379] Disabling lock debugging due to kernel taint [ 65.775937][ T379] Kernel panic - not syncing: panic_on_warn set ... [ 65.782630][ T379] CPU: 0 PID: 379 Comm: kworker/u4:8 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 65.792376][ T379] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.802439][ T379] Workqueue: netns cleanup_net [ 65.807287][ T379] Call Trace: [ 65.810574][ T379] dump_stack+0x18f/0x20d [ 65.815002][ T379] ? afs_wake_up_async_call+0x670/0x770 [ 65.820558][ T379] ? afs_put_call+0xa40/0xa40 [ 65.825274][ T379] panic+0x2e3/0x75c [ 65.829209][ T379] ? __warn_printk+0xf3/0xf3 [ 65.833801][ T379] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 65.839954][ T379] ? trace_hardirqs_on+0x55/0x220 [ 65.844977][ T379] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.850515][ T379] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.856157][ T379] ? afs_put_call+0xa40/0xa40 [ 65.861013][ T379] end_report+0x4d/0x53 [ 65.865174][ T379] kasan_report.cold+0xd/0x37 [ 65.869862][ T379] ? rcu_read_lock_held_common+0x51/0xa0 [ 65.875488][ T379] ? afs_wake_up_async_call+0x6aa/0x770 [ 65.881116][ T379] afs_wake_up_async_call+0x6aa/0x770 [ 65.887596][ T379] ? afs_close_socket+0x320/0x320 [ 65.892792][ T379] ? afs_put_call+0xa40/0xa40 [ 65.897463][ T379] rxrpc_notify_socket+0x1db/0x5d0 [ 65.902569][ T379] ? afs_put_call+0xa40/0xa40 [ 65.907427][ T379] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 65.913859][ T379] rxrpc_call_completed+0xca/0xf0 [ 65.918888][ T379] rxrpc_discard_prealloc+0x781/0xab0 [ 65.924256][ T379] ? lock_sock_nested+0x94/0x110 [ 65.929190][ T379] rxrpc_listen+0x147/0x360 [ 65.933687][ T379] afs_close_socket+0x95/0x320 [ 65.938468][ T379] ? afs_purge_servers+0x16d/0x300 [ 65.943586][ T379] ? afs_rx_discard_new_call+0x50/0x50 [ 65.949060][ T379] ? init_wait_var_entry+0x200/0x200 [ 65.954338][ T379] ? rcu_read_lock_held_common+0xa0/0xa0 [ 65.959969][ T379] ? check_preemption_disabled+0x38/0x220 [ 65.965873][ T379] afs_net_exit+0x1bc/0x310 [ 65.970368][ T379] ? afs_net_init+0xe30/0xe30 [ 65.975038][ T379] ops_exit_list.isra.0+0xa8/0x150 [ 65.980271][ T379] cleanup_net+0x511/0xa50 [ 65.984696][ T379] ? unregister_pernet_device+0x70/0x70 [ 65.990242][ T379] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 65.996219][ T379] process_one_work+0x965/0x1690 [ 66.001195][ T379] ? lock_release+0x800/0x800 [ 66.005863][ T379] ? pwq_dec_nr_in_flight+0x310/0x310 [ 66.011226][ T379] ? rwlock_bug.part.0+0x90/0x90 [ 66.016163][ T379] worker_thread+0x96/0xe10 [ 66.020933][ T379] ? process_one_work+0x1690/0x1690 [ 66.026385][ T379] kthread+0x3b5/0x4a0 [ 66.030451][ T379] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.036175][ T379] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 66.042280][ T379] ret_from_fork+0x1f/0x30 [ 66.048600][ T379] Kernel Offset: disabled [ 66.052932][ T379] Rebooting in 86400 seconds..