aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-sensor.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2019-01-06 20:46:05 +0000
committerHerbert Xu <[email protected]>2019-01-10 13:37:31 +0000
commit6db43410179bc40419a9859ebb333f178a49829d (patch)
treea54c32b7655a47c8c8a45604b45d65f3990a0a3c /drivers/media/platform/vimc/vimc-sensor.c
parentcrypto: cavium/nitrox - Use after free in process_response_list() (diff)
downloadkernel-6db43410179bc40419a9859ebb333f178a49829d.tar.gz
kernel-6db43410179bc40419a9859ebb333f178a49829d.zip
crypto: adiantum - initialize crypto_spawn::inst
crypto_grab_*() doesn't set crypto_spawn::inst, so templates must set it beforehand. Otherwise it will be left NULL, which causes a crash in certain cases where algorithms are dynamically loaded/unloaded. E.g. with CONFIG_CRYPTO_CHACHA20_X86_64=m, the following caused a crash: insmod chacha-x86_64.ko python -c 'import socket; socket.socket(socket.AF_ALG, 5, 0).bind(("skcipher", "adiantum(xchacha12,aes)"))' rmmod chacha-x86_64.ko python -c 'import socket; socket.socket(socket.AF_ALG, 5, 0).bind(("skcipher", "adiantum(xchacha12,aes)"))' Fixes: 059c2a4d8e16 ("crypto: adiantum - add Adiantum support") Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions