Re: [crng_reseed] WARNING: inconsistent lock state

From: Linus Torvalds
Date: Sat Apr 28 2018 - 23:07:28 EST


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").

Linus