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 D0AF11DE3B7 for ; Wed, 16 Apr 2025 14:18:24 +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=1744813104; cv=none; b=sBdyeNm2djMJ7fmdZZe3mTWN1fdXsHXg2HfmgPEYkM/BeRKWZ3+qTPEI4e5GCUnMdX5PrWS1lzXpumnTVVetZmF7M/ercZoXbNtyYNVR5bgfohP10mudDdEsnU/uRsdObdeFnlHZy426W9F3+noJatHWb31X9MuspOGGeXgs7U0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744813104; c=relaxed/simple; bh=OLIrdRE0OHdmgtrbs9QrQk5nYePqJ8kJ569BR9OFG98=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P/Z/8BbDBvKXuzZuGZoXGIdZdOA+eb7Ug8SPz4x6sPOMcWoh23yo7szG8i+WyNXPLpvKh8i2cOxcRkZAgD+/rjuGZWWGmiVRoiS+QuoAeeiT9LMc53OO1fS3YC72vhOPj43hnVvJVm0uCaFEW4EYqYSGLZ4D+uyp5iQferC0Pjc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KXjuXbk0; 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="KXjuXbk0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB2FCC4CEE2; Wed, 16 Apr 2025 14:18:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744813104; bh=OLIrdRE0OHdmgtrbs9QrQk5nYePqJ8kJ569BR9OFG98=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KXjuXbk0KuVJ9IHogEixALU+W7qMc+DjJHolNtZBcW7yWd1diYZKbPKVyPckjEdIQ Xkaz1OHvJepGtsjYaxJT0w6eiXkTA35tYbWSSD6jR9kXdscZIrp8So26JflsJOkdv8 1gzlO7NGVEWVfXGxkiWrEHK2CsBbr60mAXfGcw/g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22118: ice: validate queue quanta parameters to prevent OOB access Date: Wed, 16 Apr 2025 16:13:29 +0200 Message-ID: <2025041627-CVE-2025-22118-6ba3@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=1922; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OLIrdRE0OHdmgtrbs9QrQk5nYePqJ8kJ569BR9OFG98=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d53er7iWO5p5ivuSpFcnzQ9ckuhMWR1Tzjnp9y+BY ys1E0OjO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi+gEMC3axayyf4VBWfu+M ncnlia/ZdoSL9jMsOFBXUnVwfglrsPMcUdPb3yXPFph/BgA= 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: validate queue quanta parameters to prevent OOB access Add queue wraparound prevention in quanta configuration. Ensure end_qid does not overflow by validating start_qid and num_queues. The Linux kernel CVE team has assigned CVE-2025-22118 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 015307754a19832dd665295f6c123289b0f37ba6 and fixed in 6.14.2 with commit 4161cf3f4c11006507f4e02bedc048a215a4b81a Issue introduced in 6.13 with commit 015307754a19832dd665295f6c123289b0f37ba6 and fixed in 6.15-rc1 with commit e2f7d3f7331b92cb820da23e8c45133305da1e63 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-22118 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.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/4161cf3f4c11006507f4e02bedc048a215a4b81a https://git.kernel.org/stable/c/e2f7d3f7331b92cb820da23e8c45133305da1e63