From: Andrew Morton <akpm@osdl.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@borntraeger.net, linux-kernel@vger.kernel.org,
hch@infradead.org
Subject: Re: Linux 2.6.9-rc2 : oops
Date: Mon, 13 Sep 2004 14:00:02 -0700 [thread overview]
Message-ID: <20040913140002.6e5fa076.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0409131318320.2378@ppc970.osdl.org>
Linus Torvalds <torvalds@osdl.org> wrote:
>
> Looks like somebody is trying to free an invalid address. Sadly, your
> traceback doesn't show _who_, because it's hidden in the buffering.
yes, I doubt if we get synchronous notification of a double-free without
CONFIG_DEBUG_SLAB.
There's a known double-free in the isofs filesystem. Christian, were you
using CDROMs at the time?
> The only changes to slab itself have been by Christoph lately, I don't
> think that matters. Can you enable slab debugging? That should catch it
> much earlier..
Yup. Enable CONFIG_DEBUG_SLAB.
Invalidate this pointer so it doesn't get freed twice.
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
25-akpm/fs/isofs/rock.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN fs/isofs/rock.c~rock-fix fs/isofs/rock.c
--- 25/fs/isofs/rock.c~rock-fix 2004-09-10 01:47:00.135392480 -0700
+++ 25-akpm/fs/isofs/rock.c 2004-09-10 01:47:00.139391872 -0700
@@ -62,7 +62,7 @@
}
#define MAYBE_CONTINUE(LABEL,DEV) \
- {if (buffer) kfree(buffer); \
+ {if (buffer) { kfree(buffer); buffer = NULL; } \
if (cont_extent){ \
int block, offset, offset1; \
struct buffer_head * pbh; \
_
next prev parent reply other threads:[~2004-09-13 21:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-13 16:40 Linux 2.6.9-rc2 Linus Torvalds
2004-09-13 20:03 ` Linux 2.6.9-rc2 : oops Christian Borntraeger
2004-09-13 20:39 ` Linus Torvalds
2004-09-13 21:00 ` Andrew Morton [this message]
2004-09-13 21:22 ` Christian Borntraeger
2004-09-13 21:15 ` Christian Borntraeger
2004-09-13 21:23 ` Linus Torvalds
2004-09-13 21:57 ` Linux 2.6.9-rc2 Peter Osterlund
2004-09-14 9:49 ` Gerd Knorr
2004-09-14 22:30 ` Peter Osterlund
2004-09-15 7:08 ` Gerd Knorr
2004-09-15 18:44 ` Peter Osterlund
2004-09-26 7:05 ` Peter Osterlund
2004-09-26 19:26 ` Gerd Knorr
2004-09-14 13:12 ` Geert Uytterhoeven
2004-09-15 10:22 ` Eric BEGOT
2004-09-20 17:07 ` Linux 2.6.9-rc2 (compile stats) John Cherry
2004-09-20 20:23 ` Giuseppe Bilotta
2004-09-20 20:46 ` Jesper Juhl
2004-09-20 22:23 ` Giuseppe Bilotta
2004-10-11 21:30 ` [PATCH] FrameMaster II build fix (was: Re: Linux 2.6.9-rc2) Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040913140002.6e5fa076.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=hch@infradead.org \
--cc=linux-kernel@borntraeger.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.