Re: [crng_reseed] WARNING: inconsistent lock state

From: Fengguang Wu
Date: Sun Apr 29 2018 - 08:17:55 EST


On Sun, Apr 29, 2018 at 03:07:06AM +0000, Linus Torvalds wrote:
On Sat, Apr 28, 2018 at 7:26 PM Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:

FYI this happens in mainline kernel 4.17.0-rc2.
It looks like a new regression.

It occurs in 3 out of 3 boots.

There is another "[ 294.642506] BUG: sleeping function called from
invalid context at mm/slab.h:421" at the bottom of this long dmesg:

This should be fixed by commit 6c1e851c4edc ("random: fix possible sleeping
allocation from irq context").

Yes that fixes the bug. Sorry for the late report!

Regards,
Fengguang