cpufreq/longhaul: handle NULL policy in longhaul_exit (Linux Linux)

CVE-2025-68177
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 12 ()
É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/longhaul: handle NULL policy in longhaul_exit longhaul_exit() was calling cpufreq_cpu_get(0) without checking for a NULL policy pointer. On some systems, this could lead to a NULL dereference and a kernel warning or panic. This patch adds a check using unlikely() and returns early if the policy is NULL. Bugzilla: #219962

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 < b02352dd2e6cca98777714cc2a27553191df70db ; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 < 956b56d17a89775e4957bbddefa45cd3c6c71000 ; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 < 55cf586b9556863e3c2a45460aba71bcb2be5bcd ; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 < fd93e1d71b3b14443092919be12b1abf08de35eb ; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 < 8d6791c480f22d6e9a566eaa77336d3d37c5c591 ; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 < 64adabb6d9d51b7e7c02fe733346a2c4dd738488
Linux · Linuxaffected 3.10 ; unaffected 0 < 3.10 ; unaffected 5.4.302 ≤ 5.4.* ; unaffected 5.10.247 ≤ 5.10.* ; unaffected 5.15.197 ≤ 5.15.* ; unaffected 6.1.159 ≤ 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