5.5medium
PM / devfreq: Check governor before using governor->name
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 before f0479e878d4beb45e73c03e574c59f0a23ccd176, from 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 before 631e101728df2a86b8fb761b49fad9712c651f8a, from 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 before 81f50619370045120c133bfdda5b320c8c97d41e, from 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 before d5632359dbc44862fc1ed04093c1f57529830261, from 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 before 2731c68f536fddcb71332db7f8d78c5eb4684c04, from 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 before 75323a49aa603cf5484a6d74d0d329e86d756e11, from 96ffcdf239de6f9970178bb7d643e16fd9e68ab9 before bab7834c03820eb11269bc48f07c3800192460d2, 5.11 Not affected: before 5.11, from 5.15.190 up to 5.15.*, from 6.1.148 up to 6.1.*, from 6.6.102 up to 6.6.*, from 6.12.42 up to 6.12.*, from 6.15.10 up to 6.15.* | CVE List |
| linux linux_kernel | from 5.11 before 5.15.190, from 5.16 before 6.1.148, from 6.2 before 6.6.102, from 6.7 before 6.12.42, from 6.13 before 6.15.10, from 6.16 before 6.16.1 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
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: 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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PM/devfreq: Comprobar el gobernador antes de usar governor->name. El commit 96ffcdf239de ("PM/devfreq: Eliminar el nombre redundante de governor_name de la estructura devfreq") elimina governor_name y usa governor->name para reemplazarlo. Sin embargo, devfreq->governor podría ser NULL y usar directamente devfreq->governor->name podría causar una excepción de puntero nulo. Se debe mover la comprobación del gobernador a antes de usar governor->name.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38609 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-38609 changed 2026-11-05 | Public domain |