Skip to content
Commit 6c1e851c authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

random: fix possible sleeping allocation from irq context



We can do a sleeping allocation from an irq context when CONFIG_NUMA
is enabled.  Fix this by initializing the NUMA crng instances in a
workqueue.

Reported-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reported-by: default avatar <syzbot+9de458f6a5e713ee8c1a@syzkaller.appspotmail.com>
Fixes: 8ef35c866f8862df ("random: set up the NUMA crng instances...")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent d848e5f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment