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 D531E191484 for ; Tue, 30 Jul 2024 07:51:22 +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=1722325882; cv=none; b=RKz+A3qhtnVN3GU98uKaZ+lbTg+b9VvxGG0xbgwu6MeG511ggayKWG+yMePKGmWpoReLvzOJzT/FMuG4QWAJdR6p95XJEVC6u4jbSgF2ou+SgvKf3bGwOE//38yTa3dUn58Gd16p1CX4Rrx/KtQB9t/z1iZrZiCFNawAfgUXvQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325882; c=relaxed/simple; bh=nod0usPbcU2YdMLgTLg+ZE2SEvXPvOajSdP13poCIt0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iM22i83CI3qvM0ohFXbmnR685INNV0XETyVOTL/3lLbKac1nm/xosPoRl2oot3V9UUEMLL0M+TnNJGghm9eeRkT/WgBkwII1WSLhRloIutEvOFm2+/+oa86v5dl86RSor0tI7HFdv1PwIC4fr9WoWnKGg5qzdjcfbZMwhq0qpLo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VjAYVhjf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VjAYVhjf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4743FC4AF09; Tue, 30 Jul 2024 07:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325882; bh=nod0usPbcU2YdMLgTLg+ZE2SEvXPvOajSdP13poCIt0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=VjAYVhjfIOv9S0e3LKpjcXsN9DKkxInwXOVOu6LvZOQjPaDcqsQFLg8fWkbrKtxWD 5PaLD66QV2AHpbfLVcPtz7Ixfa72fLiXd9I6N6ldD0D5M42WWGCFmSE8R7beKDfZKd obKbBYroVP8Wwnvlw1vJzza19B+4iwGXL0tQdKGY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42162: gve: Account for stopped queues when reading NIC stats Date: Tue, 30 Jul 2024 09:48:20 +0200 Message-ID: <2024073037-CVE-2024-42162-ea68@gregkh> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1760; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nod0usPbcU2YdMLgTLg+ZE2SEvXPvOajSdP13poCIt0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZs380LVHs2eTv8wML7+1E0xtuBiuLFPgmqryNuhZf bzry5e7O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAia7oY5qlf3tH4ScCM6bTR nBmPGp+4sHLFXmGYZ7V+1hbbtsy2tx1LKj+oq9ts5vjlBAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: gve: Account for stopped queues when reading NIC stats We now account for the fact that the NIC might send us stats for a subset of queues. Without this change, gve_get_ethtool_stats might make an invalid access on the priv->stats_report->stats array. The Linux kernel CVE team has assigned CVE-2024-42162 to this issue. Affected and fixed versions =========================== Fixed in 6.9.9 with commit 32675d828c8a Fixed in 6.10 with commit af9bcf910b1f Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2024-42162 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/google/gve/gve_ethtool.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/32675d828c8a392e20d5b42375ed112c407e4b62 https://git.kernel.org/stable/c/af9bcf910b1f86244f39e15e701b2dc564b469a6