Date: Sat, 30 Aug 2025 11:11:53 +0000 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) Message-ID: <bug-289184-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289184 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. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289184-227>
