lkml.org 
[lkml]   [2021]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] misc: vmw_vmci: initialize payload passed to vmci_send_datagram()
On Thu, Apr 01, 2021 at 03:53:02PM +0900, Tetsuo Handa wrote:
> On 2021/04/01 15:18, Greg Kroah-Hartman wrote:
> > On Thu, Apr 01, 2021 at 02:57:47PM +0900, Tetsuo Handa wrote:
> >> KMSAN complains that the vmci_use_ppn64() == false path in
> >> vmci_dbell_register_notification_bitmap() left upper 32bits of
> >> bitmap_set_msg.bitmap_ppn64 member uninitialized.
> >>
> >> KMSAN also complains that vmci_check_host_caps() left the payload part
> >> of check_msg uninitialized.
> >>
> >
> > What commit does this "fix"? Can you resend with a proper "Fixes:" tag
> > so we know where it needs to be backported to?
>
> It seems that this problem exists since the introduction.
>
> commit 83e2ec765be03e8a8a07619e65df70b48a1db023
> Author: George Zhang <georgezhang@vmware.com>
> Date: Tue Jan 8 15:53:51 2013 -0800
>
> VMCI: doorbell implementation.
>
> commit 1f166439917b69d3046e2e49fe923579d9181212
> Author: George Zhang <georgezhang@vmware.com>
> Date: Tue Jan 8 15:55:32 2013 -0800
>
> VMCI: guest side driver implementation.
>
> But this patch should be safe to backport to as old as possible, for
> this patch is merely explicitly initializing variables.

Great, can you please resend with the Fixes: tag and a cc: stable in the
signed-off-by area as well when you resend these as a 2 patch series?

thanks,

greg k-h

\
 
 \ /
  Last update: 2021-04-01 09:14    [W:2.290 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site