Re: shmem_recalc_inode: unable to handle kernel NULL pointer dereference

From: Vineeth Pillai
Date: Mon Mar 25 2019 - 18:08:51 EST

On Sun, Mar 24, 2019 at 11:30 AM Alex Xu (Hello71) <alex_y_xu@xxxxxxxx> 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.