[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 12.630147] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 13.514555] random: sshd: uninitialized urandom read (32 bytes read) [ 13.665993] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 14.952691] random: sshd: uninitialized urandom read (32 bytes read) [ 15.081417] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.43' (ECDSA) to the list of known hosts. [ 20.609098] 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 [ 20.695145] 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 [ 20.777929] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 20.789219] 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 [ 20.831551] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 20.843115] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready [ 20.884249] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 20.895600] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 20.906683] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready RTNETLINK answers: Operation not supported [ 20.927688] 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" [ 21.393867] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 21.416264] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 21.423383] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 21.430080] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 21.572455] [ 21.572772] IPVS: sync thread started: state = BACKUP, mcast_ifn = veth1_to_bond, syncid = 3, id = 0 [ 21.583356] ====================================================== [ 21.589652] [ INFO: possible circular locking dependency detected ] [ 21.596025] 4.9.109-ga4230be #48 Not tainted [ 21.600400] ------------------------------------------------------- [ 21.606779] syz-executor833/3791 is trying to acquire lock: [ 21.612458] (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x17/0x20 [ 21.620232] but task is already holding lock: [ 21.624868] (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 [ 21.634648] which lock already depends on the new lock. [ 21.634648] [ 21.641984] [ 21.641984] the existing dependency chain (in reverse order) is: [ 21.649576] -> #1 (sk_lock-AF_INET){+.+.+.}: [ 21.654606] lock_acquire+0x130/0x3e0 [ 21.658897] lock_sock_nested+0xc6/0x120 [ 21.663449] inet_bind+0x2a6/0x8b0 [ 21.667480] start_sync_thread+0x1356/0x1e80 [ 21.672378] do_ip_vs_set_ctl+0x90f/0xbb0 [ 21.677015] nf_setsockopt+0x6d/0xc0 [ 21.681218] ip_setsockopt+0x9a/0xb0 [ 21.685425] tcp_setsockopt+0x88/0xe0 [ 21.689715] sock_common_setsockopt+0x9a/0xe0 [ 21.694701] SyS_setsockopt+0x166/0x260 [ 21.699174] do_syscall_64+0x1a6/0x490 [ 21.703556] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 21.709146] -> #0 (rtnl_mutex){+.+.+.}: [ 21.713737] __lock_acquire+0x3019/0x4070 [ 21.718373] lock_acquire+0x130/0x3e0 [ 21.722665] mutex_lock_nested+0xc0/0x870 [ 21.727310] rtnl_lock+0x17/0x20 [ 21.731177] mrtsock_destruct+0x3b/0x1e0 [ 21.735731] ip_ra_control+0x2c2/0x420 [ 21.740110] do_ip_setsockopt.isra.13+0x15ff/0x2b10 [ 21.745617] ip_setsockopt+0x3a/0xb0 [ 21.749825] raw_setsockopt+0xb7/0xd0 [ 21.754115] sock_common_setsockopt+0x9a/0xe0 [ 21.759100] SyS_setsockopt+0x166/0x260 [ 21.763565] do_syscall_64+0x1a6/0x490 [ 21.767941] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 21.773531] [ 21.773531] other info that might help us debug this: [ 21.773531] [ 21.781642] Possible unsafe locking scenario: [ 21.781642] [ 21.787669] CPU0 CPU1 [ 21.792309] ---- ---- [ 21.797638] lock(sk_lock-AF_INET); [ 21.801557] lock(rtnl_mutex); [ 21.807556] lock(sk_lock-AF_INET); [ 21.814001] lock(rtnl_mutex); [ 21.817502] [ 21.817502] *** DEADLOCK *** [ 21.817502] [ 21.823533] 1 lock held by syz-executor833/3791: [ 21.828268] #0: (sk_lock-AF_INET){+.+.+.}, at: [] do_ip_setsockopt.isra.13+0x269/0x2b10 [ 21.838612] [ 21.838612] stack backtrace: [ 21.843090] CPU: 0 PID: 3791 Comm: syz-executor833 Not tainted 4.9.109-ga4230be #48 [ 21.850853] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.860180] ffff8801d89075f8 ffffffff81eb3e29 ffffffff8559cef0 ffffffff855e7800 [ 21.868172] ffffffff8559cef0 ffff8801d94120e8 ffff8801d9411800 ffff8801d8907640 [ 21.876157] ffffffff814262d4 0000000000000001 00000000d9411800 0000000000000001 [ 21.884157] Call Trace: [ 21.886715] [] dump_stack+0xc1/0x128 [ 21.892049] [] print_circular_bug.cold.51+0x1bd/0x27d [ 21.898860] [] __lock_acquire+0x3019/0x4070 [ 21.904804] [] ? debug_check_no_locks_freed+0x210/0x210 [ 21.911786] [] ? add_lock_to_list.isra.27.constprop.41+0x140/0x1c0 [ 21.919732] [] ? __lock_is_held+0xa2/0xf0 [ 21.925512] [] lock_acquire+0x130/0x3e0 [ 21.931107] [] ? rtnl_lock+0x17/0x20 [ 21.936440] [] ? rtnl_lock+0x17/0x20 [ 21.941774] [] mutex_lock_nested+0xc0/0x870 [ 21.947715] [] ? rtnl_lock+0x17/0x20 [ 21.953051] [] ? mutex_trylock+0x3e0/0x3e0 [ 21.958906] [] ? mark_held_locks+0xc7/0x130 [ 21.964849] [] ? __local_bh_enable_ip+0x6a/0xd0 [ 21.971139] [] rtnl_lock+0x17/0x20 [ 21.976300] [] mrtsock_destruct+0x3b/0x1e0 [ 21.982157] [] ? mroute_clean_tables+0x500/0x500 [ 21.988541] [] ip_ra_control+0x2c2/0x420 [ 21.994235] [] do_ip_setsockopt.isra.13+0x15ff/0x2b10 [ 22.001044] [] ? ip_ra_control+0x420/0x420 [ 22.006901] [] ? get_empty_filp+0x8f/0x380 [ 22.012757] [] ? alloc_file+0x20/0x350 [ 22.018280] [] ? sock_alloc_file+0x151/0x330 [ 22.024309] [] ? sock_map_fd+0x34/0x70 [ 22.029814] [] ? SyS_socket+0x10f/0x1b0 [ 22.035409] [] ? do_syscall_64+0x1a6/0x490 [ 22.041268] [] ? entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 22.048340] [] ? debug_check_no_locks_freed+0x210/0x210 [ 22.055331] [] ? debug_check_no_locks_freed+0x210/0x210 [ 22.062325] [] ? check_preemption_disabled+0x3b/0x170 [ 22.069144] [] ? sock_has_perm+0x1c2/0x3e0 [ 22.074996] [] ? sock_has_perm+0x292/0x3e0 [ 22.080850] [] ? sock_has_perm+0x9f/0x3e0 [ 22.086618] [] ? selinux_file_send_sigiotask+0x310/0x310 [ 22.093692] [] ? selinux_netlbl_socket_setsockopt+0x8c/0x340 [ 22.101111] [] ? selinux_netlbl_sock_rcv_skb+0x480/0x480 [ 22.108183] [] ip_setsockopt+0x3a/0xb0 [ 22.113690] [] raw_setsockopt+0xb7/0xd0 [ 22.119285] [] sock_common_setsockopt+0x9a/0xe0 [ 22.125582] [] SyS_setsockopt+0x166/0x260 [ 22.131352] [] ? SyS_recv+0x40/0x40 [ 22.136616] [] ? __do_page_fault+0x183/0xd50 [ 22.142663] [] ? move_addr_to_kernel+0x50/0x50 [ 22.148867] [] ? do_syscall_64+0x48/0x490 [ 22.154637] [] ? SyS_recv+0x40/0x40 [ 22.159883] [] do_syscall_64+0x1a6/0x490 [ 22.165575] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb