漏洞信息
# mlx5: HWS 内存泄漏修复
## 概述
在 Linux 内核中,发现一个与 Mellanox MLX5 驱动中的 HWS(Host Window Scheduler)子模块相关的内存泄漏漏洞。
## 影响版本
此问题影响包含 `net/mlx5` 模块的受影响版本的 Linux 内核,具体版本范围未提及,已在修复后的版本中解决。
## 细节
在 `hws_pool_buddy_init()` 函数的错误处理路径中,未能释放用于管理内存分配的分配器结构本身,仅执行了对内部资源的清理,未调用 `kfree()` 释放分配器结构的内存。
## 影响
该漏洞会导致在错误路径下发生内存泄漏,可能逐渐消耗系统内存,最终影响系统性能或稳定性。
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
In the error path of hws_pool_buddy_init(), the buddy allocator cleanup
doesn't free the allocator structure itself, causing a memory leak.
Add the missing kfree() to properly release all allocated memory.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于hws_pool_buddy_init错误路径中未释放分配器结构,可能导致内存泄漏。
CVSS信息
N/A
漏洞类别
其他