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 738AC1D2202 for ; Tue, 19 Nov 2024 17:45:40 +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=1732038340; cv=none; b=OaxVslyEcSdPAHHE28ts4SHtdCzOcLQB0yPg6RflpKA8Zv6PWS9G6bV5c4Su/8A3U9lWz6zaYPvNsVBs2SKzsUq6EdLXfb8AyWwci58UVoZQyQQ2dQeBckeLQuLzkF+waQZN6VjLUe7tlMSnXAq11PKiLhnAca++Xdxvz8b9BIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732038340; c=relaxed/simple; bh=2ZreL0HAv49x1ssr8SzlzmjthhcoXWpZ7GNY6fcUaDo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IplBzHtYL60E45O8366XASA0EjfC4OKWvT/2w2pes9Bfdmg/Ionn1rt1EUpES12HgHQfuAWTKeuba0uA9gd3GkE4VITf640IxO1Bq7Wz7bQdOKFklSmmc+fk1cwStQlOT01KMjpGibjMo38iHdczGDFiCcTQfK6PSGiHCSsFSPo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vgyzCUWy; 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="vgyzCUWy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDA69C4CECF; Tue, 19 Nov 2024 17:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732038340; bh=2ZreL0HAv49x1ssr8SzlzmjthhcoXWpZ7GNY6fcUaDo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vgyzCUWyPMSjl/SwgExtnsWzQMuX5YZg8lmm//Xeor6qgi37KIRfxeOJwb5wo+6OV SYB3dKP0VNaqoPNCyU/jVPULDfYw+78rDAaVuD9tOSlLTt+UHfYbVfWR+1kKd8wXh/ XqDvwqY/KDT8d1VuB+RB2ICmnKt6urlsSDIjFJUc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53082: virtio_net: Add hash_key_length check Date: Tue, 19 Nov 2024 18:45:02 +0100 Message-ID: <2024111904-CVE-2024-53082-30c0@gregkh> X-Mailer: git-send-email 2.47.0 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=2096; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2ZreL0HAv49x1ssr8SzlzmjthhcoXWpZ7GNY6fcUaDo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk25xaE2U2wO/7ghdTC7+GiBYUXf6cd2rLO/1qUwrX77 +9vtFxl2xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATmejCsKBh+4Hz20pc7A79 WvzK6dva3eYezq8ZFmyuu1S28I3taRnm3fu7zjpePsQ14RMA 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: virtio_net: Add hash_key_length check Add hash_key_length check in virtnet_probe() to avoid possible out of bound errors when setting/reading the hash key. The Linux kernel CVE team has assigned CVE-2024-53082 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit c7114b1249fa and fixed in 6.1.117 with commit f3401e3c8d33 Issue introduced in 5.18 with commit c7114b1249fa and fixed in 6.6.61 with commit af0aa8aecbe8 Issue introduced in 5.18 with commit c7114b1249fa and fixed in 6.11.8 with commit 6a18a783b1fa Issue introduced in 5.18 with commit c7114b1249fa and fixed in 6.12 with commit 3f7d9c1964fc 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-53082 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/virtio_net.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/f3401e3c8d339ddb6ccb2e3d11ad634b7846a806 https://git.kernel.org/stable/c/af0aa8aecbe8985079232902894cc4cb62795691 https://git.kernel.org/stable/c/6a18a783b1fa590ad1ed785907263e4b86adcfe2 https://git.kernel.org/stable/c/3f7d9c1964fcd16d02a8a9d4fd6f6cb60c4cc530