Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.15.207' (ECDSA) to the list of known hosts. 2020/06/19 17:50:39 fuzzer started 2020/06/19 17:50:40 connecting to host at 10.128.0.26:36803 2020/06/19 17:50:40 checking machine... 2020/06/19 17:50:40 checking revisions... 2020/06/19 17:50:40 testing simple program... syzkaller login: [ 62.925648][ T6821] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 17:50:40 building call list... [ 63.210161][ T319] tipc: TX() has been purged, node left! [ 63.732753][ T319] ================================================================== [ 63.741070][ T319] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 63.749570][ T319] Write of size 1 at addr ffff8880a6f479e4 by task kworker/u4:6/319 [ 63.757632][ T319] [ 63.759968][ T319] CPU: 0 PID: 319 Comm: kworker/u4:6 Not tainted 5.8.0-rc1-syzkaller #0 [ 63.768285][ T319] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.784218][ T319] Workqueue: netns cleanup_net [ 63.791957][ T319] Call Trace: [ 63.795304][ T319] dump_stack+0x18f/0x20d [ 63.799723][ T319] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.805829][ T319] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.818411][ T319] ? afs_put_call+0xa40/0xa40 [ 63.823297][ T319] print_address_description.constprop.0.cold+0xd3/0x413 [ 63.830681][ T319] ? vprintk_func+0x97/0x1a6 [ 63.835277][ T319] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.840846][ T319] kasan_report.cold+0x1f/0x37 [ 63.845615][ T319] ? rcu_read_lock_held_common+0x51/0xa0 [ 63.851793][ T319] ? afs_wake_up_async_call+0x6aa/0x770 [ 63.857351][ T319] afs_wake_up_async_call+0x6aa/0x770 [ 63.862720][ T319] ? afs_close_socket+0x320/0x320 [ 63.867743][ T319] ? afs_put_call+0xa40/0xa40 [ 63.872766][ T319] rxrpc_notify_socket+0x1db/0x5d0 [ 63.877881][ T319] ? afs_put_call+0xa40/0xa40 [ 63.882556][ T319] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 63.889081][ T319] rxrpc_call_completed+0xca/0xf0 [ 63.894206][ T319] rxrpc_discard_prealloc+0x781/0xab0 [ 63.899587][ T319] ? lock_sock_nested+0x94/0x110 [ 63.904648][ T319] rxrpc_listen+0x147/0x360 [ 63.909161][ T319] afs_close_socket+0x95/0x320 [ 63.913921][ T319] ? afs_purge_servers+0x16d/0x300 [ 63.919119][ T319] ? afs_rx_discard_new_call+0x50/0x50 [ 63.924590][ T319] ? init_wait_var_entry+0x200/0x200 [ 63.930056][ T319] ? rcu_read_lock_held_common+0xa0/0xa0 [ 63.935920][ T319] ? check_preemption_disabled+0x38/0x220 [ 63.941748][ T319] afs_net_exit+0x1bc/0x310 [ 63.946255][ T319] ? afs_net_init+0xe30/0xe30 [ 63.950930][ T319] ops_exit_list.isra.0+0xa8/0x150 [ 63.956044][ T319] cleanup_net+0x511/0xa50 [ 63.960467][ T319] ? unregister_pernet_device+0x70/0x70 [ 63.966016][ T319] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 63.972016][ T319] process_one_work+0x965/0x1690 [ 63.976964][ T319] ? lock_release+0x800/0x800 [ 63.981641][ T319] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.987016][ T319] ? rwlock_bug.part.0+0x90/0x90 [ 63.991969][ T319] worker_thread+0x96/0xe10 [ 63.996494][ T319] ? process_one_work+0x1690/0x1690 [ 64.001695][ T319] kthread+0x3b5/0x4a0 [ 64.005777][ T319] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.011503][ T319] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.017239][ T319] ret_from_fork+0x1f/0x30 [ 64.021675][ T319] [ 64.024031][ T319] Allocated by task 6821: [ 64.028365][ T319] save_stack+0x1b/0x40 [ 64.032520][ T319] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 64.038173][ T319] kmem_cache_alloc_trace+0x153/0x7d0 [ 64.043572][ T319] afs_alloc_call+0x55/0x630 [ 64.048158][ T319] afs_charge_preallocation+0xe9/0x2d0 [ 64.053610][ T319] afs_open_socket+0x292/0x360 [ 64.058366][ T319] afs_net_init+0xa6c/0xe30 [ 64.062867][ T319] ops_init+0xaf/0x420 [ 64.067016][ T319] setup_net+0x2de/0x860 [ 64.071273][ T319] copy_net_ns+0x293/0x590 [ 64.075701][ T319] create_new_namespaces+0x3fb/0xb30 [ 64.080984][ T319] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 64.086625][ T319] ksys_unshare+0x43d/0x8e0 [ 64.091134][ T319] __x64_sys_unshare+0x2d/0x40 [ 64.095894][ T319] do_syscall_64+0x60/0xe0 [ 64.100598][ T319] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.106851][ T319] [ 64.110129][ T319] Freed by task 319: [ 64.114022][ T319] save_stack+0x1b/0x40 [ 64.118179][ T319] __kasan_slab_free+0xf7/0x140 [ 64.123021][ T319] kfree+0x109/0x2b0 [ 64.126911][ T319] afs_put_call+0x585/0xa40 [ 64.131412][ T319] rxrpc_discard_prealloc+0x764/0xab0 [ 64.136777][ T319] rxrpc_listen+0x147/0x360 [ 64.141275][ T319] afs_close_socket+0x95/0x320 [ 64.146035][ T319] afs_net_exit+0x1bc/0x310 [ 64.150532][ T319] ops_exit_list.isra.0+0xa8/0x150 [ 64.155635][ T319] cleanup_net+0x511/0xa50 [ 64.160048][ T319] process_one_work+0x965/0x1690 [ 64.164982][ T319] worker_thread+0x96/0xe10 [ 64.169495][ T319] kthread+0x3b5/0x4a0 [ 64.173559][ T319] ret_from_fork+0x1f/0x30 [ 64.178136][ T319] [ 64.180459][ T319] The buggy address belongs to the object at ffff8880a6f47800 [ 64.180459][ T319] which belongs to the cache kmalloc-1k of size 1024 [ 64.194508][ T319] The buggy address is located 484 bytes inside of [ 64.194508][ T319] 1024-byte region [ffff8880a6f47800, ffff8880a6f47c00) [ 64.207942][ T319] The buggy address belongs to the page: [ 64.213589][ T319] page:ffffea00029bd1c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 64.222707][ T319] flags: 0xfffe0000000200(slab) [ 64.227928][ T319] raw: 00fffe0000000200 ffffea00024b6d88 ffffea0002a03148 ffff8880aa000c40 [ 64.236515][ T319] raw: 0000000000000000 ffff8880a6f47000 0000000100000002 0000000000000000 [ 64.245085][ T319] page dumped because: kasan: bad access detected [ 64.251488][ T319] [ 64.253809][ T319] Memory state around the buggy address: [ 64.259430][ T319] ffff8880a6f47880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.267486][ T319] ffff8880a6f47900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.275553][ T319] >ffff8880a6f47980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.283614][ T319] ^ [ 64.290799][ T319] ffff8880a6f47a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.298856][ T319] ffff8880a6f47a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.306912][ T319] ================================================================== [ 64.315219][ T319] Disabling lock debugging due to kernel taint [ 64.321433][ T319] Kernel panic - not syncing: panic_on_warn set ... [ 64.328012][ T319] CPU: 0 PID: 319 Comm: kworker/u4:6 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 64.337713][ T319] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.347774][ T319] Workqueue: netns cleanup_net [ 64.352532][ T319] Call Trace: [ 64.355824][ T319] dump_stack+0x18f/0x20d [ 64.360157][ T319] ? afs_wake_up_async_call+0x680/0x770 [ 64.365793][ T319] ? afs_put_call+0xa40/0xa40 [ 64.370474][ T319] panic+0x2e3/0x75c [ 64.374370][ T319] ? __warn_printk+0xf3/0xf3 [ 64.379221][ T319] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 64.385477][ T319] ? trace_hardirqs_on+0x55/0x220 [ 64.390516][ T319] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.396842][ T319] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.402379][ T319] ? afs_put_call+0xa40/0xa40 [ 64.408721][ T319] end_report+0x4d/0x53 [ 64.412874][ T319] kasan_report.cold+0xd/0x37 [ 64.417550][ T319] ? rcu_read_lock_held_common+0x51/0xa0 [ 64.423268][ T319] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.428808][ T319] afs_wake_up_async_call+0x6aa/0x770 [ 64.434172][ T319] ? afs_close_socket+0x320/0x320 [ 64.439194][ T319] ? afs_put_call+0xa40/0xa40 [ 64.443864][ T319] rxrpc_notify_socket+0x1db/0x5d0 [ 64.448972][ T319] ? afs_put_call+0xa40/0xa40 [ 64.453641][ T319] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 64.460728][ T319] rxrpc_call_completed+0xca/0xf0 [ 64.466272][ T319] rxrpc_discard_prealloc+0x781/0xab0 [ 64.471724][ T319] ? lock_sock_nested+0x94/0x110 [ 64.476655][ T319] rxrpc_listen+0x147/0x360 [ 64.481152][ T319] afs_close_socket+0x95/0x320 [ 64.485993][ T319] ? afs_purge_servers+0x16d/0x300 [ 64.491096][ T319] ? afs_rx_discard_new_call+0x50/0x50 [ 64.498112][ T319] ? init_wait_var_entry+0x200/0x200 [ 64.503390][ T319] ? rcu_read_lock_held_common+0xa0/0xa0 [ 64.509109][ T319] ? check_preemption_disabled+0x38/0x220 [ 64.514826][ T319] afs_net_exit+0x1bc/0x310 [ 64.519326][ T319] ? afs_net_init+0xe30/0xe30 [ 64.525037][ T319] ops_exit_list.isra.0+0xa8/0x150 [ 64.530227][ T319] cleanup_net+0x511/0xa50 [ 64.534637][ T319] ? unregister_pernet_device+0x70/0x70 [ 64.540186][ T319] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 64.546168][ T319] process_one_work+0x965/0x1690 [ 64.551113][ T319] ? lock_release+0x800/0x800 [ 64.555841][ T319] ? pwq_dec_nr_in_flight+0x310/0x310 [ 64.561854][ T319] ? rwlock_bug.part.0+0x90/0x90 [ 64.566789][ T319] worker_thread+0x96/0xe10 [ 64.571306][ T319] ? process_one_work+0x1690/0x1690 [ 64.576932][ T319] kthread+0x3b5/0x4a0 [ 64.581018][ T319] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.586825][ T319] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.592540][ T319] ret_from_fork+0x1f/0x30 [ 64.598443][ T319] Kernel Offset: disabled [ 64.602778][ T319] Rebooting in 86400 seconds..