Warning: Permanently added '10.128.1.15' (ECDSA) to the list of known hosts.
executing program
syzkaller login: [   29.287900] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   29.300164] IPVS: ftp: loaded support on port[0] = 21
executing program
executing program
[   29.379808] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   29.391035] IPVS: ftp: loaded support on port[0] = 21
[   29.429858] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   29.477967] 
[   29.479608] ======================================================
[   29.486020] WARNING: possible circular locking dependency detected
[   29.492407] 4.14.226-syzkaller #0 Not tainted
[   29.497704] ------------------------------------------------------
[   29.504019] kworker/u4:1/22 is trying to acquire lock:
[   29.509441]  (&table[i].mutex){+.+.}, at: [<ffffffff85edfd0d>] nf_tables_netdev_event+0x10d/0x4d0
[   29.518457] 
[   29.518457] but task is already holding lock:
[   29.524404]  (rtnl_mutex){+.+.}, at: [<ffffffff8648e8d0>] ip6gre_exit_net+0x70/0x570
[   29.532367] 
[   29.532367] which lock already depends on the new lock.
[   29.532367] 
[   29.540654] 
[   29.540654] the existing dependency chain (in reverse order) is:
[   29.548510] 
[   29.548510] -> #2 (rtnl_mutex){+.+.}:
[   29.553769]        __mutex_lock+0xc4/0x1310
[   29.558067]        unregister_netdevice_notifier+0x5e/0x2b0
[   29.563754]        tee_tg_destroy+0x5c/0xb0
[   29.568049]        cleanup_entry+0x232/0x310
[   29.572431]        __do_replace+0x38d/0x580
[   29.576730]        do_ip6t_set_ctl+0x256/0x3b0
[   29.581305]        nf_setsockopt+0x5f/0xb0
[   29.585514]        ipv6_setsockopt+0xc0/0x120
[   29.589984]        tcp_setsockopt+0x7b/0xc0
[   29.594280]        SyS_setsockopt+0x110/0x1e0
[   29.598773]        do_syscall_64+0x1d5/0x640
[   29.603178]        entry_SYSCALL_64_after_hwframe+0x46/0xbb
[   29.608859] 
[   29.608859] -> #1 (&xt[i].mutex){+.+.}:
[   29.614291]        __mutex_lock+0xc4/0x1310
[   29.618587]        match_revfn+0x43/0x210
[   29.622708]        xt_find_revision+0x8d/0x1d0
[   29.627629]        nfnl_compat_get+0x1f7/0x870
[   29.632195]        nfnetlink_rcv_msg+0x9bb/0xc00
[   29.636924]        netlink_rcv_skb+0x125/0x390
[   29.641582]        nfnetlink_rcv+0x1ab/0x1da0
[   29.646056]        netlink_unicast+0x437/0x610
[   29.650832]        netlink_sendmsg+0x62e/0xb80
[   29.655391]        sock_sendmsg+0xb5/0x100
[   29.659611]        ___sys_sendmsg+0x6c8/0x800
[   29.664085]        __sys_sendmsg+0xa3/0x120
[   29.668901]        SyS_sendmsg+0x27/0x40
[   29.672940]        do_syscall_64+0x1d5/0x640
[   29.677343]        entry_SYSCALL_64_after_hwframe+0x46/0xbb
[   29.683026] 
[   29.683026] -> #0 (&table[i].mutex){+.+.}:
[   29.688723]        lock_acquire+0x170/0x3f0
[   29.693022]        __mutex_lock+0xc4/0x1310
[   29.697335]        nf_tables_netdev_event+0x10d/0x4d0
[   29.702500]        notifier_call_chain+0x108/0x1a0
[   29.707404]        rollback_registered_many+0x765/0xba0
[   29.712742]        unregister_netdevice_many.part.0+0x18/0x2e0
[   29.718791]        unregister_netdevice_many+0x36/0x50
[   29.724130]        ip6gre_exit_net+0x41e/0x570
[   29.728686]        ops_exit_list+0xa5/0x150
[   29.733155]        cleanup_net+0x3b3/0x840
[   29.737383]        process_one_work+0x793/0x14a0
[   29.742121]        worker_thread+0x5cc/0xff0
[   29.746524]        kthread+0x30d/0x420
[   29.750388]        ret_from_fork+0x24/0x30
[   29.754605] 
[   29.754605] other info that might help us debug this:
[   29.754605] 
[   29.762738] Chain exists of:
[   29.762738]   &table[i].mutex --> &xt[i].mutex --> rtnl_mutex
[   29.762738] 
[   29.772954]  Possible unsafe locking scenario:
[   29.772954] 
[   29.778987]        CPU0                    CPU1
[   29.783627]        ----                    ----
[   29.788281]   lock(rtnl_mutex);
[   29.791535]                                lock(&xt[i].mutex);
[   29.797652]                                lock(rtnl_mutex);
[   29.803439]   lock(&table[i].mutex);
[   29.807492] 
[   29.807492]  *** DEADLOCK ***
[   29.807492] 
[   29.814047] 4 locks held by kworker/u4:1/22:
[   29.819082]  #0:  ("%s""netns"){+.+.}, at: [<ffffffff81363810>] process_one_work+0x6b0/0x14a0
[   29.828048]  #1:  (net_cleanup_work){+.+.}, at: [<ffffffff81363846>] process_one_work+0x6e6/0x14a0
[   29.837405]  #2:  (net_mutex){+.+.}, at: [<ffffffff85bfab70>] cleanup_net+0x110/0x840
[   29.845546]  #3:  (rtnl_mutex){+.+.}, at: [<ffffffff8648e8d0>] ip6gre_exit_net+0x70/0x570
[   29.853866] 
[   29.853866] stack backtrace:
[   29.858427] CPU: 1 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.226-syzkaller #0
[   29.866021] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[   29.875356] Workqueue: netns cleanup_net
[   29.879408] Call Trace:
[   29.881983]  dump_stack+0x1b2/0x281
[   29.885586]  print_circular_bug.constprop.0.cold+0x2d7/0x41e
[   29.891554]  __lock_acquire+0x2e0e/0x3f20
[   29.895703]  ? unwind_next_frame+0x404/0x17d0
[   29.900194]  ? trace_hardirqs_on+0x10/0x10
[   29.904418]  ? check_usage_forwards+0x2d0/0x2d0
[   29.909069]  ? ret_from_fork+0x24/0x30
[   29.912934]  lock_acquire+0x170/0x3f0
[   29.916729]  ? nf_tables_netdev_event+0x10d/0x4d0
[   29.921570]  ? nf_tables_netdev_event+0x10d/0x4d0
[   29.926389]  __mutex_lock+0xc4/0x1310
[   29.930166]  ? nf_tables_netdev_event+0x10d/0x4d0
[   29.935003]  ? nf_tables_netdev_event+0x10d/0x4d0
[   29.939822]  ? __ww_mutex_wakeup_for_backoff+0x210/0x210
[   29.945249]  ? trace_hardirqs_on+0x10/0x10
[   29.949461]  ? trace_hardirqs_on_caller+0x3a8/0x580
[   29.954454]  ? lock_downgrade+0x740/0x740
[   29.958856]  nf_tables_netdev_event+0x10d/0x4d0
[   29.964111]  ? mirred_device_event+0x12f/0x170
[   29.968674]  ? nf_tables_netdev_init_net+0x140/0x140
[   29.973848]  ? mirred_device_event+0x12f/0x170
[   29.978421]  ? __local_bh_enable_ip+0xc1/0x170
[   29.982988]  notifier_call_chain+0x108/0x1a0
[   29.987380]  rollback_registered_many+0x765/0xba0
[   29.992211]  ? __ww_mutex_wakeup_for_backoff+0x210/0x210
[   29.997647]  ? netdev_state_change+0xf0/0xf0
[   30.002044]  ? lock_acquire+0x170/0x3f0
[   30.005998]  unregister_netdevice_many.part.0+0x18/0x2e0
[   30.011431]  unregister_netdevice_many+0x36/0x50
[   30.016164]  ip6gre_exit_net+0x41e/0x570
[   30.020200]  ? lock_downgrade+0x740/0x740
[   30.024324]  ? ip6gre_dellink+0x260/0x260
[   30.028451]  ? ip6gre_dellink+0x260/0x260
[   30.032639]  ops_exit_list+0xa5/0x150
[   30.036420]  cleanup_net+0x3b3/0x840
[   30.040134]  ? net_drop_ns+0x70/0x70
[   30.043834]  ? lock_acquire+0x170/0x3f0
[   30.047786]  ? rcu_lockdep_current_cpu_online+0xed/0x140
[   30.053215]  process_one_work+0x793/0x14a0
[   30.057430]  ? work_busy+0x320/0x320
[   30.061127]  ? worker_thread+0x158/0xff0
[   30.065339]  ? _raw_spin_unlock_irq+0x24/0x80
[   30.069816]  worker_thread+0x5cc/0xff0
[   30.073705]  ? rescuer_thread+0xc80/0xc80
[   30.077846]  kthread+0x30d/0x420
[   30.081191]  ? kthread_create_on_node+0xd0/0xd0
[   30.087750]  ret_from_fork+0x24/0x30
executing program
[   30.684279] IPVS: ftp: loaded support on port[0] = 21
[   30.714780] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
executing program
[   31.352192] IPVS: ftp: loaded support on port[0] = 21
[   31.382675] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   31.393257] IPVS: ftp: loaded support on port[0] = 21
[   31.427030] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
executing program
[   32.082141] IPVS: ftp: loaded support on port[0] = 21
[   32.113556] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   32.124971] IPVS: ftp: loaded support on port[0] = 21
[   32.159524] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
[   33.298188] IPVS: ftp: loaded support on port[0] = 21
[   33.331274] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
[   34.425376] IPVS: ftp: loaded support on port[0] = 21
[   34.456075] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
[   35.078925] IPVS: ftp: loaded support on port[0] = 21
executing program
[   35.108764] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   35.119180] IPVS: ftp: loaded support on port[0] = 21
[   35.152670] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
executing program
[   35.808609] IPVS: ftp: loaded support on port[0] = 21
[   35.839580] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   35.850121] IPVS: ftp: loaded support on port[0] = 21
[   35.883424] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
[   36.976165] IPVS: ftp: loaded support on port[0] = 21
executing program
[   37.006794] ip6_tables: ip6tables: counters copy to user failed while replacing table
[   37.017206] IPVS: ftp: loaded support on port[0] = 21
[   37.050433] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
[   38.094211] IPVS: ftp: loaded support on port[0] = 21
[   38.124926] ip6_tables: ip6tables: counters copy to user failed while replacing table
executing program
[   39.283958] IPVS: ftp: loaded support on port[0] = 21
[   39.314863] ip6_tables: ip6tables: counters copy to user failed while replacing table