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 3AE252D63F1 for ; Fri, 4 Jul 2025 13:42:49 +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=1751636570; cv=none; b=i0DZ9n3Xj8S3qI22GcWG6H+3c45x45sRI5H6qCcX/Vtv3lXVv1ygL2EVFmPXkj9euN0PN+8OiyMEAYb+E+SqhiEKGyU95ytjdovxyztpoBcWdFAMUfg+ad7HhqJnzeK7V5KOJ4WJEGCgNCIo2zbsDHtK6IePVF92FbrK1qA6eB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751636570; c=relaxed/simple; bh=gi/qszosuw+8bMzJw02EADUvI7w0UbS99nYwSA3OOvI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cBrq9cRyA6nWV7UGIU8ikZryqWYGbwZXEK+7QFIUpDE6hMN9Xg5AnHEa6rQTVrdVZhE7DTqiCzoqk/lh4UOaEf4o9scG4ACorlAJPtnuNS5pbLj7zCfZd83kErwcBeXcjLmSjbskUAXQTfx8nSXp0Z5aga6zTZ80xPI2IpiwKaI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=epk/9Bwg; 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="epk/9Bwg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 669AEC4CEE3; Fri, 4 Jul 2025 13:42:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751636569; bh=gi/qszosuw+8bMzJw02EADUvI7w0UbS99nYwSA3OOvI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=epk/9Bwg/0weoIVrygvp2czIFnPzzjpMoJi2bR6H0Gmv7Q0Q6oEYKHQ8R7njzI5Wr MP0AWCBxKCV2/mhZzAPBhWnqI3tO8wmnFNsUbQ+4bm5CRz/Z/MiZPzzkTtXqVyUGRY kyb9M5D42qGyKFwle92M1zM2ZGt/0wD9CnU6nUSE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38200: i40e: fix MMIO write access to an invalid page in i40e_clear_hw Date: Fri, 4 Jul 2025 15:37:29 +0200 Message-ID: <2025070418-CVE-2025-38200-47d9@gregkh> X-Mailer: git-send-email 2.50.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=2712; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VsglDvipB0JjGxobvGg8O84qG6ym0N8KZ2zB9Kgc6G8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnpN/ma2fJ+/3EK6uzrucJ0MY1rOU+pecfaTpFfWdftD f0E1O92xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESmlTDMM65h8hWragx9durj vDuftVOfN3NNYJinx3+95LhsqsLyUMupV1YZxfLYFbgAAA== 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: i40e: fix MMIO write access to an invalid page in i40e_clear_hw When the device sends a specific input, an integer underflow can occur, leading to MMIO write access to an invalid page. Prevent the integer underflow by changing the type of related variables. The Linux kernel CVE team has assigned CVE-2025-38200 to this issue. Affected and fixed versions =========================== Fixed in 5.4.295 with commit 872607632c658d3739e4e7889e4f3c419ae2c193 Fixed in 5.10.239 with commit 5e75c9082987479e647c75ec8fdf18fa68263c42 Fixed in 5.15.186 with commit fecb2fc3fc10c95724407cc45ea35af4a65cdde2 Fixed in 6.1.142 with commit d88a1e8f024ba26e19350958fecbf771a9960352 Fixed in 6.6.95 with commit 8cde755f56163281ec2c46b4ae8b61f532758a6f Fixed in 6.12.35 with commit 3502dd42f178dae9d54696013386bb52b4f2e655 Fixed in 6.15.4 with commit 2a1f4f2e36442a9bdf771acf6ee86f3cf876e5ca Fixed in 6.16-rc1 with commit 015bac5daca978448f2671478c553ce1f300c21e 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-38200 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/i40e/i40e_common.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/872607632c658d3739e4e7889e4f3c419ae2c193 https://git.kernel.org/stable/c/5e75c9082987479e647c75ec8fdf18fa68263c42 https://git.kernel.org/stable/c/fecb2fc3fc10c95724407cc45ea35af4a65cdde2 https://git.kernel.org/stable/c/d88a1e8f024ba26e19350958fecbf771a9960352 https://git.kernel.org/stable/c/8cde755f56163281ec2c46b4ae8b61f532758a6f https://git.kernel.org/stable/c/3502dd42f178dae9d54696013386bb52b4f2e655 https://git.kernel.org/stable/c/2a1f4f2e36442a9bdf771acf6ee86f3cf876e5ca https://git.kernel.org/stable/c/015bac5daca978448f2671478c553ce1f300c21e