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

Published May 1, 2025
·
Updated

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

8 affected components
Linux Linux kernel>=5.10<5.10.155
Linux Linux kernel>=5.11<5.15.79
Linux Linux kernel>=5.16<6.0.9
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3
Linux Linux kernel=6.1-rc4
Linux Kernel

Event History

May 1, 2025
CVE Published
via MITRE·02:10 PM
Data Sourced
via MITRE·02:10 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49857?

CVE-2022-49857 is classified as a medium severity vulnerability.

2

What does CVE-2022-49857 affect?

CVE-2022-49857 affects the Linux kernel specifically within the Marvell Prestera network switch driver.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203