Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2432341img; Sun, 24 Mar 2019 08:33:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6PVwYHGZgDysrN07LO2p0AcvKJOTLhKCVT0x6PCuX485iZmVcldaoy9/xkEyacSG+/+Re X-Received: by 2002:a63:4f61:: with SMTP id p33mr18846595pgl.303.1553441580161; Sun, 24 Mar 2019 08:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553441580; cv=none; d=google.com; s=arc-20160816; b=K012UzsAEzpxo4F1ymq21A9QKxFfj8rp78mCQziJbKWL5GBPC6dHzVOFT6A/ARLLKS tZlQYQwC0pJHQ2z1X0v0GXClglu3bA174z+OvxbeSOj2D4hZTBnZ4xBfuZsGgXMpjmbI krMUJpIWa9Nsw7x7cF9vGTJMIJFfyZpnM1qRr7w9G9CIGvKgkZNL8N3/koNC8Ux+MJFv oRB3zGU1y8G9lp2SMjuN6IoaT+qY7+zpugO5x/UKZjgTkbzI1UVK7m+0ev92XEWNMl01 /o9gUYVqUVWgJU6xlGkv/Cd3ccoYg9W8C6Owgqh4gDQCWpl3K4pHliO97ao6KRhhszDz VY5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id :user-agent:mime-version:cc:to:subject:from:date:dkim-signature; bh=3BTYe0wlCfoSo0zemgqZ21aETVAIwEHFHMSEn5+F3PY=; b=H4QC9Cs/mZWqcs9bjZDaW2jsV8uGU0qRyG7rj+E84ZAXF7hvN4O+1YGFTeiJAJ9+gT gBz09WPB/lcT6hmb0JbcBsIzZFBzrTH7U/mC3X2VY1YjF+yv45z2mGFCbXO4YUG1nry5 oYZVNRiiwTfaLAhp/+fOkPgb4mPIHZBSkwM04imcyRcyw9fhC1gnlBMS/GErANs+edZB ph24Dp00oQdBhmHELeR4eq5ZMCuGmTgc1MwXj+FghmXaEyf1Q1xO+4r0KEL5xgPSF5oD E/VI5tfzVaUmvuxiE8UU1y6sl8wVxEu0IPbTN/TCKWRVGrAGWshRu6LW1L6E1KMU9cZa iU5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b="d37q/mmC"; 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=yahoo.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si11415085pfy.11.2019.03.24.08.32.44; Sun, 24 Mar 2019 08:33:00 -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=@yahoo.ca header.s=s2048 header.b="d37q/mmC"; 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=yahoo.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728768AbfCXPat (ORCPT + 99 others); Sun, 24 Mar 2019 11:30:49 -0400 Received: from sonic311-31.consmr.mail.ir2.yahoo.com ([77.238.176.163]:38105 "EHLO sonic311-31.consmr.mail.ir2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfCXPat (ORCPT ); Sun, 24 Mar 2019 11:30:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1553441447; bh=3BTYe0wlCfoSo0zemgqZ21aETVAIwEHFHMSEn5+F3PY=; h=Date:From:Subject:To:Cc:From:Subject; b=d37q/mmCvQ+D03plP/UT+JItgRXOWUMbU5wbl3jkkNV7hKuIsSj/JI4q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MkFtIxDJWtBLRc93Y6YEG_4RaBa6Z32Nlfd8YyH98K2wr6JdS1KutAkiF F6H2cywHf8RUFxgC3juo57WuFIn8jyIrikcazyti6AuCVTE5r73OoZu82wsj4V9q60kknuBr3J.S uu4yyMinPuUnHYT6xqqtoSX6rx_YbqhUx8dTuhrmXR1QbM0SR8dMZKcEO_eatMF9f8udpLiGVBT. P45TsafokONAOs0ub1bwyClWO3ndYq6.xe_0CPA6F0_dRdVfrWO8mvMr5a_LHKCaMG3FDo1I.p4E qM5LMf.iang.psbs0q6CQHOMhL65DIYJLDlNn0EV.xHlWopsgllQz Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Sun, 24 Mar 2019 15:30:47 +0000 Received: from pink.alxu.ca (EHLO localhost) ([198.98.62.56]) by smtp404.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 6538810d4e26107911f82eb677458271; Sun, 24 Mar 2019 15:30:45 +0000 (UTC) Date: Sun, 24 Mar 2019 11:30:41 -0400 From: "Alex Xu (Hello71)" Subject: shmem_recalc_inode: unable to handle kernel NULL pointer dereference To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Vineeth Remanan Pillai , Kelley Nielsen , Huang Ying , Hugh Dickins , Rik van Riel , Andrew Morton MIME-Version: 1.0 User-Agent: astroid/0.14.0 (https://github.com/astroidmail/astroid) Message-Id: <1553440122.7s759munpm.astroid@alex-desktop.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I get this BUG in 5.1-rc1 sometimes when powering off the machine. I=20 suspect my setup erroneously executes two swapoff+cryptsetup close=20 operations simultaneously, so a race condition is triggered. I am using a single swap on a plain dm-crypt device on a MBR partition=20 on a SATA drive. I think the problem is probably related to=20 b56a2d8af9147a4efe4011b60d93779c0461ca97, so CCing the related people. Thanks, Alex.