diff options
| author | Artem Savkov <[email protected]> | 2016-10-26 14:02:09 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2016-10-27 05:03:33 +0000 |
| commit | 31e6ec4519c0fe0ee4a2f6ba3ab278e9506b9500 (patch) | |
| tree | ba04b350b84151753936b5a2ed9087bc4721d8cd /net/switchdev/switchdev.c | |
| parent | KEYS: Sort out big_key initialisation (diff) | |
| download | kernel-31e6ec4519c0fe0ee4a2f6ba3ab278e9506b9500.tar.gz kernel-31e6ec4519c0fe0ee4a2f6ba3ab278e9506b9500.zip | |
security/keys: make BIG_KEYS dependent on stdrng.
Since BIG_KEYS can't be compiled as module it requires one of the "stdrng"
providers to be compiled into kernel. Otherwise big_key_crypto_init() fails
on crypto_alloc_rng step and next dereference of big_key_skcipher (e.g. in
big_key_preparse()) results in a NULL pointer dereference.
Fixes: 13100a72f40f5748a04017e0ab3df4cf27c809ef ('Security: Keys: Big keys stored encrypted')
Signed-off-by: Artem Savkov <[email protected]>
Signed-off-by: David Howells <[email protected]>
cc: Stephan Mueller <[email protected]>
cc: Kirill Marinushkin <[email protected]>
cc: [email protected]
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
