漏洞信息
# ASoC: simple-card-utils: 在 graph_util_parse_dai() 中不要使用 __free(device_node)
## 漏洞描述
### 概述
该漏洞存在于Linux内核中,具体涉及ASoC的simple-card-utils模块。在`graph_util_parse_dai()`函数中不应当使用`__free(device_node)`来释放节点。
### 影响版本(如有)
未明确指定具体影响的版本,但涉及到包含commit 419d1918105e的Linux内核版本可能会受到影响。
### 细节
- **漏洞详情**:Commit 419d1918105e引入了错误处理逻辑,即在`graph_util_parse_dai()`函数中使用了`__free(device_node)`来释放`dlc->of_node`。
- **问题原因**:释放节点的操作应该避免,在驱动程序使用期间应保持节点不被释放。
### 影响
该漏洞可能导致设备节点在驱动程序仍在使用时意外释放,进而引发系统崩溃或数据丢失等严重问题。
备注
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_parse_dai()
commit 419d1918105e ("ASoC: simple-card-utils: use __free(device_node) for
device node") uses __free(device_node) for dlc->of_node, but we need to
keep it while driver is in use.
Don't use __free(device_node) in graph_util_parse_dai().
CVSS信息
N/A
漏洞类别
N/A