Not scored
cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request()
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request() The cpufreq_cpu_put() call in update_qos_request() takes place too early because the latter subsequently calls freq_qos_update_request() that indirectly accesses the policy object in question through the QoS request object passed to it. Fortunately, update_qos_request() is called under intel_pstate_driver_lock, so this issue does not matter for changing the intel_pstate operation mode, but it theoretically can cause a crash to occur on CPU device hot removal (which currently can only happen in virt, but it is formally supported nevertheless). Address this issue by modifying update_qos_request() to drop the reference to the policy later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from da5c504c7aae96db68c4b38e2564a88e91842d89 before 15ac9579ebdaf22a37d7f60b3a8efc1029732ef9, from da5c504c7aae96db68c4b38e2564a88e91842d89 before bc26564bcc659beb6d977cd6eb394041ec2f2851, from da5c504c7aae96db68c4b38e2564a88e91842d89 before ad4e8f9bdbef11a19b7cb93e7f313bf59bdcc3b4, from da5c504c7aae96db68c4b38e2564a88e91842d89 before 0a58d3e77b22b087a57831c87cafd360e144a5bd, from da5c504c7aae96db68c4b38e2564a88e91842d89 before 69a18ff6c60e8e113420f15355fad862cb45d38e, from da5c504c7aae96db68c4b38e2564a88e91842d89 before ba63d4e9857a72a89e71a4eff9f2cc8c283e94c3, from da5c504c7aae96db68c4b38e2564a88e91842d89 before 57e4a6aadf12578b96a038373cffd54b3a58b092, from da5c504c7aae96db68c4b38e2564a88e91842d89 before 69e5d50fcf4093fb3f9f41c4f931f12c2ca8c467 and 1 more Not affected: before 5.4, from 5.4.301 up to 5.4.*, from 5.10.246 up to 5.10.*, from 5.15.195 up to 5.15.*, from 6.1.157 up to 6.1.*, from 6.6.113 up to 6.6.* | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request() The cpufreq_cpu_put() call in update_qos_request() takes place too early because the latter subsequently calls freq_qos_update_request() that indirectly accesses the policy object in question through the QoS request object passed to it. Fortunately, update_qos_request() is called under intel_pstate_driver_lock, so this issue does not matter for changing the intel_pstate operation mode, but it theoretically can cause a crash to occur on CPU device hot removal (which currently can only happen in virt, but it is formally supported nevertheless). Address this issue by modifying update_qos_request() to drop the reference to the policy later.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: cpufreq: intel_pstate: Corrección de un problema de ciclo de vida del objeto en update_qos_request() La llamada a cpufreq_cpu_put() en update_qos_request() tiene lugar demasiado pronto porque esta última posteriormente llama a freq_qos_update_request() que accede indirectamente al objeto de política en cuestión a través del objeto de solicitud de QoS que se le pasa. Afortunadamente, update_qos_request() es llamada bajo intel_pstate_driver_lock, por lo que este problema no importa para cambiar el modo de operación de intel_pstate, pero teóricamente puede causar un fallo en la extracción en caliente de un dispositivo de CPU (lo cual actualmente solo puede ocurrir en entornos virtuales, pero está formalmente soportado de todos modos). Se aborda este problema modificando update_qos_request() para liberar la referencia a la política más tarde.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40194 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-40194 changed 2026-10-19 | Public domain |