lang: en

FreeBSD lock order reversal (LOR) #114

ID 114
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
  1st 0xc3909090 inp (rawinp) @ sys/netinet/raw_ip.c:268
  2nd 0xc06a9ae0 ipf filter rwlock (ipf filter rwlock) @ sys/contrib/ipfilter/netinet/fil.c:1107
		
KDB: stack backtrace:
kdb_backtrace(ffffffff,c06bc0c0,c06bc3e0,c068caec,c06e0840) at kdb_backtrace+0x29
witness_checkorder(c06a9ae0,1,c0648afd,453,c06b5e1c,0,c065c663,6f) at witness_checkorder+0x49d
_sx_slock(c06a9ae0,c0648afd,453,0,c33e6c00) at _sx_slock+0x29
fr_check(c33e6cd0,14,c3229000,1,e90bfaec) at fr_check+0x430
fr_check_wrapper(0,e90bfaec,c3229000,2,c3909000) at fr_check_wrapper+0x2a
pfil_run_hooks(c06e2180,e90bfb60,c3229000,2,c3909000) at pfil_run_hooks+0xb3
ip_output(c33e6c00,0,e90bfb2c,20,0) at ip_output+0x4de
rip_output(c33e6c00,c381ca20,fa04a8c0,1c,c33e6c00) at rip_output+0x293
rip_send(c381ca20,0,c33e6c00,c3243a50,0) at rip_send+0x93
sosend(c381ca20,c3243a50,e90bfc40,c33e6c00,0) at sosend+0x593
kern_sendit(c3904c00,4,e90bfcbc,0,0) at kern_sendit+0x104
sendit(c3904c00,4,e90bfcbc,0,bfbfd47c) at sendit+0x161
sendto(c3904c00,e90bfd04,6,2,292) at sendto+0x4d
syscall(2f,2f,2f,bfbfd47c,12750) at syscall+0x227
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x2812a0ef, esp = 0xbfbfd41c, ebp = 0xbfbfd498 ---
		
comments/references