lang: en

FreeBSD lock order reversal (LOR) #83

ID 83
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
acquiring duplicate lock of same type: "vnode interlock"
 1st vnode interlock @ sys/kern/vfs_vnops.c:800
 2nd vnode interlock @ sys/modules/nullfs/../../fs/nullfs/null_vnops.c:533
		
KDB: stack backtrace: witness_checkorder(c2e663b8,9,c2e6c5a1,215,c09ccdcc) at witness_checkorder+0x5ed
_mtx_lock_flags(c2e663b8,0,c2e6c5a1,215,c2bf4cf0) at _mtx_lock_flags+0x54
null_lock(e97d8b14,1002,c2e61e04) at null_lock+0x67
VOP_LOCK_APV(c2e6d820,e97d8b14,c08c3443,320,c2e61e04) at VOP_LOCK_APV+0x69
vn_lock(c2e61e04,1002,c2bf4cf0,c2e6d720,e97d8cbc) at vn_lock+0x5a
nullfs_root(c2d90000,2,e97d8ba0,c2bf4cf0,0) at nullfs_root+0x32
vfs_donmount(c2de8780,6,e97d8cd0,c2de8780,0) at vfs_donmount+0xd6d
nmount(c2bf4cf0,e97d8d14,c08dcb40,3ad,3) at nmount+0x6f
syscall(2f,2f,2f,bfbfe64a,bfbfeeb0) at syscall+0x13b
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (378, FreeBSD ELF32, nmount), eip = 0x280b7f6b, esp = 0xbfbfe5ec, ebp = 0xbfbfee84 ---
		
comments/references