From: Ingo Molnar Subject: Re: [PATCH 2/2] ext4: fix a bug accessing freed memory in ext4_abort Date: Mon, 27 Oct 2008 11:43:25 +0100 Message-ID: <20081027104325.GA13641@elte.hu> References: <19f34abd0810250422t17990222x78fcf0fad2e6f04b@mail.gmail.com> <49056D29.2010700@hitachi.com> <49056FA5.7070202@hitachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Theodore Tso , Linus Torvalds , Vegard Nossum , Jan Kara , Stephen Rothwell , Al Viro , linux-ext4@vger.kernel.org, Andrew Morton , "Rafael J. Wysocki" , Pekka Enberg , linux-kernel@vger.kernel.org, sugita , Satoshi OSHIMA To: Hidehiro Kawai Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:51095 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751328AbYJ0Knm (ORCPT ); Mon, 27 Oct 2008 06:43:42 -0400 Content-Disposition: inline In-Reply-To: <49056FA5.7070202@hitachi.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: * Hidehiro Kawai 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 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