diff options
author | 2018-04-23 18:51:28 -0400 | |
---|---|---|
committer | 2018-04-24 12:00:08 -0400 | |
commit | 6c1e851c4edc13a43adb3ea4044e3fc8f43ccf7d (patch) | |
tree | 0762f3b03339b0ab30f3163ab0ac314b75f05d02 /net/unix/af_unix.c | |
parent | random: add new ioctl RNDRESEEDCRNG (diff) | |
download | wireguard-linux-6c1e851c4edc13a43adb3ea4044e3fc8f43ccf7d.tar.xz wireguard-linux-6c1e851c4edc13a43adb3ea4044e3fc8f43ccf7d.zip |
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: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reported-by: syzbot+9de458f6a5e713ee8c1a@syzkaller.appspotmail.com
Fixes: 8ef35c866f8862df ("random: set up the NUMA crng instances...")
Cc: stable@vger.kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions