lang: en

FreeBSD lock order reversal (LOR) #121

ID 121
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc1cfcc84 inp (tcpinp) @ sys/netinet/tcp_syncache.c:1083
 2nd 0xc1a77018 fxp0 (network driver) @ sys/modules/fxp/../../dev/fxp/if_fxp.c:1187
		
KDB: stack backtrace:
kdb_backtrace(c06d8ffe,c1a77018,c1a6b270,c08fae5a,c08fb133) at kdb_backtrace+0x2e
witness_checkorder(c1a77018,9,c08fb133,4a3,c06df39c) at witness_checkorder+0x6c3
_mtx_lock_flags(c1a77018,0,c08fb133,4a3,c1a50000) at _mtx_lock_flags+0x8a
fxp_start(c1a50000,12c,0,c1a50000) at fxp_start+0x34
if_start(c1a50000,0,c06df39c,197,272e0) at if_start+0x89
ether_output_frame(c1a50000,c1c12c00,6,d56edaec,d56eda8c) at ether_output_frame+0x218
ether_output(c1a50000,c1c12c00,d56edaec,c1ce3dec,c0553256) at ether_output+0x47f
ip_output(c1c12c00,0,d56edae8,0,0) at ip_output+0x815
syncache_respond(c204c000,c1c12c00,1,336,c1cfe564) at syncache_respond+0x2fc
syncache_add(d56edbdc,d56edc2c,c1abb034,d56edbd8,c1a85e00) at syncache_add+0x42a
tcp_input(c1a85e00,14,c06df9b0,d56edc90,c051fafa) at tcp_input+0x7b0
ip_input(c1a85e00,0,c06df9b0,e8,c0786078) at ip_input+0x5d7
netisr_processqueue(c0786078,c0739160,1,c06d461d,c1981980) at netisr_processqueue+0x8e
swi_net(0,0,c06d2b2a,251,d56edd04) at swi_net+0xec
ithread_loop(c1987480,d56edd38,c06d2921,30d,c1987480) at ithread_loop+0x152
fork_exit(c05124b0,c1987480,d56edd38) at fork_exit+0xc1
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd56edd6c, ebp = 0 ---
		
comments/references