kernel_samsung_a53x/drivers/mtd/parsers
Denis Arefev 89beb176d6 mtd: partitions: redboot: Added conversion of operands to a larger type
[ Upstream commit 1162bc2f8f5de7da23d18aa4b7fbd4e93c369c50 ]

The value of an arithmetic expression directory * master->erasesize is
subject to overflow due to a failure to cast operands to a larger data
type before perfroming arithmetic

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Denis Arefev <arefev@swemel.ru>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240315093758.20790-1-arefev@swemel.ru
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:32 +01:00
..
afs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ar7part.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm47xxpart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm63xxpart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmdlinepart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ofpart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parser_imagetag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parser_trx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
redboot.c mtd: partitions: redboot: Added conversion of operands to a larger type 2024-11-19 14:19:32 +01:00
sharpslpart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00