LOR in linux_file.c

Kris Kennaway kris at obsecurity.org
Wed Apr 23 11:07:07 PDT 2003


lock order reversal
 1st 0xc2b9c268 process lock (process lock) @ compat/linux/linux_file.c:124
 2nd 0xc3d4fb34 filedesc structure (filedesc structure) @ kern/kern_descrip.c:1692
Stack backtrace:
backtrace(c04213cb,c3d4fb34,c041b9a8,c041b9a8,c041bfee) at backtrace+0x17
witness_lock(c3d4fb34,8,c041bfee,69c,c2e10000) at witness_lock+0x697
_mtx_lock_flags(c3d4fb34,0,c041bfe5,69c,c2b9b2d0) at _mtx_lock_flags+0xb1
_fget(c2b9b2d0,4,ce56cccc,0,1) at _fget+0x59
fget(c2b9b2d0,4,ce56cccc,7c,0) at fget+0x2f
linux_open(c2b9b2d0,ce56cd10,c0438659,404,3) at linux_open+0x1b7
syscall(2f,2f,2f,bfbffeb5,bfbff7f8) at syscall+0x26e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (5), eip = 0x281252e4, esp = 0xbfbff55c, ebp = 0xbfbff58c ---
Debugger("witness_lock")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030423/0ea62167/attachment-0001.bin


More information about the freebsd-current mailing list