CVE-2026-43401
JSON

5.5medium

cpufreq: intel_pstate: Fix NULL pointer dereference in update_cpu_qos_request()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 3% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: intel_pstate: Fix NULL pointer dereference in update_cpu_qos_request() The update_cpu_qos_request() function attempts to initialize the 'freq' variable by dereferencing 'cpudata' before verifying if the 'policy' is valid. This issue occurs on systems booted with the "nosmt" parameter, where all_cpu_data[cpu] is NULL for the SMT sibling threads. As a result, any call to update_qos_requests() will result in a NULL pointer dereference as the code will attempt to access pstate.turbo_freq using the NULL cpudata pointer. Also, pstate.turbo_freq may be updated by intel_pstate_get_hwp_cap() after initializing the 'freq' variable, so it is better to defer the 'freq' until intel_pstate_get_hwp_cap() has been called. Fix this by deferring the 'freq' assignment until after the policy and driver_data have been validated. [ rjw: Added one paragraph to the changelog ]

Affected

Product or packageVersionsReported by
Linux Linuxfrom ae1bdd23b99f64335c69d546bff99ca39b894c18 before 6bfda7ce56e7d14a677b7bcd6c7a5009cc29aa88, from ae1bdd23b99f64335c69d546bff99ca39b894c18 before 42738dffb7b0766a45882dff7989401d78f66f92, from ae1bdd23b99f64335c69d546bff99ca39b894c18 before ab39cc4cb8ceecdc2b61747433e7237f1ac2b789, 6.18
Not affected: before 6.18, from 6.18.19 up to 6.18.*, from 6.19.9 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.18 before 6.18.19, from 6.19 before 6.19.9, 7.0NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: cpufreq: intel_pstate: Fix NULL pointer dereference in update_cpu_qos_request() The update_cpu_qos_request() function attempts to initialize the 'freq' variable by dereferencing 'cpudata' before verifying if the 'policy' is valid. This issue occurs on systems booted with the "nosmt" parameter, where all_cpu_data[cpu] is NULL for the SMT sibling threads. As a result, any call to update_qos_requests() will result in a NULL pointer dereference as the code will attempt to access pstate.turbo_freq using the NULL cpudata pointer. Also, pstate.turbo_freq may be updated by intel_pstate_get_hwp_cap() after initializing the 'freq' variable, so it is better to defer the 'freq' until intel_pstate_get_hwp_cap() has been called. Fix this by deferring the 'freq' assignment until after the policy and driver_data have been validated. [ rjw: Added one paragraph to the changelog ]

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: cpufreq: intel_pstate: Corrección de desreferencia de puntero NULL en update_cpu_qos_request() La función update_cpu_qos_request() intenta inicializar la variable ’freq’ desreferenciando ’cpudata’ antes de verificar si la ’policy’ es válida. Este problema ocurre en sistemas arrancados con el parámetro “nosmt”, donde all_cpu_data[cpu] es NULL para los hilos hermanos SMT. Como resultado, cualquier llamada a update_qos_requests() resultará en una desreferencia de puntero NULL, ya que el código intentará acceder a pstate.turbo_freq usando el puntero cpudata NULL. Además, pstate.turbo_freq puede ser actualizado por intel_pstate_get_hwp_cap() después de inicializar la variable ’freq’, por lo que es mejor aplazar la ’freq’ hasta que intel_pstate_get_hwp_cap() haya sido llamada. Solucione esto aplazando la asignación de ’freq’ hasta después de que la policy y driver_data hayan sido validados. [ rjw: Se añadió un párrafo al registro de cambios ]

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43401 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-43401 changed 2026-11-11Public domain