Re: [PATCH 2/2] ext4: fix a bug accessing freed memory inext4_abort

From: Ingo Molnar
Date: Mon Oct 27 2008 - 06:43:52 EST



* Hidehiro Kawai <hidehiro.kawai.ez@xxxxxxxxxxx> wrote:

> Vegard Nossum reported a bug which accesses freed memory. When
> journal has been aborted, ext4_put_super() calls ext4_abort() after
> freeing the journal_t object, and then ext4_abort() accesses it.
> This patch fix it.
>
> Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@xxxxxxxxxxx>

could you please put the word "kmemcheck" into the commit log? ("found
via kmemcheck" or so) We want to have an easily git-greppable track
record of upstream kernel bugs that were found via kmemcheck. (and
there's already a long list)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/