CVE-2022-49857: net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
In the Linux kernel, the following vulnerability has been resolved:
net: marvell: prestera: fix memory leak in presterarxtxswitchinit()
When presterasdmaswitchinit() failed, the memory pointed to by sw->rxtx isn't released. Fix it. Only be compiled, not be tested.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49857?
CVE-2022-49857 is classified as a medium severity vulnerability.
What does CVE-2022-49857 affect?
CVE-2022-49857 affects the Linux kernel specifically within the Marvell Prestera network switch driver.
How do I fix CVE-2022-49857?
To fix CVE-2022-49857, ensure that you upgrade to a patched version of the Linux kernel that addresses this memory leak issue.
What should I do if I cannot immediately patch CVE-2022-49857?
If immediate patching for CVE-2022-49857 is not possible, consider applying temporary workarounds such as disabling the affected functionality.
Is CVE-2022-49857 actively being exploited?
As of the latest information, there are no public reports of CVE-2022-49857 being actively exploited in the wild.