lang: en

FreeBSD lock order reversal (LOR) #168

ID 168
state unknown
responsible
reported first 2005-11-01
reported last 2005-11-01
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc189adec inp (udpinp) @ sys/netinet/udp_usrreq.c:976
 2nd 0xc06ecb20 ifnet (ifnet) @ sys/net/if.c:772
		
KDB: stack backtrace:
witness_checkorder(c06ecb20,9,c0650acd,304,c04e4a97) at 0xc04fc2b6 = witness_checkorder+0x526
_mtx_lock_flags(c06ecb20,0,c0650acd,304,c16d73e0) at 0xc04c5054 = _mtx_lock_flags+0x54
ifa_ifwithaddr(c16d73e0,8,c16d73e4,11d,c0653f4c) at 0xc0550790 = ifa_ifwithaddr+0x30
in_pcbbind_setup(c189ad5c,c16d73e0,c189ad94,c189ad76,c155da80) at 0xc05667b2 = in_pcbbind_setup+0x5f2
in_pcbbind(c189ad5c,c16d73e0,c155da80,3d0,0) at 0xc0566f47 = in_pcbbind+0xd7
udp_bind(c1899590,c16d73e0,c15f9af0,c16d73e0,c17cbab0) at 0xc057f16c = udp_bind+0x7c
kern_bind(c15f9af0,5,c16d73e0,c16d73e0) at 0xc051f35e = kern_bind+0x4e
bind(c15f9af0,cca14d04,c,418,3) at 0xc0521a38 = bind+0x48
syscall(3b,3b,3b,8092fec,5) at 0xc061382c = syscall+0x14c
Xint0x80_syscall() at 0xc05fe73f = Xint0x80_syscall+0x1f
--- syscall (104, FreeBSD ELF32, bind), eip = 0x282300af, esp = 0xbfbfeb2c, ebp = 0xbfbfec18 ---
		
comments/references