lang: en

FreeBSD lock order reversal (LOR) #97

ID 97
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc29cf144 inp (tcpinp) @ sys/netinet/tcp_usrreq.c:371
 2nd 0xc073a7c0 ipf filter rwlock (ipf filter rwlock) @ sys/contrib/ipfilter/netinet/fil.c:1107
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c074d360,c074bbf0,c071800c) at kdb_backtrace+0x29
witness_checkorder(c073a7c0,1,c06ccc8f,453) at witness_checkorder+0x544
_sx_slock(c073a7c0,c06ccc8f,453,0,c2977a00) at _sx_slock+0x50
fr_check(c2977a40,14,c23fe800,1,e74cbb38) at fr_check+0x430
fr_check_wrapper(0,e74cbb38,c23fe800,2,c29cf0b4) at fr_check_wrapper+0x2a
pfil_run_hooks(c0771b80,e74cbbac,c23fe800,2,c29cf0b4) at pfil_run_hooks+0xbd
ip_output(c2977a00,0,e74cbb78,0,0) at ip_output+0x57e
tcp_output(c29d01bc,c28ca800,c28ca798,c2845a80,e74cbca8) at tcp_output+0x1144
tcp_usr_connect(c28ca798,c2574a50,c2845a80) at tcp_usr_connect+0xeb
soconnect(c28ca798,c2574a50,c2845a80,0,c27fa660) at soconnect+0x7c
kern_connect(c2845a80,b,c2574a50,c2574a50,0) at kern_connect+0x74
connect(c2845a80,e74cbd14,3,0,292) at connect+0x2f
syscall(2f,2f,2f,84e1c00,2) at syscall+0x227
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (98, FreeBSD ELF32, connect), eip = 0x3876eddb, esp = 0xbfabbba0, ebp = 0xbfabbbcc ---
		
comments/references