Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 15:09:32 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        phk@FreeBSD.org
Subject:   Re: LOR with filedesc structure and Giant
Message-ID:  <20030811220932.GA43465@rot13.obsecurity.org>
In-Reply-To: <20030809061112.GA4044@rot13.obsecurity.org>
References:  <20030809061112.GA4044@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 08, 2003 at 11:11:12PM -0700, Kris Kennaway wrote:
> Aug  9 11:29:50 dosirak kernel: lock order reversal
> Aug  9 11:29:50 dosirak kernel: 1st 0xcf3fa334 filedesc structure (filede=
sc structure) @ kern/sys_generic.c:895
> Aug  9 11:29:50 dosirak kernel: 2nd 0xc070a8e0 Giant (Giant) @ fs/specfs/=
spec_vnops.c:372
> Aug  9 11:29:50 dosirak kernel: Stack backtrace:
>=20
> And that's it (i.e. no backtrace is recorded).

I got this on another machine:

lock order reversal
 1st 0xc3d25134 filedesc structure (filedesc structure) @ /a/asami/portbuil=
d/i386/src-client/sys/kern/sys_generic.c:902
 2nd 0xc04aa500 Giant (Giant) @ /a/asami/portbuild/i386/src-client/sys/fs/s=
pecfs/spec_vnops.c:372
Stack backtrace:
backtrace(c043db3b,c04aa500,c043a130,c043a130,c04354a7) at backtrace+0x17
witness_lock(c04aa500,8,c04354a7,174,1be) at witness_lock+0x672
_mtx_lock_flags(c04aa500,0,c04354a7,174,c043e146) at _mtx_lock_flags+0xba
spec_poll(ce655af8,ce655b18,c02d152c,ce655af8,c0493d80) at spec_poll+0x134
spec_vnoperate(ce655af8,c0493d80,c35485b4,40,c42f6800) at spec_vnoperate+0x=
18
vn_poll(c26abe58,40,c42f6800,c3087720,c42f6800) at vn_poll+0x3c
selscan(c3087720,ce655b98,ce655b88,6,4) at selscan+0x13e
kern_select(c3087720,6,bfbff5b0,0,0) at kern_select+0x36f
select(c3087720,ce655d10,c0455f34,3ee,5) at select+0x66
syscall(2f,2f,2f,8055050,bfbff5a8) at syscall+0x273
Xint0x80_syscall() at Xint0x80_syscall+0x1d

Kris

--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/OBQcWry0BWjoQKURAsWjAKDM1XNWer5gsASrxxFOmfdWJcT+5gCgkPbx
QycTQqt4tx9JVVpmVs8hG0k=
=pWMi
-----END PGP SIGNATURE-----

--azLHFNyN32YCQGCU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030811220932.GA43465>