漏洞信息
# wifi: mt76: mt7996: 在 mt7996_thermal_init 中添加 NULL 检测
## 概述
在Linux内核中,解决了一个与mt7996无线驱动相关的漏洞。`devm_kasprintf()`函数可能返回一个NULL指针,但是在`mt7996_thermal_init()`函数中未对此返回值进行检查,导致可能发生空指针解引用错误。
## 影响版本
未指定具体影响版本
## 细节
`devm_kasprintf()`函数在分配内存失败时会返回一个NULL指针。然而,在`mt7996_thermal_init()`函数中未对返回值进行NULL检查,从而可能导致空指针解引用错误。该漏洞通过在`mt7996_thermal_init()`函数中添加NULL检查来解决。
## 影响
可能导致系统出现空指针解引用错误,进而导致系统稳定性问题或潜在的安全风险。
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init
devm_kasprintf() can return a NULL pointer on failure,but this
returned value in mt7996_thermal_init() is not checked.
Add NULL check in mt7996_thermal_init(), to handle kernel NULL
pointer dereference error.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于mt7996_thermal_init未检查devm_kasprintf返回值,可能导致空指针取消引用。
CVSS信息
N/A
漏洞类别
其他