lkml.org 
[lkml]   [2023]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Build error in crypto/marvell/cesa/cipher.c
On Wed, Jun 28, 2023 at 08:53:26PM -0700, Kees Cook wrote:
> On Wed, Jun 28, 2023 at 08:13:25PM -0700, Linus Torvalds wrote:
> > I get a similar error in 'irdma_clr_wqes()' at
> > drivers/infiniband/hw/irdma/uk.c:103 (and same thing on line 105). I
> > don't see what the right solution there is, but it looks like we have
> >
> > IRDMA_CQP_WQE_SIZE = 8
> > __le64 elem[IRDMA_CQP_WQE_SIZE];
> >
> > and it's doing a 4kB memset to that element. The mistake is not as
> > obvious as in the cesa driver.
>
> I pressed "send" too fast. :)
>
> This should also already be fixed:
> https://lore.kernel.org/all/20230523111859.2197825-1-arnd@kernel.org/

The fix is in latest RDMA PR:
https://lore.kernel.org/linux-rdma/ZJzUeFT7lLqEjMJn@nvidia.com/T/#u

Arnd Bergmann (1):
RDMA/irdma: avoid fortify-string warning in irdma_clr_wqes


Thanks

>
> --
> Kees Cook

\
 
 \ /
  Last update: 2023-06-29 09:29    [W:0.276 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site