Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16E3CC636D3 for ; Tue, 31 Jan 2023 14:56:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232214AbjAaO4k (ORCPT ); Tue, 31 Jan 2023 09:56:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232244AbjAaO4e (ORCPT ); Tue, 31 Jan 2023 09:56:34 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6FE551C43; Tue, 31 Jan 2023 06:56:30 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 65041B81D38; Tue, 31 Jan 2023 14:56:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4014C433EF; Tue, 31 Jan 2023 14:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1675176988; bh=r9f3CO6stuYfSV8PBSzgXoL9tTULU6Lb2hADDhpOq5Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=klXKEiNPo6g9bBvrG+jqs1lhblWW6a2IBUUuqZT3dNRiBeGU+h5gvyGuIarw5iTUy rrds7ISbKCSCKOKqYAIiXBfKjcnpxns0Dd+W8Z5qJIs1WfadQJZ2B5MnIT7NXS0AX3 PrZeazYkuK2OZjpeTo81kKIbdZKg62PCmJmBCPz0= Date: Tue, 31 Jan 2023 15:56:25 +0100 From: Greg KH To: Miko Larsson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net/usb: kalmia: Fix uninit-value in kalmia_send_init_packet Message-ID: References: <7266fe67c835f90e5c257129014a63e79e849ef9.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Greg Kroah-Hartman