Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2615345lqz; Wed, 3 Apr 2024 03:39:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhwMEOIYm3Z4AAvi7ajKnkntoE23lfbGrRSaiTdLBnQTWK2qVCWsjbp7X5jMYMA5de7U3bKfpRJtjj+LqY6FEtrYE1ETimW39D0p51ug== X-Google-Smtp-Source: AGHT+IExesjaxrlrG/0cpkvL3S87xpbqgBDKrrIIIfWyrClQWAYkdMXcyTYaHwkzDqFNSFul5KWY X-Received: by 2002:a05:6a00:1955:b0:6e6:9af4:409a with SMTP id s21-20020a056a00195500b006e69af4409amr17115920pfk.33.1712140759736; Wed, 03 Apr 2024 03:39:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712140759; cv=pass; d=google.com; s=arc-20160816; b=Y1gA5siCfJScrSFg6EYfNU/b12HSU7iWUOPG2aahfvblfF8H6VCdKohLttZhPSUE1L tid9/FT9i2//7hRyL8VUvAn9M5wK2NgGzWQYlPhY1JYuk1ZNTHDnKWfaCM2bM3hcOQPI januIqBBUb9/vX9QLiDYi8J6SzxGWdoI56oHlB7ZU2qwC7A+QaN1fL58ITTmuC0q0yoT 7Jqhrq7QkzwvVpMI/JUSL+VForOef5VeONT8W45Rp1Npu3m2EuYogB4Uu671HSbDOkwi FEWJGjUwFpSDcZ/YQ9t3AlbnFhbvQHr7nc95cTyfosPtoZetoYNA+H6NXUQGTUIeFd2V m8rQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=9jrtX1HMean05fLpzgcbx5TtbWpf/6zXyd0zOAf3YUA=; fh=4INZ3UiOgAiWPTkTpppT3T2Ytb9xnLZDt/JMxIboeWg=; b=wLXYbAaKsEDv0IYLr+55eHbQ8K5CD0QgM0d1cJpFueHWJFJdTqjHRyZg00HXQuMonx Fy3AgwmQG1MXM3S52r9u0aFXntAYpw019HYjnVh2A5YSEpCUdC33R+bkW61ak1eu4GPy ljDO6kp01L+a3pTV37PG7rQrgoMIkZwQN9AB4XwXoHku9h3r7lmpNIHoDWnYU54hUOr8 oVhuZer9nmm6p/6AcWcVEcYMbzhmmqVeZyadNQx9c2XOwAqd8IL9HV0TcIB4pd/b/5xt LG5LJfe+k+Vis7bf+WfhWoqEB9FVMKrfLfcl5wNNy4UZaJBH5Z7NHB3pksksCQ05qhYO YrOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rjrkoHwQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129510-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129510-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id j17-20020a62e911000000b006e70670e744si12811999pfh.259.2024.04.03.03.39.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 03:39:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129510-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rjrkoHwQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129510-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129510-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 899ECB2DC39 for ; Wed, 3 Apr 2024 10:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD8E213B2BF; Wed, 3 Apr 2024 10:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rjrkoHwQ" 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 C322E13AA5D; Wed, 3 Apr 2024 10:10:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712139028; cv=none; b=Ci4WX0Y0uXh3o856gGquKwo3MG6Kdu4yJxhaXNoB90VBCtTyK0Z7bT+23JjgUOLYGMquTgCd8S8PZS5pjgcnrApLAKMlfcDxep/cQz3coCheZ6wx33dYeXaBoIA4Kyz6WJ0LMe63XDDyujg3VubCZYJ5YXfWGRZG4hTTVdUrM9M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712139028; c=relaxed/simple; bh=9k/ctL/2N8p+CDWoWSVLNO3MphELQWzxRzzNCTnWqQ4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=BEtEX+aekIFSrQ1RLVQvVZHezSKM1Ln8VL/3/AaYZkMu7o60A21PCOG4ssEmBiKTNa7pxT0X9jl1XX254fUXpCZODksd6RAcjlzmi60aYIMmp/utrY9FnWyfk86++Wkv2RqRfFjbfj6QlHPAqRn5HWv5FJIf4v//t0aWWhGXp48= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rjrkoHwQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 3E75BC433C7; Wed, 3 Apr 2024 10:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712139028; bh=9k/ctL/2N8p+CDWoWSVLNO3MphELQWzxRzzNCTnWqQ4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rjrkoHwQ6uFRKZk53Mb/tHvAZK70UANlEH+CMb9Lf8gq37WVhQdBkSvfHWcKQxKC4 BfOs/7GFiqkJBuBwwxzWb7dR90Gx1w+gr4VU2/dvcrpvsTggDLbLGztFc7BDCkrDqv 6sspkQWv5vNTnER/JwQLqcCcjORbUc2+cLzqVe8WwDgTkG1p8GhjMt0+asFbzAK4W1 8Uqz3PrE9Y6dQMfw9KGCZaoL+zxvzjv5iifID39Dgdu+CVjpnd2UXyGJ+8Lzsf6dbF Gshzj3QKIMLisA4I0AwC1R9u7dmCX82VLNGEql9rntHzpuY/n1mnALTxgPG1eFVsO3 7Ox0jUOxneAPw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 3206ED84BB4; Wed, 3 Apr 2024 10:10:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] octeontx2-af: Add array index check From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171213902820.4996.18356221177275595089.git-patchwork-notify@kernel.org> Date: Wed, 03 Apr 2024 10:10:28 +0000 References: <20240328165505.19106-1-amishin@t-argos.ru> In-Reply-To: <20240328165505.19106-1-amishin@t-argos.ru> To: Aleksandr Mishin Cc: sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, jerinj@marvell.com, hkelam@marvell.com, sbhatta@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 28 Mar 2024 19:55:05 +0300 you wrote: > In rvu_map_cgx_lmac_pf() the 'iter', which is used as an array index, can reach > value (up to 14) that exceed the size (MAX_LMAC_COUNT = 8) of the array. > Fix this bug by adding 'iter' value check. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Fixes: 91c6945ea1f9 ("octeontx2-af: cn10k: Add RPM MAC support") > Signed-off-by: Aleksandr Mishin > > [...] Here is the summary with links: - [net,v2] octeontx2-af: Add array index check https://git.kernel.org/netdev/net/c/ef15ddeeb6be You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html