lang: en

FreeBSD lock order reversal (LOR) #181

ID 181
state patched
responsible
reported first 2006-03-22
reported last 2007-08-06
do you know more? submit update by email
LOR
lock order reversal:
 1st 0xc23d5090 inp (divinp) @ sys/netinet/ip_divert.c:327
 2nd 0xc07f21d8 PFil hook read/write mutex (PFil hook read/write mutex) @ sys/net/pfil.c:73
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c07b2018,c07b2388,c0779ea4) at kdb_backtrace+0x29
witness_checkorder(c07f21d8,1,c0710d56,49) at witness_checkorder+0x586
_rw_rlock(c07f21d8,c0710d56,49) at _rw_rlock+0x52
pfil_run_hooks(c07f21c0,cc8e6b28,c224b800,2,0) at pfil_run_hooks+0x2c
ip_output(c230f200,0,cc8e6af4,22,0) at ip_output+0x63f
div_output(c23cd000,c230f200,c226a170,0,cc8e6bb0) at div_output+0x185
div_send(c23cd000,0,c230f200,c226a170,0) at div_send+0x3f
sosend(c23cd000,c226a170,cc8e6be4,c230f200,0) at sosend+0x3e5
kern_sendit(c224e000,3,cc8e6c64,0,0) at kern_sendit+0x104
sendit(c224e000,3,cc8e6c64,0,bfbdec10) at sendit+0x15f
sendto(c224e000,cc8e6d04,c2336000,c,c224e000) at sendto+0x4d
syscall(3b,3b,3b,2,60) at syscall+0x27e
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x2812fa8f, esp = 0xbfbdeb1c, ebp = 0xbfbeebc8 ---
		
comments/references