Files
linux/drivers
Alexey V. Vissarionov ce3aa76946 scsi: hpsa: Fix allocation size for scsi_host_alloc()
[ Upstream commit bbbd254991 ]

The 'h' is a pointer to struct ctlr_info, so it's just 4 or 8 bytes, while
the structure itself is much bigger.

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

Fixes: edd163687e ("hpsa: add driver for HP Smart Array controllers.")
Link: https://lore.kernel.org/r/20230118031255.GE15213@altlinux.org
Signed-off-by: Alexey V. Vissarionov <gremlin@altlinux.org>
Acked-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:23:21 +01:00
..
2021-03-04 11:38:21 +01:00
2022-05-09 09:04:56 +02:00
2023-01-24 07:20:00 +01:00
2021-11-18 14:03:51 +01:00
2022-04-13 21:00:55 +02:00
2023-01-14 10:16:24 +01:00
2022-08-25 11:38:14 +02:00