From nobody Sat Aug 30 11:11:53 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cDXX959fRz66RB1 for ; Sat, 30 Aug 2025 11:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cDXX93CRBz4L6Y for ; Sat, 30 Aug 2025 11:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756552313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CaxCbwcIoP5KWVZY+lBMnuLwo9J2fBzPAKx4h9OB1kY=; b=to+b5j0fBrPBCFwsKuGRPpVD/LtKLRu/ENdoR5uZByeaf+maCz9VWmWXdMa1gxKleYD8MC kvoFHN9iGFKBKGhB1ohzU4T5WGb384hbmkxmeN63iuIKaL3Sqt9RKTfbBcKnFvQA2D8rHo eWY+qHEmz1BPVX0P7zLlyTVtX18fRkfp65dEnOc9JweEXUaNxzpozqM+s3eYpvuIqJaUff hyXwz+mFAs4XslMJ7g1lIm3DnWTACbv0jXnE/4fD5d8i8KsYYxIoXPyR5BLw+8r4SjKUk/ Qj6dcZH8ELg7TLFfENqIGxvCYUGsr/2Ti86ITYOBXr1OxZENboGjW8VrVteReg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756552313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CaxCbwcIoP5KWVZY+lBMnuLwo9J2fBzPAKx4h9OB1kY=; b=V+wGHsU1zK9LQj+gBKA2K/q6G5EwF2Y8d1TIj9cHvFLhLuk8OeePi7E7W+BxF+5S67sy1+ hMQmBwJeSHDVUQ0UFofNcAE+yP99O/y2fWs5IAJNj8uaIvSTC0jn41xS3YW/55ij4M4wuW XCbNpYWpfAsxS+8VRtsZKm/f0LPqbVzZbeFfofRwya3uUMAXiLCNbiRGHznxp4Ai6kgMgJ wsaAQDqdO5FjNimXkzWSBqTuIarSuC/YYwuMOJJdHgR6sCO47QEBG9FFga9LljE3h92EUE 5RQoG/ZBEo5PuOdrP0Ns3iyfWMJX59pv/5N4TfUI98lbweGZo/87FeZ+g8Xpnw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756552313; a=rsa-sha256; cv=none; b=pQWbPDq6ru0PD/EZ0txxplXybN5uwkRuDELLMLMoMVx/a56eszt3V7cpvRV84+KLsTROna vAhGUaub/Z/wLUObWyF1VVnfe8A65nsfNHnJJA5k7uA8Mq3VWXo/Tv8kAFdi4Nnmx75wLv FdGux+3eirPRFz/XvKTHk5/8DKV6ZqWJ7cwDPObVDwAcrz6CJodx5XeO+NZ2TTqnjMytYn G+77wVLV2zD3j1gP/uUGhb18Z9+2LEy93RnWHN0xMsBlJ0c6kP5B14qYQLgkpqr0yZ3ONy ifj59hwQ+Jq9F6iRUJ04pACTkw4q4NAj3qDM4gmV1IGRsE3+v3dSWtBY2l//PA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cDXX92pKdz82v for ; Sat, 30 Aug 2025 11:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 57UBBrlL038314 for ; Sat, 30 Aug 2025 11:11:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57UBBrNl038313 for bugs@FreeBSD.org; Sat, 30 Aug 2025 11:11:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289184] lock order reversal between tcphash (tcp_usrreq.c:1529) and in6_ifaddr_lock (in6_src.c:301) Date: Sat, 30 Aug 2025 11:11:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289184 Bug ID: 289184 Summary: lock order reversal between tcphash (tcp_usrreq.c:1529) and in6_ifaddr_lock (in6_src.c:301) Product: Base System Version: 14.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: gbe@FreeBSD.org I see this lock order reversal since a while now on a 15.0-PRERELEASE. It happens immediately after boot. lock order reversal: 1st 0xfffffe00039d6a00 tcphash (tcphash, sleep mutex) @ /storage/freebsd/src/current/sys/netinet/tcp_usrreq.c:1529 2nd 0xffffffff81edd1d0 in6_ifaddr_lock (in6_ifaddr_lock, rm) @ /storage/freebsd/src/current/sys/netinet6/in6_src.c:301 lock order tcphash -> in6_ifaddr_lock attempted at: #0 0xffffffff80bff201 at witness_checkorder+0xbe1 #1 0xffffffff80b80f79 at _rm_rlock_debug+0x129 #2 0xffffffff80dd6fe7 at in6_selectsrc+0x447 #3 0xffffffff80dd6b51 at in6_selectsrc_socket+0x41 #4 0xffffffff80dd4641 at in6_pcbconnect+0x291 #5 0xffffffff80db7177 at tcp6_connect+0xb7 #6 0xffffffff80db4af5 at tcp6_usr_connect+0x2f5 #7 0xffffffff80c3fa80 at soconnectat+0xc0 #8 0xffffffff80c47cd1 at kern_connectat+0xe1 #9 0xffffffff80c47bc1 at sys_connect+0x81 #10 0xffffffff810daba1 at amd64_syscall+0x451 #11 0xffffffff810ac4bb at fast_syscall_common+0xf8 System is a virtual machine running under VMWare if that matters. --=20 You are receiving this mail because: You are the assignee for the bug.=