linux/drivers/mtd/parsers
Denis Arefev 1162bc2f8f mtd: partitions: redboot: Added conversion of operands to a larger type
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
2024-03-25 11:17:16 +01:00
..
afs.c mtd: parsers: afs: Fix freeing the part name memory in failure 2021-02-01 18:58:38 +01:00
bcm47xxpart.c mtd: parsers: bcm47xxpart: Fix halfblock reads 2022-10-18 11:20:12 +02:00
bcm63xxpart.c mtd: bcm63xxpart: remove MODULE_LICENSE in non-modules 2023-03-08 14:47:15 +01:00
brcm_u-boot.c mtd: parsers: add Broadcom's U-Boot parser 2022-09-19 18:13:08 +02:00
cmdlinepart.c mtd: move from strlcpy with unused retval to strscpy 2022-09-19 18:14:53 +02:00
Kconfig mtd: parsers: ar7: remove support 2023-10-19 10:31:44 +02:00
Makefile mtd: parsers: ar7: remove support 2023-10-19 10:31:44 +02:00
ofpart_bcm4908.c mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset 2022-06-09 15:03:32 +02:00
ofpart_bcm4908.h mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_core.c mtd: parsers: ofpart: add workaround for #size-cells 0 2023-02-06 12:54:23 +01:00
ofpart_linksys_ns.c mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
ofpart_linksys_ns.h mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
parser_imagetag.c mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions() 2021-01-28 22:24:54 +01:00
parser_trx.c mtd: parsers: trx: Allow to specify brcm, trx-magic in DT 2021-05-10 12:11:50 +02:00
qcomsmempart.c mtd: parsers: qcom: Fix missing free for pparts in cleanup 2022-01-25 10:32:07 +01:00
redboot.c mtd: partitions: redboot: Added conversion of operands to a larger type 2024-03-25 11:17:16 +01:00
scpart.c mtd: parsers: scpart: fix __udivdi3 undefined on mips 2023-01-02 12:08:51 +01:00
sharpslpart.c mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00
tplink_safeloader.c mtd: parsers: Fix potential memory leak in mtd_parser_tplink_safeloader_parse() 2023-01-02 12:08:50 +01:00