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.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2025050146-CVE-2022-49857-39d0@gregkh/T