漏洞信息
# cpufreq:scpi:修复 scpi_cpufreq_get_rate() 中的 null 指针引用问题
## 概述
在Linux内核中,修复了cpufreq模块中scpi驱动的一个空指针解引用问题。
## 影响版本
未具体指定影响版本。
## 细节
`cpufreq_cpu_get_raw()`函数在目标CPU不在`policy->cpus`掩码中时会返回NULL。而`scpi_cpufreq_get_rate()`函数没有对此情况进行检查,导致空指针解引用。
## 影响
该漏洞可能导致系统不稳定或崩溃。
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
cpufreq_cpu_get_raw() can return NULL when the target CPU is not present
in the policy->cpus mask. scpi_cpufreq_get_rate() does not check for
this case, which results in a NULL pointer dereference.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于空指针解引用,可能导致内核崩溃。
CVSS信息
N/A
漏洞类别
其他