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 2D36F26560A for ; Thu, 4 Dec 2025 15:32:32 +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=1764862353; cv=none; b=rzcd0AZHYAEtknsua+dS+RkYpMM94pY/jsBs8vuCVVomKUebsijRJKPnRypdfLa01bhbfIQZU3We0XOOiJphNKcTn5ZtIsKzcQfqLHeAsC2UVsXQc4VIq2VmCEE7+hoWd2nEU3xuUHFiaO6fQaLkl/G/HkU9ZMNBTkSIR3TOLLE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764862353; c=relaxed/simple; bh=1I5+KmvN2VPH0tDh4l9SOv/M4xyp/u8F/TrtbhL+BIU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bQyo2hWKQHZ6vtp9nrQkrxVhQKN8oem6pTnIeaOxhmRMzv1lxNLEnlyBQ+gTQ7wsGMObrN6F8g1n44L7wZTA6DWYtCai1P2L/V1vQKRXdpniE+58RBwvtwXQ9uqlOEIY15qiPVDtVbC/Tg3y/t6VaxgYMBKpl/hurdLnOlkgqeQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=O4tlZFqN; 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="O4tlZFqN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37B93C4CEFB; Thu, 4 Dec 2025 15:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764862352; bh=1I5+KmvN2VPH0tDh4l9SOv/M4xyp/u8F/TrtbhL+BIU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=O4tlZFqNA/h2GUnuOp5wDEc50ySMjp+CxfHteI2BEJag2UvsKvlpjHlc5FGVi5vty 1zhIlT/nxkZ+yudfjFxNCgOc+mfnGdovieYWsqVzhAiLu3bNxHzARevsybT45cn8Mu aDCSDwqTUW8mWWTa8MiSEVgNNNQ5p3Vk3ylK8UBg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40236: virtio-net: zero unused hash fields Date: Thu, 4 Dec 2025 16:32:11 +0100 Message-ID: <2025120402-CVE-2025-40236-617c@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1978; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xEF+NztDoj4ofSCC/Lhk06AYU3HygV2kvgPu7sv3adA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmGK4vsjFf+TVFW/JkcKsZ8bsUTjTumPhd/OvnUXEqZ1 mcSeex0RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkci7DgqvBvhVt1gcuXv7l nyhRLb3L137pIYb54Qz/bQv1viZsPdTBw/knXjQoulcMAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: virtio-net: zero unused hash fields When GSO tunnel is negotiated virtio_net_hdr_tnl_from_skb() tries to initialize the tunnel metadata but forget to zero unused rxhash fields. This may leak information to another side. Fixing this by zeroing the unused hash fields. The Linux kernel CVE team has assigned CVE-2025-40236 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit a2fb4bc4e2a6a031683910d85b278c1d25ae5420 and fixed in 6.17.6 with commit b625d231c66a6041e98817ffc944bf6e4c45b2e3 Issue introduced in 6.17 with commit a2fb4bc4e2a6a031683910d85b278c1d25ae5420 and fixed in 6.18 with commit b2284768c6b32aa224ca7d0ef0741beb434f03aa 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-2025-40236 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: include/linux/virtio_net.h 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/b625d231c66a6041e98817ffc944bf6e4c45b2e3 https://git.kernel.org/stable/c/b2284768c6b32aa224ca7d0ef0741beb434f03aa