一、 漏洞 CVE-2025-38259 基础信息
漏洞信息
                                        # ASoC: codecs: wcd9335: 修复未释放调节器供电的漏洞

## 概述
在Linux内核中,解决了ASoC驱动中的一个漏洞,该漏洞导致内存泄漏和regulator启用计数不平衡。

## 影响版本
未具体说明影响的版本。

## 细节
在`wcd9335_parse_dt()`和`wcd9335_power_on_reset()`函数中,驱动程序获取并启用了所有regulator供应,但在最终错误路径和unbind过程中没有进行清理(缺少remove()回调)。这导致内存泄漏和在probe错误或unbind过程中regulator启用计数不平衡。

## 影响
该漏洞会导致内存泄漏和regulator启用计数不平衡,通过将整个代码转换为`devm_regulator_bulk_get_enable()`来修复此问题,这大大简化了代码。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
ASoC: codecs: wcd9335: Fix missing free of regulator supplies
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wcd9335: Fix missing free of regulator supplies Driver gets and enables all regulator supplies in probe path (wcd9335_parse_dt() and wcd9335_power_on_reset()), but does not cleanup in final error paths and in unbind (missing remove() callback). This leads to leaked memory and unbalanced regulator enable count during probe errors or unbind. Fix this by converting entire code into devm_regulator_bulk_get_enable() which also greatly simplifies the code.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于wcd9335编解码器未释放调节器资源,可能导致资源泄漏。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-38259 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-38259 的情报信息