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 F11841DDA14 for ; Sun, 7 Sep 2025 15:16:34 +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=1757258195; cv=none; b=MHn89GBOkUxmd5SmKZV3aWePwU1FvKvatrzLGl+2/QUfNuXkwe1svanrPi0wTQuyyyVuHpMmPV5D8O3rzmEsB+iaauIFNs5E1wudhspi71iB5WEgFzgfSQjuiLDc08m5+g/JOsyJBcAtMJeQiX//TFKiriC3zy/peV5fV6AmPio= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757258195; c=relaxed/simple; bh=ZxawIT76ToSNRp0nrK6n/LbOOKGrEfyWMKpj63mpPpc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DyOKv98eCDhAO+kYPHsPCf7TUPwAPHmTKUeYEqT4uiEi7bFU58SMKwxkHL4wA2ezGdyZo/gHxUvg9kA4v8N1O9WLP0EwD70TF38SVwG4qhPAdXGFAgPr/Ha2fHsiVyExAO0VkKFMIg+h0DslmsRY1GXZPkpa6qhcgssLrAX4Yyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EhgBrQdP; 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="EhgBrQdP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FC3AC4CEF0; Sun, 7 Sep 2025 15:16:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757258194; bh=ZxawIT76ToSNRp0nrK6n/LbOOKGrEfyWMKpj63mpPpc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EhgBrQdPs93HkwMsh7+Yr9qMKyN8oIG6GdcsnbpXl9P5KBrs1nQYlfej3dv4A+54f af/TEkdRT24mCGgXFwU5E61SlRtniAYdyuB68Ty6DJi6X0DZ1U83PAhzsnvWiLYAZ8 UPmvkv0b5UfIT1jBPaYYO3A8agzFWalh/NBu+ros= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39729: crypto: ccp - Fix dereferencing uninitialized error pointer Date: Sun, 7 Sep 2025 17:16:30 +0200 Message-ID: <2025090730-CVE-2025-39729-14c4@gregkh> X-Mailer: git-send-email 2.51.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=1917; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DbD7HeWXnvIZwtlBl8+BTb5KSZeaY8LhzusRDt5OJfo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl7F54zEuFRcjgkcjnzzPlE6znXbNNm13ycaD97ygftr 5suHQ1b2RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATWV/CMM/6y5epHPuMXQUW 722ac2TltPLe778YFjSY1W85btu/tlRS8PK3jsXcLSsCzAE= 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: crypto: ccp - Fix dereferencing uninitialized error pointer Fix below smatch warnings: drivers/crypto/ccp/sev-dev.c:1312 __sev_platform_init_locked() error: we previously assumed 'error' could be null The Linux kernel CVE team has assigned CVE-2025-39729 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 9770b428b1a28360663f1f5e524ee458b4cf454b and fixed in 6.16.1 with commit 841634e1fdc2bdf35ab851fc279fd3bedcdf5e93 Issue introduced in 6.16 with commit 9770b428b1a28360663f1f5e524ee458b4cf454b and fixed in 6.17-rc1 with commit 0fa766726c091ff0ec7d26874f6e4724d23ecb0e 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-39729 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/crypto/ccp/sev-dev.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/841634e1fdc2bdf35ab851fc279fd3bedcdf5e93 https://git.kernel.org/stable/c/0fa766726c091ff0ec7d26874f6e4724d23ecb0e