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 E1EF325C83D for ; Tue, 20 May 2025 15:22:58 +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=1747754579; cv=none; b=WRXihzUNnZdLUV3vKMj7wRlIF8LNj2JWUi5wkMHRvHX6utedEgUNSkupBaP45rKb8rvybjMIh1ty9zqnWo3Zu38+Rzqg5Mwqkpwrta3ZZgrgk+zkKtcahVaYisNHdVheE35Lmads0d14FpeyoOJUGLsyHdx1S1zyRYqolMesniA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747754579; c=relaxed/simple; bh=cafpTYsGuojpwMM7a1kT8qz2qFazr7iKoi3LMiZgc7s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ajhgi5A4fOjruIe7bxYtVkc+I1LwPDglie/ery32DO2dBZ7r8MXP7GpKGmUNWuTXQmN/6wzz8mJCw2cSvrU97K2lqbgHytuNrugozIvbN69yOY65EJF5jW7sMGimvkgUWZJ/so3VKHg4DB50cUCe53ttP2Xr5AFMEWwbFRgIVt4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aSCAmzVB; 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="aSCAmzVB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEE63C4CEE9; Tue, 20 May 2025 15:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747754578; bh=cafpTYsGuojpwMM7a1kT8qz2qFazr7iKoi3LMiZgc7s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=aSCAmzVBXPkMipKrsJ0LJ8VweqKHzNdbGMKTt55AmtA20XjujM45r4uoyELczM4+K 7sVE/kRCYB5zXBANAU0PfrDDdK6K8Dk8CMDkQDh8wIhNLg8B317j6ggDCx6Nl9ggd1 fFCOsiU9Yhca2OeOYFrenRLVbyoLF4OPrjmJPPiU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37912: ice: Check VF VSI Pointer Value in ice_vc_add_fdir_fltr() Date: Tue, 20 May 2025 17:22:09 +0200 Message-ID: <2025052059-CVE-2025-37912-2b82@gregkh> X-Mailer: git-send-email 2.49.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=2985; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dzUkmdCte8CZbT3YBVIWIviGPfqI7/aELexHOxrsB/o=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk688TTJ7n4/FtsHfTl6B+ZoOXLs3d82//Eed5e/5KuK xxLNTbM64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJyAszzK+0vSXb/9r004/5 6TM79OeuY7pzq5FhwdLr91XSRb/MfTR7ge4CdrZk7cZ1fgA= 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: ice: Check VF VSI Pointer Value in ice_vc_add_fdir_fltr() As mentioned in the commit baeb705fd6a7 ("ice: always check VF VSI pointer values"), we need to perform a null pointer check on the return value of ice_get_vf_vsi() before using it. The Linux kernel CVE team has assigned CVE-2025-37912 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.172 with commit e81b674ead8e2172b2a69e7b45e079239ace4dbc and fixed in 5.15.182 with commit a32dcc3b8293600ddc4024731b4d027d4de061a4 Issue introduced in 6.1.103 with commit 8e02cd98a6e24389d476e28436d41e620ed8e559 and fixed in 6.1.138 with commit 0561f2e374c3732b90e50f0a244791a4308ec67e Issue introduced in 6.6.44 with commit d62389073a5b937413e2d1bc1da06ccff5103c0c and fixed in 6.6.90 with commit eae60cfe25d022d7f0321dba4cc23ad8e87ade48 Issue introduced in 6.11 with commit 6ebbe97a488179f5dc85f2f1e0c89b486e99ee97 and fixed in 6.12.28 with commit 073791e9cfe6e4a11a6d85816ba87b1aa207493e Issue introduced in 6.11 with commit 6ebbe97a488179f5dc85f2f1e0c89b486e99ee97 and fixed in 6.14.6 with commit f68237982dc012230550f4ecf7ce286a9c37ddc9 Issue introduced in 6.11 with commit 6ebbe97a488179f5dc85f2f1e0c89b486e99ee97 and fixed in 6.15-rc5 with commit 425c5f266b2edeee0ce16fedd8466410cdcfcfe3 Issue introduced in 6.10.3 with commit 292081c4e7f575a79017d5cbe1a0ec042783976f 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-37912 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/intel/ice/ice_virtchnl_fdir.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/a32dcc3b8293600ddc4024731b4d027d4de061a4 https://git.kernel.org/stable/c/0561f2e374c3732b90e50f0a244791a4308ec67e https://git.kernel.org/stable/c/eae60cfe25d022d7f0321dba4cc23ad8e87ade48 https://git.kernel.org/stable/c/073791e9cfe6e4a11a6d85816ba87b1aa207493e https://git.kernel.org/stable/c/f68237982dc012230550f4ecf7ce286a9c37ddc9 https://git.kernel.org/stable/c/425c5f266b2edeee0ce16fedd8466410cdcfcfe3