lang: en

FreeBSD lock order reversal (LOR) #150

ID 150
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc0758820 Giant (Giant) @ sys/kern/kern_conf.c:310
 2nd 0xc1f36b68 iwi0 (network driver) @ sys/modules/iwi/../../dev/iwi/if_iwi.c:1587
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c0769c48,c0768640,c072c8c4) at kdb_backtrace+0x29
witness_checkorder(c1f36b68,9,c08e62d1,633) at witness_checkorder+0x52c
_mtx_lock_flags(c1f36b68,0,c08e62d1,633,c075fc80) at _mtx_lock_flags+0x5b
iwi_start(c1f43400) at iwi_start+0x35
if_start(c1f43400) at if_start+0x7b
ether_output_frame(c1f43400,c1f52100,c1f67000,ffffffff,0) at ether_output_frame+0x1dc
ether_output(c1f43400,c1f52100,e5b5bbf0,0,c1f52100) at ether_output+0x3e4
bpfwrite(c22d4900,c20c2a80,0,c0758820,0) at bpfwrite+0xb0
giant_write(c22d4900,c20c2a80,0,c22d4900,c0735b20) at giant_write+0x2d
devfs_write_f(c21d0900,c20c2a80,c22c5e00,0,c1f4a000) at devfs_write_f+0x7b
dofilewrite(c1f4a000,7,c21d0900,c20c2a80,ffffffff) at dofilewrite+0x77
kern_writev(c1f4a000,7,c20c2a80,c20c2a80,0) at kern_writev+0x3b
writev(c1f4a000,e5b5bd04,3,2,282) at writev+0x30
syscall(3b,3b,3b,bfbfee00,bfbfec9c) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (121, FreeBSD ELF32, writev),
    eip = 0x28129447, esp = 0xbfbfec7c, ebp = 0xbfbfedc8 ---
		
comments/references