lang: en

FreeBSD lock order reversal (LOR) #14

ID 14
state might lead to deadlock
responsible csjp
reported first 2004-07-01
reported last 2006-04-04
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc14d5c84 inp (tcpinp) @ sys/netinet/tcp_syncache.c:1142
 2nd 0xc06d5a08 IPFW static rules (IPFW static rules) @ sys/netinet/ip_fw2.c:1828
		
Stack backtrace:
backtrace(0,ffffffff,c05ec8e0,c05eb940,c05c1a9c) at backtrace+0x12
witness_checkorder(c06d5a08,9,c06d3c8c,724) at witness_checkorder+0x53b
_mtx_lock_flags(c06d5a08,0,c06d3c8c,724,cb9689a8) at _mtx_lock_flags+0x57
ipfw_chk(cb968a84,cb968a64,cb968ac8,0,0) at ipfw_chk+0x2d8
ip_output(c1388600,0,0,0,0) at ip_output+0x633
syncache_respond(c1707000,c1388600) at syncache_respond+0x2d7
syncache_add(cb968bd8,cb968c38,c14aa02a,cb968bd4,c147d000,c14d7700,cb968c38,c14aa03e,8,1,c14aa02a)
	at syncache_add+0x4af
tcp_input(c147d000,14,0,14,100a8c0) at tcp_input+0x768
ip_input(c147d000) at ip_input+0x832
netisr_processqueue(c060ff98,c10d6440,c10dd400,cb968d1c,c048f724) at netisr_processqueue+0x6e
swi_net(0) at swi_net+0x85
ithread_loop(c10dd400,cb968d48,c10dd400,c048f5f0,0) at ithread_loop+0x134
fork_exit(c048f5f0,c10dd400,cb968d48) at fork_exit+0x98
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcb968d7c, ebp = 0 ---
		
comments/references