From nobody Wed Oct 30 22:41:51 2024 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 4Xf2Db4LBBz5c9F5 for ; Wed, 30 Oct 2024 22:41:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xf2Db1JTNz4LXP for ; Wed, 30 Oct 2024 22:41:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730328111; 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=eNKrG2nKxckFp8P2uALDmzKHppXNHyXXmKOfydT8AII=; b=PUWwm7GemIG9WQyzP5xIMyrh3ijHR7f170va5la6Zkcwl6aicKfuBRt0ONEOeVwssJIJTP +QKn/WKNCOL12VLB2tCWbmCuXv5lzEfDDk5HaEdpsJQgGjFZxmLb8AmDmwxfnUKRmKuV2P u+8T7FiFsd3Y5YvMQolyaj2rqpfJUCs02adNAtofGWXCxxuLGkLHYkg+l759+x9HPS6DSG h5N41WXqAoB+FalMC8P69ikNCS1iZNC4egkE2AHi+cOIg4jNOlSmGsFznaRo3gv0Yofy3F yf+uEWJuRnC6NVjmYTDlHH6yeULO3A4Xvm2BLXnRAy+cUzZsP/lIt14mIzYZKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730328111; a=rsa-sha256; cv=none; b=K4QafuqjtSvqlUhA+230Woh8OVC8uMCNgphOLGqJ7DwvnSGEcDLpYV0eMvNSYrCoXWk0GZ 69+fC2UmOfNSGIPy2l6/G6HI6+TDwS6KaHE7hB9RAwq5rSTnzQ7hybJa+J4njMXRGNQzwi sF01kWsX7AWFZ46iixta3NQO6msgqpofhyw7GkutxLrzrVI4UNda+2jL5uJvCb9RmnsWJ2 xbHOAVN5bYYUPnn50NdBVeNFauihPPXLB0H21nTZ72fyFJG/XNmWhf6YDQJfOeRM1Dqj4J GNAt+2ivxzw0zUQDihDvmw++y3EL2lJ+UTwzZ49YO8JaD29WiVAQROOfQqIeyg== 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 4Xf2Db0npBz1Q0h for ; Wed, 30 Oct 2024 22:41:51 +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 49UMfoIN078815 for ; Wed, 30 Oct 2024 22:41:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49UMfowv078814 for bugs@FreeBSD.org; Wed, 30 Oct 2024 22:41:50 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 282434] LOR: tcphash vs rib head lock Date: Wed, 30 Oct 2024 22:41:51 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D282434 Bug ID: 282434 Summary: LOR: tcphash vs rib head lock Product: Base System Version: 15.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lexi.freebsd@le-fay.org noticed when booting a debug kernel for an unrelated issue; the LOR doesn't seem to cause any obvious problems. smbus1: on ichsmb0 bridge0: Ethernet address: 58:9c:fc:10:ff:f3 epair0a: Ethernet address: 02:f4:8c:22:b3:0a epair0b: Ethernet address: 02:f4:8c:22:b3:0b epair0a: link state changed to UP epair0b: link state changed to UP epair1a: Ethernet address: 02:46:a2:57:cc:0a epair1b: Ethernet address: 02:46:a2:57:cc:0b epair1a: link state changed to UP epair1b: link state changed to UP epair2a: Ethernet address: 02:2d:f8:9d:57:0a epair2b: Ethernet address: 02:2d:f8:9d:57:0b epair2a: link state changed to UP epair2b: link state changed to UP epair3a: Ethernet address: 02:0c:1d:89:af:0a epair3b: Ethernet address: 02:0c:1d:89:af:0b epair3a: link state changed to UP epair3b: link state changed to UP igc3: link state changed to UP debugnet_any_ifnet_update: Bad dn_init result from igc3 (ifp 0xfffff80003826000), ignoring. lo0: link state changed to UP debugnet_any_ifnet_update: Bad dn_init result from igc3 (ifp 0xfffff80003826000), ignoring. igc3: link state changed to DOWN wg0: link state changed to UP wg1: link state changed to UP wg2: link state changed to UP ix0: link state changed to UP ix0.911: link state changed to UP ix0.3004: link state changed to UP igc3: link state changed to UP pflog0: promiscuous mode enabled lo0: link state changed to UP bridge0: Ethernet address: 42:4e:fb:0f:98:45 lo0: link state changed to UP lock order reversal: 1st 0xfffffe001d7e35d0 tcphash (tcphash, sleep mutex) @ /data/build/src/freebsd/lf/main/sys/netinet/tcp_usrreq.c:1515 2nd 0xfffff8000fe6a8e0 rib head lock (rib head lock, rm) @ /data/build/src/freebsd/lf/main/sys/netinet6/in6_fib.c:164 lock order tcphash -> rib head lock attempted at: #0 0xffffffff8052740d at witness_checkorder+0xbbd #1 0xffffffff804ac0dc at _rm_rlock_debug+0x12c #2 0xffffffff8065aba4 at fib6_lookup+0xc4 #3 0xffffffff80666539 at cache_route+0xe9 #4 0xffffffff80665cdc at selectroute+0x12c #5 0xffffffff80664a83 at in6_selectsrc+0x323 #6 0xffffffff80664711 at in6_selectsrc_socket+0x41 #7 0xffffffff8066278a at in6_pcbconnect+0x25a #8 0xffffffff806469c4 at tcp6_connect+0xa4 #9 0xffffffff80644a3f at tcp6_usr_connect+0x27f #10 0xffffffff805558c0 at soconnectat+0xc0 #11 0xffffffff8055d7e7 at kern_connectat+0xe7 #12 0xffffffff8055d6d1 at sys_connect+0x81 #13 0xffffffff8079e798 at amd64_syscall+0x158 #14 0xffffffff8077123b at fast_syscall_common+0xf8 using src from ~22429a464a5f4f6bb5a056aae1353985db83b721. --=20 You are receiving this mail because: You are the assignee for the bug.=