Skip to contentSkip to conversation

CVE-2026-92493: cpufreq: amd-pstate-ut: Skip tests when amd-pstate driver is not active

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: amd-pstate-ut: Skip tests when amd-pstate driver is not active

The crash issue may occur when modprobe amd_pstate_ut on intel platform.

   amd_pstate_ut: 1    amd_pstate_ut_acpi_cpc_valid  success!
   amd_pstate_ut: 2    amd_pstate_ut_check_enabled   success!
   BUG: kernel NULL pointer dereference, address: 0000000000000080
   #PF: supervisor read access in kernel mode
   #PF: error_code(0x0000) - not-present page
   PGD 0 P4D 0
   Oops: 0000 [#1] SMP NOPTI
   CPU: 0 PID: 20300 Comm: modprobe
   Kdump: loaded Tainted: G O 6.6.0-0010.rc1.ctl4.x86_64 #1
   Hardware name: FiberHome R2200 V5/Xeon Boards, BIOS 3.1a 02/24/2020
   RIP: 0010:amd_pstate_ut_check_perf+0x141/0x280 [amd_pstate_ut]
   Call Trace:
    <TASK>
    amd_pstate_ut_init+0x1b/0xff0 [amd_pstate_ut]
    ? __pfx_amd_pstate_ut_init+0x10/0x10 [amd_pstate_ut]
    do_one_initcall+0x42/0x2e0
    ? kmalloc_trace+0x26/0x90
    do_init_module+0x60/0x240
    __se_sys_init_module+0x185/0x1c0
    do_syscall_64+0x62/0x190
    entry_SYSCALL_64_after_hwframe+0x76/0x7e
    </TASK>

Add state detection to amd pstate driver to prevent amd_pstate_ut driver from testing on non-AMD platforms.

(ML: adjust title)

The Linux kernel CVE team has assigned CVE-2026-92493 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.1 with commit 14eb1c96e3a3fd9cd377ac9af3c7a410f8bf1015 and fixed in 6.18.52 with commit baf5a7fd3f3e2f4297b42b249f4f4f63214f44c0
	Issue introduced in 6.1 with commit 14eb1c96e3a3fd9cd377ac9af3c7a410f8bf1015 and fixed in 7.2.6 with commit ba6ce23d17db3d114adf13909a9002f1eedcf183
	Issue introduced in 6.1 with commit 14eb1c96e3a3fd9cd377ac9af3c7a410f8bf1015 and fixed in 7.3-rc1 with commit 8d31bb1451643f328db0cea0e21e63ef54b4faf2

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-92493

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-ut.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/baf5a7fd3f3e2f4297b42b249f4f4f63214f44c0
	https://git.kernel.org/stable/c/ba6ce23d17db3d114adf13909a9002f1eedcf183
	https://git.kernel.org/stable/c/8d31bb1451643f328db0cea0e21e63ef54b4faf2