New lock-order reversal
- Reply: Steve Kargl : "Re: New lock-order reversal"
- Reply: Kristof Provost : "Re: New lock-order reversal"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Sep 2024 15:54:21 UTC
FYI (and return hackers to a non-language) Update my old system to circa Aug 10, 2024 top-of-tree and rebuilts all installed ports. I'm now see a new lock-order reversal while using openvpn. lock order reversal: 1st 0xfffff801e5482aa0 udpinp (udpinp, rw) @ /usr/src/sys/netinet/udp_usrreq.c:1129 2nd 0xfffff80003510188 if_ovpn_lock (if_ovpn_lock, rm) @ /usr/src/sys/net/if_ovpn.c:2118 lock order if_ovpn_lock -> udpinp established at: #0 0xffffffff80ba66fa at witness_checkorder+0x32a #1 0xffffffff80b2d692 at _rw_wlock_cookie+0x62 #2 0xffffffff80d45e4e at udp_set_kernel_tunneling+0x4e #3 0xffffffff82a783a1 at ovpn_ioctl_set+0xe81 #4 0xffffffff82a76df8 at ovpn_ioctl+0xf8 #5 0xffffffff80c62179 at ifioctl+0x949 #6 0xffffffff80bacd26 at kern_ioctl+0x286 #7 0xffffffff80baca3d at sys_ioctl+0x12d #8 0xffffffff8104b018 at amd64_syscall+0x158 #9 0xffffffff8101d73b at fast_syscall_common+0xf8 lock order udpinp -> if_ovpn_lock attempted at: #0 0xffffffff80ba6f75 at witness_checkorder+0xba5 #1 0xffffffff80b2c22c at _rm_rlock_debug+0x12c #2 0xffffffff82a76e91 at ovpn_output+0x41 #3 0xffffffff80d0e1ce at ip_output+0x150e #4 0xffffffff80d45ad9 at udp_send+0xa69 #5 0xffffffff80be56d1 at sosend_dgram+0x311 #6 0xffffffff80be62b9 at sousrsend+0x79 #7 0xffffffff80bec35c at kern_sendit+0x1bc #8 0xffffffff80bec66b at sendit+0x1ab #9 0xffffffff80bec4ad at sys_sendto+0x4d #10 0xffffffff8104b018 at amd64_syscall+0x158 #11 0xffffffff8101d73b at fast_syscall_common+0xf8 -- Steve