Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 8BDDB522683 for ; Thu, 17 Sep 2026 16:32:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662732; cv=none; b=qTO+Jmr4HLxP0AWHc3uKQ5ks7gv/e1GtwuSAIQcNBD1gTlbh5+Ft1M7xmMr96v/AP8XUOt8B2S6iOoKmPj+94KRe12so6ZV9Ob77hbOXXphDSYF3MT3aHSb8BxSY2A1skZYnuMRmp52fpFuR4DLrbduDi2bppmyoz5cC1WTU5ME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662732; c=relaxed/simple; bh=wSv4ZnCNoY+9cDhyI53Tw8UdxGSO0uvRT2+aBBT2gBo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rVISyxX3dggbVFIOz+opZPi84Oe5O4wtKf9DxdVXZf4D3UUjKwcbZQgA3zMArNIwp85Baz6JFx3ENHjMb0cvZ0Wh62YEsYwYpIs33T4ik0GibYQ/c4uhvRQMpxM41Y91Wlow4TDNOVXi7/KeT+OQL1sJd1HOIpOro/fqBmJ2yaU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NEMwVPVt; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NEMwVPVt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3FEA1F00893; Thu, 17 Sep 2026 16:32:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662730; bh=XZwAkLCYBClllZS7xBcwN8U/vJLD0vQabKGm5tZugvk=; h=From:To:Cc:Subject:Date:Reply-To; b=NEMwVPVtss+c78Knu0J97ll8hxqwOkTz8reTZlWO+GcoZ5SA8aptvY6rEAdR1hXqA PscdweccfasflHDhiBCwqvBte6NFlFAcbls3PmEhYXHLoY/aZjb1d9+j0JSsfOrXIo wxSMY4G8Lk7w1/W3F9/To7yCrqjqbaLmHURNrXvU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92492: cpufreq/amd-pstate: handle missing policy in dynamic EPP callbacks Date: Thu, 17 Sep 2026 17:14:42 +0100 Message-ID: <2026091725-CVE-2026-92492-7c1c@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2793; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=azigbXbL8nf1lc7Fr/evtJv8QGBej4/8zhJGQKD0YGc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBLZe/BA4Y3FZUuTF0pUfZloyJ3VdvH3x7rRmbaPQx XN4L7XP64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJrP7MsOCcIs+bnp4JR9OW Hmnv6prNZ8e6pZJhwZYoAbm8ihmaKfNUMqs8z/hcCq/kBgA= 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: cpufreq/amd-pstate: handle missing policy in dynamic EPP callbacks cpufreq_cpu_get() returns NULL when no cpufreq policy is associated with the requested CPU, for example because the CPU is offline or the policy has already been torn down. Both amd_pstate_power_supply_notifier() and amd_pstate_profile_set() acquire a policy via cpufreq_cpu_get() and then pass that pointer to amd_pstate_get_balanced_epp() and amd_pstate_set_epp(), which dereference it unconditionally. A racing CPU hotplug or driver teardown can therefore lead to a NULL pointer dereference on either of these dynamic EPP paths. The third cpufreq_cpu_get() caller in this file, amd_pstate_verify(), already handles the NULL case. Bring the two new callers in line with that pattern: return NOTIFY_OK from the power-supply notifier (matching the other "nothing to do" exits) and -ENODEV from amd_pstate_profile_set() (the usual cpufreq error for a missing CPU policy). Found by code inspection; not tested on hardware. The Linux kernel CVE team has assigned CVE-2026-92492 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit e30ca6dd5345c5b8ba05f346a8e81105352fe571 and fixed in 7.2.6 with commit f4ade8d224756ab69f108204dde6777bac4664e4 Issue introduced in 7.1 with commit e30ca6dd5345c5b8ba05f346a8e81105352fe571 and fixed in 7.3-rc1 with commit 39c0cf62fc7851a17782e7efe8dfb2948739c681 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-2026-92492 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/70c8c8b50d80f681f50ddcc66a9400dd87508913 https://git.kernel.org/stable/c/f4ade8d224756ab69f108204dde6777bac4664e4 https://git.kernel.org/stable/c/39c0cf62fc7851a17782e7efe8dfb2948739c681