[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 12.950715] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 16.935655] random: sshd: uninitialized urandom read (32 bytes read) [ 17.378444] random: sshd: uninitialized urandom read (32 bytes read) [ 18.103374] random: sshd: uninitialized urandom read (32 bytes read) [ 18.232114] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.50' (ECDSA) to the list of known hosts. [ 23.901788] random: sshd: uninitialized urandom read (32 bytes read) RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported [ 23.981257] IPVS: Creating netns size=2536 id=1 Error: argument "bridge0" is wrong: Device does not exist Error: argument "bridge0" is wrong: Device does not exist Error: argument "bond0" is wrong: Device does not exist Error: argument "bond0" is wrong: Device does not exist [ 24.055841] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 24.066944] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready Error: argument "team0" is wrong: Device does not exist Error: argument "team0" is wrong: Device does not exist [ 24.105469] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 24.116120] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready RTNETLINK answers: Operation not supported [ 24.154948] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 24.165793] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 24.176654] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 24.196299] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "vcan0" Cannot find device "vcan0" Cannot find device "vcan0" Cannot find device "vcan0" RTNETLINK answers: Operation not supported Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "team0" Cannot find device "team0" Cannot find device "team0" Cannot find device "team0" [ 24.625193] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 24.647088] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 24.653334] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 24.660006] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 24.796205] [ 24.797847] ====================================================== [ 24.800537] IPVS: sync thread started: state = BACKUP, mcast_ifn = veth1_to_bond, syncid = 3, id = 0 [ 24.813365] [ INFO: possible circular locking dependency detected ] [ 24.819745] 4.9.103-g0cecdf8 #35 Not tainted [ 24.824122] ------------------------------------------------------- [ 24.830494] syz-executor309/3802 is trying to acquire lock: [ 24.836173] (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 [ 24.843952] but task is already holding lock: [ 24.848589] (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 [ 24.858365] which lock already depends on the new lock. [ 24.858365] [ 24.865360] [ 24.865360] the existing dependency chain (in reverse order) is: [ 24.872953] -> #1 (sk_lock-AF_INET){+.+.+.}: [ 24.877982] lock_acquire+0x130/0x3e0 [ 24.882272] lock_sock_nested+0xc6/0x120 [ 24.886822] inet_bind+0x2a6/0x8b0 [ 24.890851] start_sync_thread+0x1356/0x1e80 [ 24.895749] do_ip_vs_set_ctl+0x90f/0xbb0 [ 24.900392] nf_setsockopt+0x6d/0xc0 [ 24.904592] ip_setsockopt+0x9a/0xb0 [ 24.908799] tcp_setsockopt+0x88/0xe0 [ 24.913089] sock_common_setsockopt+0x9a/0xe0 [ 24.918074] SyS_setsockopt+0x166/0x260 [ 24.922537] do_syscall_64+0x1a6/0x490 [ 24.926923] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 24.932515] -> #0 (rtnl_mutex){+.+.+.}: [ 24.937096] __lock_acquire+0x3019/0x4070 [ 24.941767] lock_acquire+0x130/0x3e0 [ 24.946058] mutex_lock_nested+0xc0/0x870 [ 24.950695] rtnl_lock+0x17/0x20 [ 24.954584] mrtsock_destruct+0x3b/0x1e0 [ 24.959135] ip_ra_control+0x2c2/0x420 [ 24.963512] do_ip_setsockopt.isra.13+0x15ff/0x2b10 [ 24.969019] ip_setsockopt+0x3a/0xb0 [ 24.973259] raw_setsockopt+0xb7/0xd0 [ 24.977548] sock_common_setsockopt+0x9a/0xe0 [ 24.982534] SyS_setsockopt+0x166/0x260 [ 24.986999] do_syscall_64+0x1a6/0x490 [ 24.991378] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 24.996969] [ 24.996969] other info that might help us debug this: [ 24.996969] [ 25.005077] Possible unsafe locking scenario: [ 25.005077] [ 25.011101] CPU0 CPU1 [ 25.015736] ---- ---- [ 25.020373] lock(sk_lock-AF_INET); [ 25.024291] lock(rtnl_mutex); [ 25.030285] lock(sk_lock-AF_INET); [ 25.036718] lock(rtnl_mutex); [ 25.040195] [ 25.040195] *** DEADLOCK *** [ 25.040195] [ 25.046223] 1 lock held by syz-executor309/3802: [ 25.050942] #0: (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 [ 25.061266] [ 25.061266] stack backtrace: [ 25.065737] CPU: 0 PID: 3802 Comm: syz-executor309 Not tainted 4.9.103-g0cecdf8 #35 [ 25.073500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.082831] ffff8801d924f5f8 ffffffff81eb34a9 ffffffff8559cf30 ffffffff855e79f0 [ 25.090805] ffffffff8559cf30 ffff8801b7a150e8 ffff8801b7a14800 ffff8801d924f640 [ 25.098776] ffffffff8142642d 0000000000000001 00000000b7a14800 0000000000000001 [ 25.106748] Call Trace: [ 25.109305] [] dump_stack+0xc1/0x128 [ 25.114653] [] print_circular_bug.cold.51+0x1bd/0x27d [ 25.121463] [] __lock_acquire+0x3019/0x4070 [ 25.127415] [] ? debug_check_no_locks_freed+0x210/0x210 [ 25.134398] [] ? add_lock_to_list.isra.27.constprop.41+0x140/0x1c0 [ 25.142334] [] ? __lock_is_held+0xa2/0xf0 [ 25.148101] [] lock_acquire+0x130/0x3e0 [ 25.153695] [] ? rtnl_lock+0x17/0x20 [ 25.159024] [] ? rtnl_lock+0x17/0x20 [ 25.164364] [] mutex_lock_nested+0xc0/0x870 [ 25.170307] [] ? rtnl_lock+0x17/0x20 [ 25.175639] [] ? mutex_trylock+0x3e0/0x3e0 [ 25.181492] [] ? mark_held_locks+0xc7/0x130 [ 25.187434] [] ? __local_bh_enable_ip+0x6a/0xd0 [ 25.193731] [] rtnl_lock+0x17/0x20 [ 25.198895] [] mrtsock_destruct+0x3b/0x1e0 [ 25.204751] [] ? mroute_clean_tables+0x500/0x500 [ 25.211124] [] ip_ra_control+0x2c2/0x420 [ 25.216806] [] do_ip_setsockopt.isra.13+0x15ff/0x2b10 [ 25.223619] [] ? ip_ra_control+0x420/0x420 [ 25.229475] [] ? get_empty_filp+0x8f/0x380 [ 25.235329] [] ? alloc_file+0x20/0x350 [ 25.240841] [] ? sock_alloc_file+0x151/0x330 [ 25.246869] [] ? sock_map_fd+0x34/0x70 [ 25.252376] [] ? SyS_socket+0x10f/0x1b0 [ 25.257976] [] ? do_syscall_64+0x1a6/0x490 [ 25.263830] [] ? entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 25.270903] [] ? debug_check_no_locks_freed+0x210/0x210 [ 25.277886] [] ? debug_check_no_locks_freed+0x210/0x210 [ 25.284870] [] ? check_preemption_disabled+0x3b/0x170 [ 25.291677] [] ? sock_has_perm+0x1c2/0x3e0 [ 25.297528] [] ? sock_has_perm+0x292/0x3e0 [ 25.303381] [] ? sock_has_perm+0x9f/0x3e0 [ 25.309147] [] ? selinux_file_send_sigiotask+0x310/0x310 [ 25.316216] [] ? selinux_netlbl_socket_setsockopt+0x8c/0x340 [ 25.323630] [] ? selinux_netlbl_sock_rcv_skb+0x480/0x480 [ 25.330698] [] ip_setsockopt+0x3a/0xb0 [ 25.336205] [] raw_setsockopt+0xb7/0xd0 [ 25.341797] [] sock_common_setsockopt+0x9a/0xe0 [ 25.348086] [] SyS_setsockopt+0x166/0x260 [ 25.353853] [] ? SyS_recv+0x40/0x40 [ 25.359099] [] ? __do_page_fault+0x183/0xd50 [ 25.365126] [] ? move_addr_to_kernel+0x50/0x50 [ 25.371329] [] ? do_syscall_64+0x48/0x490 [ 25.377097] [] ? SyS_recv+0x40/0x40 [ 25.382341] [] do_syscall_64+0x1a6/0x490 [ 25.388024] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb