一、 漏洞 CVE-2025-37788 基础信息
漏洞信息
                                        # cxgb4:在错误路径中修正cxgb4_init_ethtool_filters()的内存泄漏问题

## 概述
在Linux内核中,已修复一个内存泄漏漏洞,出现在`cxgb4_init_ethtool_filters()`函数的错误处理路径中。

## 影响版本
未明确指定版本,但影响使用`cxgb4`驱动的Linux内核版本。

## 细节
在用于分配`loc_array`和`bmap`的for循环中,当为`loc_array`分配内存成功,但为`bmap`分配内存失败时,可能会发生内存泄漏。这是因为控制流转到`free_eth_finfo`标签时,只释放了从第`(i-1)`次迭代开始的分配。

修复方案是在`bmap`分配失败的错误路径中释放`loc_array`。

## 影响
可能导致内存泄漏,进而影响系统性能。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path In the for loop used to allocate the loc_array and bmap for each port, a memory leak is possible when the allocation for loc_array succeeds, but the allocation for bmap fails. This is because when the control flow goes to the label free_eth_finfo, only the allocations starting from (i-1)th iteration are freed. Fix that by freeing the loc_array in the bmap allocation error path.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于cxgb4_init_ethtool_filters中存在内存泄漏。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-37788 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-37788 的情报信息