Re: [PATCH] scsi: lpfc: Fix format string and OOB copy in lpfc_read_object()

From: Martin K. Petersen (Oracle)

Date: Wed Nov 25 2026 - 22:35:18 EST


On Thu, 19 Nov 2026 09:05:00 -0800, Ian Rogers wrote:

> In lpfc_read_object(), rd_object_name is a 26-element u32 array (104
> bytes, LPFC_OBJ_NAME_SZ) populated from rdobject via scnprintf() without a
> "%s" format string, and then copied to the SLI-4 mailbox request with:
>
> for (j = 0; j < strlen(rdobject); j++)
> read_object->u.request.rd_object_name[j] =
> cpu_to_le32(rd_object_name[j]);
>
> [...]

Applied to 7.5/scsi-queue, thanks!

[1/1] scsi: lpfc: Fix format string and OOB copy in lpfc_read_object()
https://git.kernel.org/mkp/scsi/c/1f4c50b5d04b

--
Martin K. Petersen