Gaosheng Cui
c75ea343e4
crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
[ Upstream commit 04ba54e5af8f8f0137b08cb51a0b3a2e1ea46c94 ]
Smatch report warning as follows:
drivers/crypto/img-hash.c:366 img_hash_dma_task() warn: variable
dereferenced before check 'hdev->req'
Variable dereferenced should be done after check 'hdev->req',
fix it.
Fixes: d358f1abbf ("crypto: img-hash - Add Imagination Technologies hw hash accelerator")
Fixes: 10badea259 ("crypto: img-hash - Fix null pointer exception")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
2023-01-18 11:41:21 +01:00 |
| .. |
|
amcc
|
|
|
|
axis
|
|
|
|
bcm
|
|
|
|
caam
|
crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
|
2022-01-27 09:19:49 +01:00 |
|
cavium
|
crypto: cavium - prevent integer overflow loading firmware
|
2022-10-26 13:22:46 +02:00 |
|
ccp
|
crypto: ccp - Release dma channels before dmaengine unrgister
|
2022-10-26 13:22:46 +02:00 |
|
ccree
|
crypto: ccree - Make cc_debugfs_global_fini() available for module init function
|
2023-01-18 11:41:18 +01:00 |
|
chelsio
|
tcp: Fix data-races around sysctl knobs related to SYN option.
|
2022-07-29 17:14:14 +02:00 |
|
hisilicon
|
crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
|
2022-08-25 11:17:42 +02:00 |
|
inside-secure
|
crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of
|
2022-08-25 11:17:48 +02:00 |
|
marvell
|
crypto: marvell/cesa - ECB does not IV
|
2022-06-14 18:11:40 +02:00 |
|
mediatek
|
|
|
|
nx
|
|
|
|
qat
|
crypto: qat - disable registration of algorithms
|
2022-03-28 08:46:47 +02:00 |
|
qce
|
|
|
|
rockchip
|
|
|
|
stm32
|
crypto: stm32 - fix reference leak in stm32_crc_remove
|
2022-05-25 09:14:32 +02:00 |
|
sunxi-ss
|
|
|
|
ux500
|
|
|
|
virtio
|
|
|
|
vmx
|
crypto: vmx - add missing dependencies
|
2022-04-15 14:18:05 +02:00 |
|
atmel-aes-regs.h
|
|
|
|
atmel-aes.c
|
|
|
|
atmel-authenc.h
|
|
|
|
atmel-ecc.c
|
|
|
|
atmel-i2c.c
|
|
|
|
atmel-i2c.h
|
|
|
|
atmel-sha-regs.h
|
|
|
|
atmel-sha.c
|
|
|
|
atmel-sha204a.c
|
|
|
|
atmel-tdes-regs.h
|
|
|
|
atmel-tdes.c
|
|
|
|
exynos-rng.c
|
|
|
|
geode-aes.c
|
|
|
|
geode-aes.h
|
|
|
|
hifn_795x.c
|
|
|
|
img-hash.c
|
crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
|
2023-01-18 11:41:21 +01:00 |
|
ixp4xx_crypto.c
|
|
|
|
Kconfig
|
|
|
|
Makefile
|
|
|
|
mxs-dcp.c
|
crypto: mxs-dcp - Fix scatterlist processing
|
2022-04-15 14:18:04 +02:00 |
|
n2_asm.S
|
|
|
|
n2_core.c
|
|
|
|
n2_core.h
|
|
|
|
omap-aes-gcm.c
|
|
|
|
omap-aes.c
|
|
|
|
omap-aes.h
|
|
|
|
omap-crypto.c
|
|
|
|
omap-crypto.h
|
|
|
|
omap-des.c
|
|
|
|
omap-sham.c
|
crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
|
2023-01-18 11:41:20 +01:00 |
|
padlock-aes.c
|
|
|
|
padlock-sha.c
|
|
|
|
picoxcell_crypto.c
|
|
|
|
picoxcell_crypto_regs.h
|
|
|
|
qcom-rng.c
|
crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
|
2022-05-25 09:14:34 +02:00 |
|
s5p-sss.c
|
|
|
|
sahara.c
|
|
|
|
talitos.c
|
|
|
|
talitos.h
|
|
|