What’s Vulnerable › Vulnerabilities

CVE-2022-49857: net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.155, 5.15.79, 6.0.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49857 or the next vulnerability affects your stack