Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3661089img; Mon, 25 Mar 2019 15:09:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1ftIPW0daM0m2QKwK5OtKp8JhoumyoWQgMldYEhjF9LGuDVqn1+inHRqeWpfCxMKhkgo+ X-Received: by 2002:a63:3190:: with SMTP id x138mr18752574pgx.273.1553551789112; Mon, 25 Mar 2019 15:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553551789; cv=none; d=google.com; s=arc-20160816; b=k79aFRqrkYXBzRoPy0hebkKRQtyizmHfQgfs7T1GxHyhsAB1c6co97SVlfsEEir/3C RG0TBSGxFFnKuuuwn6NzC60+p+qi2ZUexr1dLzYJABypPvTP+6X8XsJTbV/fcG3B4KFH EO0717jXTRvXYCKc27/Zx3uiImnU08WfN6h9Y+oKRA2N5qKGF+OWuSQz2mmsy9R8Sj2a ZPwnAE94A9ZbpjieiummweH9cTWE5HF70khHI0n5gxy+R97MSjK2VwgNuZvhvrQzTBvx YIjWYf+MX1vyOXEV907gZPj9YBhflXEZGJkn0jcfp60t/ozD03Gv8dRQYPn1F0Uc4WCJ fX7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Ceng7MEn+EPPEjmmMzg+oLfKm5kRneybZRwoX4/Yhhk=; b=ibmo+4vEfsvnrHIU0Os+LYBkgecZN4EkIIpqAKUOc7rgBG4we5xH7tLG4lE1hm3WXI W5/n4Pjz+GliCZuUeJ51Ujlc3N8Ui2AvqpVy3HTajxcII6HxU8Eb172MZTuaL90iUZxX uTO+spNLdxblFI5jVTTsqzDjv3flsF+LW66p0FSi06ntyZ/MZ/gNEINt5zt0Hd2AguuB xN+6+LLBXLMhZM0SLo30Sb56ATeChKjLFrXKgQYLYfCkxsJSo5m3EbcOKELux/iYdE1i SKDxkLUr9/YxrM7nn0JD33BQtzkmflrLSovxaO47iWR2lOmeYuMCUwJnsQwk0hBqCgGu 9IyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@digitalocean.com header.s=google header.b=iEwEkuLr; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si15167164plc.233.2019.03.25.15.09.34; Mon, 25 Mar 2019 15:09:49 -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; dkim=pass header.i=@digitalocean.com header.s=google header.b=iEwEkuLr; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730061AbfCYWIt (ORCPT + 99 others); Mon, 25 Mar 2019 18:08:49 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:43823 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728912AbfCYWIt (ORCPT ); Mon, 25 Mar 2019 18:08:49 -0400 Received: by mail-oi1-f195.google.com with SMTP id 67so8280765oif.10 for ; Mon, 25 Mar 2019 15:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalocean.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ceng7MEn+EPPEjmmMzg+oLfKm5kRneybZRwoX4/Yhhk=; b=iEwEkuLrMBSz5v9/dHyEPZUwbFpSwKLinA3PRBmhlN9fNjsJAP3GPceGjEPaQG99JP puIvSTbQaCQC36yfuDzkoDCXZkGKSh61rY97FinplPDryDWu/RRwlTTVMbw4j82LdK8x YoUDk9zxxPEMhfaxtyJJJZjh4r6j8zgKCcLVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ceng7MEn+EPPEjmmMzg+oLfKm5kRneybZRwoX4/Yhhk=; b=mwq7CBpGsXxLS8aUBKJEGTwiLgobNHE255AYRdQKXCLMC0KvrzKKRXQg+1fomhE5C+ VIUSSKZ9x6zdv+8TOQGvntMG/diNiblqb8mD4MxGYEC4Wew+8KhFQA8c5lSuEeaWrYP7 tO/8dUH0/q0UuCMsPUQM7lCOn1a7nIak8cnj/Ra43+SNp8sE8GnFxGK7Rp+xYfxCGqvI A5eplsq1wn7QoRskFCyhnFkoYjF/mZS5R6TynsuSTMyyx+RsKkWdEhDd2FYpGVp9sAll Fc//FssT6Pw6BFaCuijnR3Oa7d9QeXyS/i/ZCDS9LfVandnKZMPJHiOqBo15qGT5w1lY DJDw== X-Gm-Message-State: APjAAAWY7cKgrswSnJjJRMCEAVJhwBc8AZZfXy8UBgr1bN0t/kG0HgV+ PM2KuULkbHnKjt+GwVJ6XVEKGUNBWQFDvK7Ly4sxSg== X-Received: by 2002:aca:f511:: with SMTP id t17mr12775417oih.115.1553551728518; Mon, 25 Mar 2019 15:08:48 -0700 (PDT) MIME-Version: 1.0 References: <1553440122.7s759munpm.astroid@alex-desktop.none> In-Reply-To: <1553440122.7s759munpm.astroid@alex-desktop.none> From: Vineeth Pillai Date: Mon, 25 Mar 2019 18:08:37 -0400 Message-ID: Subject: Re: shmem_recalc_inode: unable to handle kernel NULL pointer dereference To: "Alex Xu (Hello71)" Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Kelley Nielsen , Huang Ying , Hugh Dickins , Rik van Riel , Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 24, 2019 at 11:30 AM Alex Xu (Hello71) wrote: > > I get this BUG in 5.1-rc1 sometimes when powering off the machine. I > suspect my setup erroneously executes two swapoff+cryptsetup close > operations simultaneously, so a race condition is triggered. > > I am using a single swap on a plain dm-crypt device on a MBR partition > on a SATA drive. > > I think the problem is probably related to > b56a2d8af9147a4efe4011b60d93779c0461ca97, so CCing the related people. > Could you please provide more information on this - stack trace, dmesg etc? Is it easily reproducible? If yes, please detail the steps so that I can try it inhouse. Thanks, Vineeth