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 44500155300 for ; Wed, 16 Apr 2025 14:19:47 +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=1744813187; cv=none; b=rdss49og/WOqPfz8GZDGWu/rHwb7NOEJyaSadI4iQhVfzbX5zJNowMXKX7cq1wpqECKoL0M+saQCvjNwl56DiErhw8TZ865PnxZ4QqhPiXblYW/RHnHxdb9dpAkL4XWxBS3v1YKLwpO21TY6qdu0CCX9wcMb5lf/VhssC/u/EEI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744813187; c=relaxed/simple; bh=JPQWq7WLvhMg+AE9Fx+zLUVzDmLcK+KgX5EQAjQFyP4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hEOnicJexHzlAU+SWNgPKZsDEkJHiGcYHK6JGEMEIz9/T3NLqKkkvX80AkGSfRqb+oLasXktjyNB68kjYIILZg7U0N0qdWhBaozVYwMSKoILugc+j+xHlzmyPy8VhqGkJcdCnPO/nmtYBnNHAQuEnEoXipSfRqQqUey7OJ1v+t0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eTf5lRZC; 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="eTf5lRZC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A51BAC4CEE4; Wed, 16 Apr 2025 14:19:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744813187; bh=JPQWq7WLvhMg+AE9Fx+zLUVzDmLcK+KgX5EQAjQFyP4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=eTf5lRZCn9BxlOE9ja2/1olY155Cypvf5bH8qHsnH2wYUdhoUoE83gsPczZG9IaxJ BhSrHQyyxntyBDck1MpQ62fhIBMUSeZrvgTCJP61e7NWbj5t/s5+ffVBE5Zws5zpGM 7kT6xaAWjqP7wxbprQhQ25LD7DmDc9jx/3tXy5aM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-23137: cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update Date: Wed, 16 Apr 2025 16:13:48 +0200 Message-ID: <2025041633-CVE-2025-23137-6c92@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=1852; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JPQWq7WLvhMg+AE9Fx+zLUVzDmLcK+KgX5EQAjQFyP4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d10Mlw86uifyYhnT1q2P0zSlHvY3mcS3dX2qP8r8U 38nf7VfRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzklyTD/GSJ0h8v33PXH/Xy 3uy/LnI1Y54TC8P8nP4ts2Z/37tx423RwJcr/M0M9KpfAgA= 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: cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update Check if policy is NULL before dereferencing it in amd_pstate_update. The Linux kernel CVE team has assigned CVE-2025-23137 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit e8f555daacd3377bf691fdda2490c0b164e00085 and fixed in 6.14.2 with commit b99c1c63d88c75a4dc5487c3696cda38697b8d35 Issue introduced in 6.11 with commit e8f555daacd3377bf691fdda2490c0b164e00085 and fixed in 6.15-rc1 with commit 426db24d4db2e4f0d6720aeb7795eafcb9e82640 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-23137 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/cpufreq/amd-pstate.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/b99c1c63d88c75a4dc5487c3696cda38697b8d35 https://git.kernel.org/stable/c/426db24d4db2e4f0d6720aeb7795eafcb9e82640