一、 漏洞 CVE-2022-49857 基础信息
漏洞信息
                                        # net:marvell:prestera:在prestera_rxtx_switch_init()中修复内存泄漏问题

## 漏洞概述
在 Linux 内核中,`prestera_rxtx_switch_init()` 函数中存在内存泄漏漏洞。当 `prestera_sdma_switch_init()` 调用失败时,指向 `sw->rxtx` 的内存没有被正确释放。

## 细节
该漏洞发生在处理 Marvell 设备的网络驱动程序中。具体来说,当 `prestera_sdma_switch_init()` 函数失败时,原本分配给 `sw->rxtx` 的内存未被释放,导致内存泄漏。

## 影响
该漏洞可能导致系统内存逐渐耗尽,特别是在频繁调用涉及 `prestera_rxtx_switch_init()` 的场景下。虽然修复代码已经编写,但是还没有经过测试。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init() When prestera_sdma_switch_init() failed, the memory pointed to by sw->rxtx isn't released. Fix it. Only be compiled, not be tested.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于prestera驱动中prestera_rxtx_switch_init函数的内存泄漏问题。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2022-49857 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2022-49857 的情报信息