Commit 42c939fb authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Yang Yingliang
Browse files

random: fix soft lockup when trying to read from an uninitialized blocking pool

mainline inclusion
from mainline-v5.2-rc2
commit 58be0106
category: bugfix
bugzilla: NA
CVE: NA

https://gitee.com/openeuler/kernel/issues/I1CVQ4?from=project-issue


-------------------------------------------------

Fixes: eb9d1bf0: "random: only read from /dev/random after its pool has received 128 bits"
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent e4bd2bf6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment