cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request() (Linux Linux)

CVE-2025-40194
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected da5c504c7aae96db68c4b38e2564a88e91842d89 < 15ac9579ebdaf22a37d7f60b3a8efc1029732ef9 ; affected da5c504c7aae96db68c4b38e2564a88e91842d89 < bc26564bcc659beb6d977cd6eb394041ec2f2851 ; affected da5c504c7aae96db68c4b38e2564a88e91842d89 < ad4e8f9bdbef11a19b7cb93e7f313bf59bdcc3b4 ; affected da5c504c7aae96db68c4b38e2564a88e91842d89 < 0a58d3e77b22b087a57831c87cafd360e144a5bd ; affected da5c504c7aae96db68c4b38e2564a88e91842d89 < 69a18ff6c60e8e113420f15355fad862cb45d38e ; affected da5c504c7aae96db68c4b38e2564a88e91842d89 < ba63d4e9857a72a89e71a4eff9f2cc8c283e94c3
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.4.301 ≤ 5.4.* ; unaffected 5.10.246 ≤ 5.10.* ; unaffected 5.15.195 ≤ 5.15.* ; unaffected 6.1.157 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD