[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 14.590280] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 34.919663] random: sshd: uninitialized urandom read (32 bytes read) [ 35.274621] random: sshd: uninitialized urandom read (32 bytes read) [ 35.874000] random: sshd: uninitialized urandom read (32 bytes read) [ 35.996542] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.12' (ECDSA) to the list of known hosts. [ 41.464949] 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 [ 41.550775] IPVS: Creating netns size=2536 id=1 RTNETLINK answers: Operation not supported 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 [ 41.636759] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 41.648747] 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 [ 41.693206] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 41.704695] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready [ 41.751230] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 41.762687] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 41.774315] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready RTNETLINK answers: Operation not supported [ 41.795066] 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" [ 42.297960] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 42.322249] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 42.328452] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 42.335278] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready Cannot find device "team0" executing program [ 42.496357] [ 42.498007] ====================================================== [ 42.504296] [ INFO: possible circular locking dependency detected ] [ 42.505486] IPVS: sync thread started: state = BACKUP, mcast_ifn = veth1_to_team, syncid = 1, id = 0 [ 42.519915] 4.9.100-g73fdfa3 #26 Not tainted [ 42.524291] ------------------------------------------------------- [ 42.530664] syz-executor225/3809 is trying to acquire lock: [ 42.536341] (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 [ 42.544128] but task is already holding lock: [ 42.548768] (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 [ 42.558545] which lock already depends on the new lock. [ 42.558545] [ 42.565526] [ 42.565526] the existing dependency chain (in reverse order) is: [ 42.573115] -> #1 (sk_lock-AF_INET){+.+.+.}: [ 42.578154] lock_acquire+0x130/0x3e0 [ 42.582452] lock_sock_nested+0xc6/0x120 [ 42.587007] inet_bind+0x2a6/0x8b0 [ 42.591040] start_sync_thread+0x1356/0x1e80 [ 42.595938] do_ip_vs_set_ctl+0x90f/0xbb0 [ 42.600581] nf_setsockopt+0x6d/0xc0 [ 42.604790] ip_setsockopt+0x9a/0xb0 [ 42.609004] udp_setsockopt+0x4a/0x90 [ 42.613315] ipv6_setsockopt+0x10a/0x130 [ 42.617867] tcp_setsockopt+0x88/0xe0 [ 42.622163] sock_common_setsockopt+0x9a/0xe0 [ 42.627150] SyS_setsockopt+0x166/0x260 [ 42.631620] do_syscall_64+0x1a6/0x490 [ 42.635998] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 42.641592] -> #0 (rtnl_mutex){+.+.+.}: [ 42.646199] __lock_acquire+0x3019/0x4070 [ 42.650841] lock_acquire+0x130/0x3e0 [ 42.655136] mutex_lock_nested+0xc0/0x870 [ 42.659780] rtnl_lock+0x17/0x20 [ 42.663642] mrtsock_destruct+0x3b/0x1e0 [ 42.668198] ip_ra_control+0x2c2/0x420 [ 42.672578] do_ip_setsockopt.isra.13+0x15ff/0x2b10 [ 42.678090] ip_setsockopt+0x3a/0xb0 [ 42.682298] raw_setsockopt+0xb7/0xd0 [ 42.686594] sock_common_setsockopt+0x9a/0xe0 [ 42.691581] SyS_setsockopt+0x166/0x260 [ 42.696055] do_syscall_64+0x1a6/0x490 [ 42.700435] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 42.706025] [ 42.706025] other info that might help us debug this: [ 42.706025] [ 42.714139] Possible unsafe locking scenario: [ 42.714139] [ 42.720165] CPU0 CPU1 [ 42.724801] ---- ---- [ 42.729439] lock(sk_lock-AF_INET); [ 42.733368] lock(rtnl_mutex); [ 42.739375] lock(sk_lock-AF_INET); [ 42.745814] lock(rtnl_mutex); [ 42.749312] [ 42.749312] *** DEADLOCK *** [ 42.749312] [ 42.755345] 1 lock held by syz-executor225/3809: [ 42.760065] #0: (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 [ 42.770403] [ 42.770403] stack backtrace: [ 42.774876] CPU: 1 PID: 3809 Comm: syz-executor225 Not tainted 4.9.100-g73fdfa3 #26 [ 42.782636] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.791967] ffff8801d966f5f8 ffffffff81eb0f09 ffffffff8559cf30 ffffffff855e7690 [ 42.799957] ffffffff8559cf30 ffff8801b70b50e8 ffff8801b70b4800 ffff8801d966f640 [ 42.807941] ffffffff8142421d 0000000000000001 00000000b70b4800 0000000000000001 [ 42.815922] Call Trace: [ 42.818503] [] dump_stack+0xc1/0x128 [ 42.823839] [] print_circular_bug.cold.51+0x1bd/0x27d [ 42.830659] [] __lock_acquire+0x3019/0x4070 [ 42.836601] [] ? debug_check_no_locks_freed+0x210/0x210 [ 42.843585] [] ? add_lock_to_list.isra.27.constprop.41+0x140/0x1c0 [ 42.851525] [] ? __lock_is_held+0xa2/0xf0 [ 42.857290] [] lock_acquire+0x130/0x3e0 [ 42.862884] [] ? rtnl_lock+0x17/0x20 [ 42.868220] [] ? rtnl_lock+0x17/0x20 [ 42.873557] [] mutex_lock_nested+0xc0/0x870 [ 42.879502] [] ? rtnl_lock+0x17/0x20 [ 42.884846] [] ? mutex_trylock+0x3e0/0x3e0 [ 42.890791] [] ? mark_held_locks+0xc7/0x130 [ 42.896746] [] ? __local_bh_enable_ip+0x6a/0xd0 [ 42.904078] [] rtnl_lock+0x17/0x20 [ 42.909248] [] mrtsock_destruct+0x3b/0x1e0 [ 42.915107] [] ? mroute_clean_tables+0x500/0x500 [ 42.921584] [] ip_ra_control+0x2c2/0x420 [ 42.927272] [] do_ip_setsockopt.isra.13+0x15ff/0x2b10 [ 42.934088] [] ? ip_ra_control+0x420/0x420 [ 42.939961] [] ? get_empty_filp+0x8f/0x380 [ 42.945820] [] ? alloc_file+0x20/0x350 [ 42.951519] [] ? sock_alloc_file+0x151/0x330 [ 42.957560] [] ? sock_map_fd+0x34/0x70 [ 42.963083] [] ? SyS_socket+0x10f/0x1b0 [ 42.968680] [] ? do_syscall_64+0x1a6/0x490 [ 42.974542] [] ? entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 42.981620] [] ? debug_check_no_locks_freed+0x210/0x210 [ 42.988609] [] ? debug_check_no_locks_freed+0x210/0x210 [ 42.995599] [] ? check_preemption_disabled+0x3b/0x170 [ 43.002417] [] ? sock_has_perm+0x1c2/0x3e0 [ 43.008276] [] ? sock_has_perm+0x292/0x3e0 [ 43.014142] [] ? sock_has_perm+0x9f/0x3e0 [ 43.019922] [] ? selinux_file_send_sigiotask+0x310/0x310 [ 43.027225] [] ? selinux_netlbl_socket_setsockopt+0x8c/0x340 [ 43.034998] [] ? selinux_netlbl_sock_rcv_skb+0x480/0x480 [ 43.042073] [] ip_setsockopt+0x3a/0xb0 [ 43.047585] [] raw_setsockopt+0xb7/0xd0 [ 43.053183] [] sock_common_setsockopt+0x9a/0xe0 [ 43.059479] [] SyS_setsockopt+0x166/0x260 [ 43.065261] [] ? SyS_recv+0x40/0x40 [ 43.070515] [] ? __do_page_fault+0x183/0xd50 [ 43.076549] [] ? move_addr_to_kernel+0x50/0x50 [ 43.082759] [] ? do_syscall_64+0x48/0x490 [ 43.088532] [] ? SyS_recv+0x40/0x40 [ 43.093779] [] do_syscall_64+0x1a6/0x490 [ 43.099474] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb