Re: [PATCH 00/17] Enable strict compile-time memcpy() fortify checks

From: Martin K. Petersen
Date: Thu Dec 16 2021 - 23:04:51 EST


On Mon, 13 Dec 2021 14:33:14 -0800, Kees Cook wrote:

> This is "phase 2" (of several phases) to hardening the kernel against
> memcpy-based buffer overflows. With nearly all compile-time fixes
> landed, the next step is to turn on the warning globally to keep future
> compile-time issues from happening, and let us take the step towards
> run-time checking (and towards a new API for flexible array structures).
>
> This series is based on latest linux-next, and several patches here
> have already been taken by subsystem maintainers but haven't appeared
> in linux-next yet, and are noted below.
>
> [...]

Applied to 5.17/scsi-queue, thanks!

[15/17] scsi: lpfc: Use struct_group() to initialize struct lpfc_cgn_info
https://git.kernel.org/mkp/scsi/c/532adda9f405

--
Martin K. Petersen Oracle Linux Engineering