lang: en

FreeBSD lock order reversal (LOR) #130

ID 130
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal -- NEW
 1st 0xc0760d00 Giant (Giant) @ sys/fs/devfs/devfs_vnops.c:1435
 2nd 0xc14ee018 fxp0 (network driver) @ sys/dev/fxp/if_fxp.c:1187
		
KDB: stack backtrace:
kdb_backtrace(c06ff483,c14ee018,c14c9450,c06ecd3d,c06ed001)
	at 0xc055997e = kdb_backtrace+0x2e
witness_checkorder(c14ee018,9,c06ed001,4a3,c07057aa)
	at 0xc0566033 = witness_checkorder+0x6c3
_mtx_lock_flags(c14ee018,0,c06ed001,4a3,c14ecc00)
	at 0xc053120a = _mtx_lock_flags+0x8a
fxp_start(c14ecc00,12b,0,c14ecc00) at 0xc0486d94 = fxp_start+0x34
if_start(c14ecc00,0,c07057aa,195,3) at 0xc05bd419 = if_start+0x99
ether_output_frame(c14ecc00,c1547900,6,cefe8bc4,c1547900)
	at 0xc05bec68 = ether_output_frame+0x218
ether_output(c14ecc00,c1547900,cefe8c0c,0,cefe8c0c) at 0xc05bea3e = ether_output+0x47e
bpfwrite(c1d3e100,c21a2b00,0,59b,c1d3e100) at 0xc05b6f9f = bpfwrite+0xef
devfs_write_f(c1640678,c21a2b00,c1627a80,0,c1c63300) at 0xc04e8184 = devfs_write_f+0xd4
dofilewrite(c1c63300,7,c1640678,c21a2b00,ffffffff) at 0xc0568655 = dofilewrite+0x85
kern_writev(c1c63300,7,c21a2b00,c21a2b00,0) at 0xc0568475 = kern_writev+0x65
writev(c1c63300,cefe8d04,c,422,3) at 0xc05683e6 = writev+0x46
syscall(3b,3b,3b,bfbfecdc,bfbfee40) at 0xc06ba190 = syscall+0x2c0
Xint0x80_syscall() at 0xc06a6ebf = Xint0x80_syscall+0x1f
--- syscall (121, FreeBSD ELF32, writev),
    eip = 0x280cbe6f, esp = 0xbfbfecac, ebp = 0xbfbfee08 ---
		
comments/references