Received: by 10.192.165.148 with SMTP id m20csp79689imm; Fri, 20 Apr 2018 03:24:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx48wIgNqNiS9fmdboEmWxFjR3HlqyRmzaYICZQyklIJAYxGaAud8zQSYFhviT3IEV7FUFvlm X-Received: by 10.101.97.8 with SMTP id z8mr3273309pgu.192.1524219846956; Fri, 20 Apr 2018 03:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524219846; cv=none; d=google.com; s=arc-20160816; b=Udf9qVQTqO5VK6SCJQ7aME2pdo2H7hrBKQVP7cCc0JsQqk10ZXlJAEJ0wJfY0lyNCB Obgnzvh3CQ8gfmixZPog3bWJ61WoV0PHmcKt0X0z+AHxd0+G6OD9dJWEMswtKEXI74Uz 18kbn6BueerxtGeNveVMWw0uGFA/0+TEvRYuozYf/LuNWZ0s0WZ1gWO8jFe2qAtPSeMF 5PbJjlMe9Dh2s5MdaVUCuV2vqfbTxif8QI0Jt48AuvkpDjeNi1w3TMs1RQHjiEnG1v// E63mD8663SrmQJfCz9sp5U7fIRI3wRbYYhiw47OSaapewq3Gd6ARiIdsXg6YGlHgSJlV JOwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=rfrZQclYAbV55VARnueG67QFWSJ74+zzkQMf9HFKL88=; b=a4HZgjJNF6D+wI3sTuAlWcYB8c4Fb/eL/u5EpE6bP2fJ3EW0DKkGiG7Bl108JF48Yv +rbOIhBJoIu56hprM+++POG26ks7YIAgoGH1w4wV5/TQLreHiSLPLddcQqRbKh8me5Ew QrKBh8C07NLiwcPCk1kf3XJMP8ynIkqxT/9zX/L3EXgbbxaWjUIEwKchSjQ7Ogdr+HSq 578mxA4XNIOTI00u43tIR3MGkrhGDqbuQ3dREV1S50ds8Q69PC8JdI5nKuUy5WIW1Fu/ nZX4w5a31CAYFKbZUuWgiW/D6HO2T9gLh2KvibKQPL/Wfg6cXzJS7fqZLpdoreJ+ZL9Q GopA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9-v6si5429496pll.67.2018.04.20.03.23.52; Fri, 20 Apr 2018 03:24:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754566AbeDTKVl (ORCPT + 99 others); Fri, 20 Apr 2018 06:21:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:34617 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754398AbeDTKVj (ORCPT ); Fri, 20 Apr 2018 06:21:39 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 47632AE1F; Fri, 20 Apr 2018 10:21:38 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 924841E0A79; Fri, 20 Apr 2018 12:21:36 +0200 (CEST) Date: Fri, 20 Apr 2018 12:21:36 +0200 From: Jan Kara To: Dexuan Cui Cc: Jan Kara , Pavlos Parissis , Haiyang Zhang , Robert Kolchmeyer , Guillaume Morin , "stable@vger.kernel.org" , "jack@suse.com" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mszeredi@redhat.com" Subject: Re: kernel panics with 4.14.X versions Message-ID: <20180420102136.a637r6eoghxjqhaf@quack2.suse.cz> References: <20180416132550.d25jtdntdvpy55l3@bender.morinfr.org> <20180416144041.t2mt7ugzwqr56ka3@quack2.suse.cz> <9b11cfba-4bdc-8a3e-cd33-2f7e8d513bdf@gmail.com> <20180417121207.cs7eijrndovbplgz@quack2.suse.cz> <9cb08428-66ed-2306-d2f2-ae734863c68d@gmail.com> <20180419202302.vj2eu43hy77g5mv7@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 19-04-18 21:37:25, Dexuan Cui wrote: > > From: Jan Kara > > Sent: Thursday, April 19, 2018 13:23 > > Good news guys, Robert has just spotted a bug which looks like what I'd > > expect can cause your lockups / crashes. I've merged his patch to my tree > > and will push it to Linus for -rc3 so eventually it should land in > > appropriate stable trees as well. If you are too eager to test it out, it > > is attached for you to try. > > > > Jan Kara > > The patch's changelog says "... this behavior results in a kernel panic." > This sounds like a reference to corrupt memory causes a page fault or > general protection fault. > > But what I saw is only a lockup rather than a kernel panic: > watchdog: BUG: soft lockup - CPU#10 stuck for 22s! [java:87260]" > > So I guess what I saw can be a different unresolved issue? Actually I don't think so. The list iteration simply went through stray pointer. That can crash but it can also end in an infinite loop, or it can just randomly corrupt memory. I've seen all these situations with similar problems. So the fix is definitely worth trying. Honza -- Jan Kara SUSE Labs, CR