Re: [PATCH v2] net/usb: kalmia: Fix uninit-value in kalmia_send_init_packet

Greg KH
2023-01-31T14:56:43Z

On Tue, Jan 31, 2023 at 03:20:33PM +0100, Miko Larsson wrote:
> syzbot reports that act_len in kalmia_send_init_packet() is
> uninitialized. Fix this by initializing it to 0.
>
> Fixes: d40261236e8e ("net/usb: Add Samsung Kalmia driver for Samsung GT-B3730")
> Reported-and-tested-by: syzbot+cd80c5ef5121bfe85b55@syzkaller.appspotmail.com
> Signed-off-by: Miko Larsson <mikoxyzzz@gmail.com>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>