Katalog CVE

CVE-2026-92492

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku cpufreq/amd-pstate funkcje amd_pstate_power_supply_notifier() i amd_pstate_profile_set() nie obsługują przypadku, gdy cpufreq_cpu_get() zwraca NULL. Może to prowadzić do NULL pointer dereference przy wyścigu z hotplug CPU lub niszczeniem sterownika.

Ocena ryzyka

Wyścig między dynamicznymi ścieżkami EPP a hotplug CPU lub niszczeniem sterownika może spowodować NULL pointer dereference i awarię jądra.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która zwraca NOTIFY_OK z notyfikatora zasilania i -ENODEV z amd_pstate_profile_set() w przypadku braku polityki CPU.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS