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 745421C860C for ; Wed, 16 Apr 2025 14:18:18 +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=1744813101; cv=none; b=U16av4VLJpIJHaEeY+RW6LrAl6R+snsCVqIHmv4g4J14oP6Pe+v8BIou3axXWvh7r+Ad/4j3yTlY6ihCWWTrHyqp+P/RS+RQvV9S1kCUuzJwfFOQVi2pMhXra3x1ubRNCJSrlIP+a8uY1L5m7/fvfSBbwbMvy+F0rMj5D3sQhdI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744813101; c=relaxed/simple; bh=xNnrXM+ViZ2CYPov5+/TK8Yump+Ld///6G91nBFMjT8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TurQuFLerXc9InarXDyf6MrPJqdbnDojozrshGbEH9G036vdx0R8szOYzcidpZyfZjn/bU8Jk7WBUqtW2VG8Hg0YV2rALHt/Gq4fUkpMLAMy8gOwH/nZXAdiAHjKvESh4O9fDJm/wYzk5jc8DZH+QdNkszZ49IcIiydIdJJL9Wk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zIZ1jeZw; 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="zIZ1jeZw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75E1DC4CEE2; Wed, 16 Apr 2025 14:18:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744813097; bh=xNnrXM+ViZ2CYPov5+/TK8Yump+Ld///6G91nBFMjT8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zIZ1jeZwEruVrk2NfIFHr5lelWQ56tjQZ/Bpx7jEs545EwmgueG1p2tzCxmg7mwt8 kMRw1JJiYTuD1REE3OFHDfSL9GsgaJpPMBCQTUHXogWozGKpoBm95tlVOV+3esRDHy 1keWtfDYX/UrrKUoRpReiDHv9CVp0u2922bZwq/A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22117: ice: fix using untrusted value of pkt_len in ice_vc_fdir_parse_raw() Date: Wed, 16 Apr 2025 16:13:28 +0200 Message-ID: <2025041626-CVE-2025-22117-2d76@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=1970; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xNnrXM+ViZ2CYPov5+/TK8Yump+Ld///6G91nBFMjT8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d53y/83Q8KudufvkeYblp0qjLgSHy6kvcsl52X9t9 rcsSV+fjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIhSrDbLboqzL9mcXTMt75 nmaxu7fJ2esVN8OCw52GZrlN+z/+mOBjUfiv8t9TDbmZAA== 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: ice: fix using untrusted value of pkt_len in ice_vc_fdir_parse_raw() Fix using the untrusted value of proto->raw.pkt_len in function ice_vc_fdir_parse_raw() by verifying if it does not exceed the VIRTCHNL_MAX_SIZE_RAW_PACKET value. The Linux kernel CVE team has assigned CVE-2025-22117 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 99f419df8a5c5e1a58822203989f77712d01d410 and fixed in 6.14.2 with commit 362f704ba73a359db9cded567e891d9a8f081875 Issue introduced in 6.12 with commit 99f419df8a5c5e1a58822203989f77712d01d410 and fixed in 6.15-rc1 with commit 1388dd564183a5a18ec4a966748037736b5653c5 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-22117 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/362f704ba73a359db9cded567e891d9a8f081875 https://git.kernel.org/stable/c/1388dd564183a5a18ec4a966748037736b5653c5