linux/drivers/crypto
Kai Ye fc521abb6e crypto: hisilicon/qm - increase the memory of local variables
[ Upstream commit 3efe90af4c ]

Increase the buffer to prevent stack overflow by fuzz test. The maximum
length of the qos configuration buffer is 256 bytes. Currently, the value
of the 'val buffer' is only 32 bytes. The sscanf does not check the dest
memory length. So the 'val buffer' may stack overflow.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:33:05 +01:00
..
allwinner crypto: sun8i-ss - use dma_addr instead u32 2022-12-31 13:32:30 +01:00
amcc
amlogic crypto: amlogic - Remove kcalloc without check 2022-12-31 13:32:36 +01:00
aspeed crypto: aspeed - Remove redundant dev_err call 2022-09-30 13:59:13 +08:00
axis crypto: artpec6 - Fix printk warning on size_t/%d 2022-09-24 16:14:43 +08:00
bcm crypto: bcm - Simplify obtain the name for cipher 2022-09-30 13:59:13 +08:00
caam
cavium crypto: nitrox - avoid double free on error path in nitrox_sriov_init() 2022-12-31 13:32:30 +01:00
ccp crypto: ccp - Remove the unneeded result variable 2022-09-30 13:57:50 +08:00
ccree crypto: ccree - Make cc_debugfs_global_fini() available for module init function 2022-12-31 13:32:33 +01:00
chelsio
gemini Revert "crypto: gemini - Fix error check for dma_map_sg" 2022-09-02 18:15:53 +08:00
hisilicon crypto: hisilicon/qm - increase the memory of local variables 2022-12-31 13:33:05 +01:00
inside-secure crypto: inside-secure - Replace generic aes with libaes 2022-09-24 16:14:43 +08:00
keembay
marvell crypto: marvell/octeontx - use sysfs_emit() to instead of scnprintf() 2022-09-30 13:59:13 +08:00
nx crypto: nx - Remove the unneeded result variable 2022-09-09 16:18:33 +08:00
qat crypto: qat - fix error return code in adf_probe 2022-12-31 13:32:36 +01:00
qce
rockchip crypto: rockchip - rework by using crypto_engine 2022-12-31 13:32:31 +01:00
stm32
ux500
virtio crypto: virtio - fix memory-leak 2022-09-30 13:57:49 +08:00
vmx
xilinx
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' 2022-12-31 13:32:37 +01:00
ixp4xx_crypto.c
Kconfig crypto: rockchip - rework by using crypto_engine 2022-12-31 13:32:31 +01:00
Makefile
mxs-dcp.c
n2_asm.S
n2_core.c crypto: n2 - fix repeated words in comments 2022-09-02 18:37:23 +08:00
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() 2022-12-31 13:32:36 +01:00
padlock-aes.c
padlock-sha.c
qcom-rng.c
s5p-sss.c
sa2ul.c
sa2ul.h
sahara.c
talitos.c
talitos.h