PM / devfreq: Check governor before using governor->name (Linux Linux)

CVE-2025-38609
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: Check governor before using governor->name Commit 96ffcdf239de ("PM / devfreq: Remove redundant governor_name from struct devfreq") removes governor_name and uses governor->name to replace it. But devfreq->governor may be NULL and directly using devfreq->governor->name may cause null pointer exception. Move the check of governor to before using governor->name.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 < f0479e878d4beb45e73c03e574c59f0a23ccd176 ; affected 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 < 631e101728df2a86b8fb761b49fad9712c651f8a ; affected 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 < 81f50619370045120c133bfdda5b320c8c97d41e ; affected 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 < d5632359dbc44862fc1ed04093c1f57529830261 ; affected 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 < 2731c68f536fddcb71332db7f8d78c5eb4684c04 ; affected 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 < 75323a49aa603cf5484a6d74d0d329e86d756e11
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.190 ≤ 5.15.* ; unaffected 6.1.148 ≤ 6.1.* ; unaffected 6.6.102 ≤ 6.6.* ; unaffected 6.12.42 ≤ 6.12.*

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