Files
linux/drivers
Alexey V. Vissarionov eced3d368f 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:34:36 +01:00
..
2023-02-01 08:34:34 +01:00
2023-01-07 11:11:39 +01:00
2022-09-21 20:33:49 +02:00
2022-12-31 13:33:12 +01:00
2023-02-01 08:34:25 +01:00
2022-12-31 13:32:09 +01:00