IPVS: stopping backup sync thread 4539 ... IPVS: sync thread started: state = BACKUP, mcast_ifn = lo, syncid = 0, id = 0 IPVS: sync thread started: state = BACKUP, mcast_ifn = lo, syncid = 0, id = 0 ============================================= [ INFO: possible recursive locking detected ] 4.9.94-g8683408 #3 Not tainted --------------------------------------------- syz-executor6/4564 is trying to acquire lock: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 but task is already holding lock: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(rtnl_mutex); lock(rtnl_mutex); *** DEADLOCK *** May be due to missing lock nesting notation 2 locks held by syz-executor6/4564: #0: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 #1: (ipvs->sync_mutex){+.+.+.}, at: [] do_ip_vs_set_ctl+0x90d/0xbd0 net/netfilter/ipvs/ip_vs_ctl.c:2397 stack backtrace: CPU: 1 PID: 4564 Comm: syz-executor6 Not tainted 4.9.94-g8683408 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d0307470 ffffffff81d9b509 ffffffff853730e0 ffffffff853730e0 ffffffff853730e0 ffff8801d53ea0e8 ca7f78f9c690fb45 ffff8801d0307630 ffffffff814258ef ffffffff84c6eca0 ffffffff84fc8338 ffffffff84c6eca4 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] print_deadlock_bug kernel/locking/lockdep.c:1727 [inline] [] check_deadlock kernel/locking/lockdep.c:1771 [inline] [] validate_chain kernel/locking/lockdep.c:2249 [inline] [] __lock_acquire.cold.59+0x166/0x5f8 kernel/locking/lockdep.c:3345 [] lock_acquire+0x130/0x3e0 kernel/locking/lockdep.c:3756 [] __mutex_lock_common kernel/locking/mutex.c:521 [inline] [] mutex_lock_nested+0xc0/0x870 kernel/locking/mutex.c:621 [] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70 [] ip_mc_drop_socket+0x8c/0x230 net/ipv4/igmp.c:2635 [] inet_release+0x5b/0x1d0 net/ipv4/af_inet.c:420 [] sock_release+0x96/0x1c0 net/socket.c:599 [] start_sync_thread+0xa0e/0x1ea0 net/netfilter/ipvs/ip_vs_sync.c:1926 [] do_ip_vs_set_ctl+0x91f/0xbd0 net/netfilter/ipvs/ip_vs_ctl.c:2398 [] compat_nf_sockopt net/netfilter/nf_sockopt.c:145 [inline] [] compat_nf_setsockopt+0x10d/0x130 net/netfilter/nf_sockopt.c:155 [] compat_ip_setsockopt+0xa7/0xe0 net/ipv4/ip_sockglue.c:1275 [] inet_csk_compat_setsockopt+0x97/0x120 net/ipv4/inet_connection_sock.c:914 [] compat_tcp_setsockopt+0x3d/0x70 net/ipv4/tcp.c:2766 [] compat_sock_common_setsockopt+0xb4/0x150 net/core/sock.c:2717 [] C_SYSC_setsockopt net/compat.c:398 [inline] [] compat_SyS_setsockopt+0x14c/0x2a0 net/compat.c:381 [] do_syscall_32_irqs_on arch/x86/entry/common.c:325 [inline] [] do_fast_syscall_32+0x2f7/0x870 arch/x86/entry/common.c:387 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 IPVS: stopping backup sync thread 4553 ... IPVS: stopping backup sync thread 4562 ... IPVS: stopping backup sync thread 4568 ... IPVS: stopping backup sync thread 4573 ... IPVS: stopping backup sync thread 4577 ...