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 2BF35271479 for ; Thu, 4 Sep 2025 15:34: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=1757000059; cv=none; b=odrrhQhEmz6r/ooJG60n9QIMyvmccCGGx8BUdShFXH6qfsPS2Whc+30d8I/+SePnSiB4zAS6yJP2f4UJGIU4ZpLVKeorju0JuRMrYn7Q9uX99z/PBXTFQIgG9Y3Bl15IOHHLawgCaXz9Mlv7SdybJQ+lyF+XzMm79a4d3WFKJAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757000059; c=relaxed/simple; bh=pgkRWge0GxmvCmePTVYZ4zQi2FybLV+CSbiPS3OqUmQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nGEvFVf3ti0B5ZE+yiFY5D4C6qJdXqg/v5dC7m963DKcJ5Xy4gyjgl8XECZYrWXLBiJus1h1ghkbEZyOipkbNDUI5p4lGrnT2kvh0zj2cGXLn2RGvchlNpJ17ijN4JMse6KJxNw84L84yZcNvF3neaqJ4cxUk5JuudwrASYi4uc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MDB7dLDd; 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="MDB7dLDd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5854BC4CEF0; Thu, 4 Sep 2025 15:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757000058; bh=pgkRWge0GxmvCmePTVYZ4zQi2FybLV+CSbiPS3OqUmQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MDB7dLDdn+pHq4NtOTNbJ68Eg99xq/SCRQ2TOWG9NOTo2mxk8gOeuttDSKgwqfCnn zq812DN+Ll7y4jmRG4GKFkfhKdWg5XiRgfExU6CaEmUxpmpyPKxOzurFHeVWetSL2o ZOzOTxvcyYyDeI00UQn4k61ZX9gdWzwZDuYR7e54= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38705: drm/amd/pm: fix null pointer access Date: Thu, 4 Sep 2025 17:33:10 +0200 Message-ID: <2025090454-CVE-2025-38705-7cd6@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=2068; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NF4rX0eM+cLOay0mQlJRd1o2D6Qh4pGEw95moCAGpJU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk7N6pV3puklxRymf0Y7/xAr1WM37f3HTp99XDuv5kpN 3wPMke2d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELKMZFqx/0RIYE3xvefi1 jK/2JxWTWk+lbmeY76XP5rDW/XDjoWdb834VzPP1TWC+CwA= 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: drm/amd/pm: fix null pointer access Writing a string without delimiters (' ', '\n', '\0') to the under gpu_od/fan_ctrl sysfs or pp_power_profile_mode for the CUSTOM profile will result in a null pointer dereference. The Linux kernel CVE team has assigned CVE-2025-38705 to this issue. Affected and fixed versions =========================== Fixed in 6.12.43 with commit a83ffafd02a7af59848755c109d544e3894af737 Fixed in 6.15.11 with commit 5d8cc029e5595760c7d18c64632e8e40a86a9b2e Fixed in 6.16.2 with commit cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a Fixed in 6.17-rc1 with commit d524d40e3a6152a3ea1125af729f8cd8ca65efde 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-38705 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/gpu/drm/amd/pm/amdgpu_pm.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/a83ffafd02a7af59848755c109d544e3894af737 https://git.kernel.org/stable/c/5d8cc029e5595760c7d18c64632e8e40a86a9b2e https://git.kernel.org/stable/c/cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a https://git.kernel.org/stable/c/d524d40e3a6152a3ea1125af729f8cd8ca65efde