lang: en

FreeBSD lock order reversal (LOR) #90

ID 90
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xcc666360 inp (udpinp) @ sys/netinet/udp_usrreq.c:772
 2nd 0xc14c8264 fxp0 (network driver) @ sys/modules/fxp/../../dev/fxp/if_fxp.c:1232
		
KDB: stack backtrace:
kdb_backtrace+0x2e(c06fd115, c14c8264, c14a57e0, c06fe820, c06fe7bd)
witness_checkorder+0x6a6(c14c8264, 9, c06fe7bd, 4d0, c0602589)
_mtx_lock_flags+0x8a(c14c8264, 0, c06fe7bd, 4d0, c14c8000)
fxp_start+0x37(c14c8000, 12b, 0, c14c8000)
if_start(c14c8000,0,c0602589,184,2) at 0xc050b1c9 = if_start+0x99
ether_output_frame(c14c8000,c15d3900,6,ca422b10,ca422aac) at 0xc050c908 = ether_output_frame+0x218
ether_output(c14c8000,c15d3900,ca422b10,c16687bc,c04bbc77) at 0xc050c6de = ether_output+0x44e
ip_output(c15d3900,0,ca422b0c,0,0) at 0xc05210c7 = ip_output+0x7c7
udp_output(c16662d0,c15d3900,0,0,c148fa80) at 0xc053659a = udp_output+0x53a
udp_send(c1665dec,0,c15d3900,0,0) at 0xc0536da0 = udp_send+0x30
sosend(c1665dec,0,ca422c48,c15d3900,0) at 0xc04d33b1 = sosend+0x701
kern_sendit(c148fa80,d,ca422cc4,0,0) at 0xc04d9bef = kern_sendit+0x13f
sendit(c148fa80,d,ca422cc4,0,810001d) at 0xc04d9a81 = sendit+0x1a1
sendto(c148fa80,ca422d14,18,431,6) at 0xc04d9d6b = sendto+0x5b
syscall(2f,2f,2f,2,0) at
0xc05d9d40 = syscall+0x2a0
Xint0x80_syscall() at 0xc05c885f = Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x28233cff, esp = 0xbfbfd4ec, ebp = 0xbfbfd518 ---
		
comments/references