Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932432Ab3GVLRJ (ORCPT ); Mon, 22 Jul 2013 07:17:09 -0400 Received: from smtp1.uu.se ([130.238.7.54]:55665 "EHLO smtp1.uu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932238Ab3GVLRH (ORCPT ); Mon, 22 Jul 2013 07:17:07 -0400 X-Spam-Flag: NO X-Spam-Score: -3.835 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20973.5074.962460.328946@pilspetsen.it.uu.se> Date: Mon, 22 Jul 2013 13:13:22 +0200 From: Mikael Pettersson To: "Theodore Ts'o" Cc: Mikael Pettersson , linux-kernel@vger.kernel.org Subject: Re: [3.11-rc1 regression] ext4_evict_inode triggers warn_slowpath_common on sparc64 In-Reply-To: <20130720013500.GC12042@thunk.org> References: <20969.30581.961878.138915@pilspetsen.it.uu.se> <20130720013500.GC12042@thunk.org> X-Mailer: VM 7.17 under Emacs 20.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2040 Lines: 40 Theodore Ts'o writes: > On Fri, Jul 19, 2013 at 07:29:25PM +0200, Mikael Pettersson wrote: > > I keep getting the following warning with 3.11-rc1 on sparc64: > > > > ------------[ cut here ]------------ > > WARNING: CPU: 1 PID: 8174 at fs/ext4/inode.c:230 ext4_evict_inode+0x1f0/0x448() > > Modules linked in: sunrpc af_packet ipv6 hid_generic snd_ali5451 snd_ac97_codec snd_seq snd_seq_device snd_pcm tg3 snd_timer flash ohci_pci hwmon snd soundcore ptp evdev sg i2c_ali1535 ohci_hcd pps_core snd_page_alloc i2c_core ac97_bus sr_mod cdrom pata_ali libata > > CPU: 1 PID: 8174 Comm: xgcc Not tainted 3.11.0-rc1 #1 > > Call Trace: > > [00000000004537b0] warn_slowpath_common+0x4c/0x64 > > [0000000000540d78] ext4_evict_inode+0x1f0/0x448 > > [00000000004f3938] evict+0xb8/0x190 > > [00000000004e99bc] do_unlinkat+0xf4/0x160 > > [0000000000406174] linux_sparc_syscall32+0x34/0x40 > > ---[ end trace cd72b9e3e68d89e4 ]--- > > > > The Comm varies, but the call trace always looks like that. Happens a couple > > of times per day, so far. No other ill effects observed. Didn't happen in 3.10 > > or older kernels. > > The fix, commit 822dbba33458cd6ad is already in Linus's tree, and will > be included in -rc2. > > Note that this can cause memory corruption caused by a use-after-free. > I've not noticed a problem in my personal testing, but it's been > reported to me that with stress testing (using memory cgroups amonng > other things) and the system wedged when the machine was rebooted > after the tests were completed, and it only came back after the > watchdog timer fired. The fix up was one of the first things which > Linus pulled after releasing -rc1, so you can merge 47188d39b5de to > get the fixes. Thanks! Installing -rc2 today.. /Mikael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/