# 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()` 的场景下。虽然修复代码已经编写,但是还没有经过测试。
# | POC 描述 | 源链接 | 神龙链接 |
---|
标题: Making sure you're not a bot! -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签: