[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060802222321.GH3639@redhat.com>
Date: Wed, 2 Aug 2006 18:23:21 -0400
From: Dave Jones <davej@...hat.com>
To: David Miller <davem@...emloft.net>
Cc: linux-kernel@...r.kernel.org, jbaron@...hat.com
Subject: Re: frequent slab corruption (since a long time)
On Tue, Aug 01, 2006 at 10:31:10PM -0700, David Miller wrote:
> From: David Miller <davem@...emloft.net>
> Date: Tue, 01 Aug 2006 22:05:38 -0700 (PDT)
>
> > The corruption is always a 32-bit 0xffffffff followed by
> > a 32-bit 0x00000000, 12 bytes into the object.
>
> This analysis is wrong, it's "0xb0 + 12" bytes into the object
> which is 188 bytes. For x86, this lands us at the "count"
> member of the tty_struct, and it shows that the tty count
> has decremented to -1 (0xffffffff) which is a serious bug.
<stabbing in the dark here>
None of the code manipulating tty->count seems to be under
the tty_mutex. Should it be ?
Or is this protected through some other means?
Jason, ISTR you've done some digging around this area wrt races,
any insight ?
Dave
--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists