Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp69165rdb; Wed, 20 Dec 2023 06:34:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBZlZDnpcKh6xpqLoenVZcboACH9cqA+whvAYaKCn/oaH++Viq+5s3b2rg4OJd6Wrwk6BB X-Received: by 2002:ad4:5f0e:0:b0:67f:43b4:96e7 with SMTP id fo14-20020ad45f0e000000b0067f43b496e7mr3745385qvb.60.1703082854751; Wed, 20 Dec 2023 06:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703082854; cv=none; d=google.com; s=arc-20160816; b=nKAclaelefN6m6swdsXSC1itVgEzpeHXAVa6JC5S6wDfvrLgvdF053M73c7BhB0F9Y /LRBmzmNm8ID5NMGVaD7f2gmiMo3HqjuE3FsZo/7MZUmmZwXDiypotx17pTbcmeyj7qC 9gX1fA5MifaxttCvYC6tImHR4xIOBjh9e9laSp8bGGGuFWG24F6rQ0MMyLaJEfHzGmrT WCNldtAYehXl5Zn8qmVYJ7VWJbJ9eB4G5+xA2SpB99Zjb9kaQogKcSZ5laI5oIa9lPew 2vmDSsxQjIMBbXeCTosRQoJYqLvPr1cCQubslyWkFcS/oWxqhruoE8d6EXjDhyEbUhqe g0EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JPr3ClAZdPT6QOS2QkiRX9jxgo8q99WYJYVctUh2xkc=; fh=D3wCDvx04I0UJwHD9R8goGJUdcXTV1IHwV2Rn94KU1E=; b=uvCWB/2DJESVVT1aouJsCtJFrIOzRm3fBP2bQHWVwQfe8vN00944VnKSSvBLo5TylY PyJEJtkhJWo0ZgRKUQBxl2vGR8VAGNeXr35EBt7rV+7RCTaY85/u0lO3PaEO/jZKkRcq XyfzpuPB64kFsEVJludYFRJxMGs9DaC8NRR3z4abYzXZGO3WP1kTgpmqJNinj25VhO0a hdl9ocixYqN7WytxpuH9b4YiI01T/QNm1FV8iTw4L/noIR3UQNltQc003oEn3iILNjkO q6HYKgQIh3bhgdbkPgJhcQId3PGUJjhoaDFUV+7cke7Nw06DcmFS6ERekkaTzO4EapHi HCdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i8rcmbsP; spf=pass (google.com: domain of linux-kernel+bounces-7065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x18-20020a0cda12000000b0067f2ef1a8a9si3349488qvj.296.2023.12.20.06.34.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 06:34:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i8rcmbsP; spf=pass (google.com: domain of linux-kernel+bounces-7065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 807911C226B0 for ; Wed, 20 Dec 2023 14:34:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 282383B28C; Wed, 20 Dec 2023 14:34:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="i8rcmbsP" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 589C33AC3A; Wed, 20 Dec 2023 14:34:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4D93C433C9; Wed, 20 Dec 2023 14:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703082847; bh=41quJ9B/Oz6jQoPktZ6U8rZMIvvzNB3ljXVrZ23V5YI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i8rcmbsPOEOqfWS0i+q1CrU11T55QLB4YIizoU3/004XJQodh85CeyTsLbGRGcCrQ bQGZtXQluK2fld+DVQtBAhK4RVWDWXVd4Jkc9u/myze41Y/0QvSObtWmZDJbrNmNNF V1TCNoYEZ8Z3vETbDOUnSO7TJZOUqMu67hhC6OOwRQWcKMj9CiTUNN41NWGINguzUu 95VsZ92ww+WoZ34zryXTP9Xe5A4lXCcSzKNhiGr3IpCEiv3021wJuAc39N8V7MYsuR ovH6YIf8jD51lHg5yR+cKAP2D38lSP8AB4isFMWlz8uki//CFLiTXoJGpYQXcofY/P rgeF3JKrxagVw== Date: Wed, 20 Dec 2023 15:34:01 +0100 From: Simon Horman To: Alexander Sapozhnikov Cc: Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH] net: fddi: skfp: Uninitialized data Message-ID: <20231220143401.GH882741@kernel.org> References: <20231219100819.17426-1-alsp705@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231219100819.17426-1-alsp705@gmail.com> On Tue, Dec 19, 2023 at 01:08:19PM +0300, Alexander Sapozhnikov wrote: > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Alexander Sapozhnikov Hi, I think that more explanation is required regarding the problem this solves and how it might affect users. > --- > drivers/net/fddi/skfp/pmf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/fddi/skfp/pmf.c b/drivers/net/fddi/skfp/pmf.c > index 563fb7f0b327..3f24fbd82a73 100644 > --- a/drivers/net/fddi/skfp/pmf.c > +++ b/drivers/net/fddi/skfp/pmf.c > @@ -1084,7 +1084,7 @@ static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, > int path ; > int port ; > SK_LOC_DECL(u_char,byte_val) ; > - SK_LOC_DECL(u_short,word_val) ; > + SK_LOC_DECL(u_short, word_val) = 0 ; > SK_LOC_DECL(u_long,long_val) ; > > mac = index - INDEX_MAC ; > -- > 2.40.1 > >