[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq11r8ywn3m.fsf@ca-mkp.ca.oracle.com>
Date: Fri, 18 Jun 2021 23:29:21 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Kees Cook <keescook@...omium.org>
Cc: "Martin K. Petersen" <martin.petersen@...cle.com>,
Adaptec OEM Raid Solutions <aacraid@...rosemi.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] scsi: ips: Avoid over-read of sense buffer
Kees,
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memcpy() avoid intentionally reading across
> neighboring array fields.
Applied to 5.14/scsi-staging, thanks!
Strictly speaking padding shouldn't be necessary but this isn't fast
path so no big deal.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists