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 85D372441A0 for ; Fri, 22 Aug 2025 16:04:29 +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=1755878669; cv=none; b=trgdqShG5nijxYuf+oSF6GWo2eVaeQ3M32Dr+sMiQawMSfrtzk/G0QvswZ1b0x3skcR6tih296PXA6gIeUwOiEcZT6SL+O2IYfmAq6eSPXsLhWBDklydmxACZpdHYw/vZQHjLXepNAKvwANc6vj5DhyXvhhFbplcl0AwJ1yD8DY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755878669; c=relaxed/simple; bh=ZLPHxUpCao9PqpxxkYAwx+HVY3tdNfNE9WX6RQ6Sbl8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s5jBJiwknquetxzAzYH/mmwjaNzd1EyLNCZk+8UM6Ip6/+pBdSbuTAumexAjSywsgoZWDPo64mUsMeCTHXRQg7cPdACbOyVpemgJjY8TvGW3XANuleaUFU+2hP/UtCBnWbvW9ww0C442bOzacWvbCSu4Vwtvy4dL7Fcfd0o6t50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NFl7kLb/; 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="NFl7kLb/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84986C4CEED; Fri, 22 Aug 2025 16:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755878669; bh=ZLPHxUpCao9PqpxxkYAwx+HVY3tdNfNE9WX6RQ6Sbl8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NFl7kLb/g1NBtKx9iZzcKY0mRQ+IvUxoWSypFh9gcROCq2/c7nOUr7nX67uiOySZO lSZcOqYDEa9z4efgvADKcPmbo6+iPgawHYe6es3spPGKdjCpFo5HRM5RJE4xyDpYqt +UX+3JSCE+rRdEt3FWXhI4Bn7w8o7R9BH3Rjoyqs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38664: ice: Fix a null pointer dereference in ice_copy_and_init_pkg() Date: Fri, 22 Aug 2025 18:03:01 +0200 Message-ID: <2025082259-CVE-2025-38664-c428@gregkh> X-Mailer: git-send-email 2.50.1 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=2564; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=52NK3wl1OiERyJO88DOrkVTHemhxqS8dsSXmKK3Ktlc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkrpmw+f9nmat2yLyKpH3keV09y+DlBKyjp8u+Vt9QCG IV1Mt8/74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ8DxhWNCdyOLiG3T8oN2E 3Xmlu3aq8j99+4NhwVRBt17bZRsU+i7VHF+/0eRUd2J8JgA= 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: Fix a null pointer dereference in ice_copy_and_init_pkg() Add check for the return value of devm_kmemdup() to prevent potential null pointer dereference. The Linux kernel CVE team has assigned CVE-2025-38664 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit c7648810961682b9388be2dd041df06915647445 and fixed in 6.1.148 with commit 1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b Issue introduced in 5.4 with commit c7648810961682b9388be2dd041df06915647445 and fixed in 6.6.101 with commit 3028f2a4e746b499043bbb8ab816f975473a0535 Issue introduced in 5.4 with commit c7648810961682b9388be2dd041df06915647445 and fixed in 6.12.41 with commit 0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7 Issue introduced in 5.4 with commit c7648810961682b9388be2dd041df06915647445 and fixed in 6.15.9 with commit 6d640a8ea62435a7f6f89869bee4fa99423d07ca Issue introduced in 5.4 with commit c7648810961682b9388be2dd041df06915647445 and fixed in 6.16 with commit 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36 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-38664 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_ddp.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/1c30093d58cd3d02d8358e2b1f4a06a0aae0bf5b https://git.kernel.org/stable/c/3028f2a4e746b499043bbb8ab816f975473a0535 https://git.kernel.org/stable/c/0fde7dccbf4c8a6d7940ecaf4c3d80a12f405dd7 https://git.kernel.org/stable/c/6d640a8ea62435a7f6f89869bee4fa99423d07ca https://git.kernel.org/stable/c/4ff12d82dac119b4b99b5a78b5af3bf2474c0a36