CVE-2022-49857 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's Marvell Prestera network driver. The issue arises in the 'prestera_rxtx_switch_init()' function, where memory allocated to the 'rxtx' field is not properly released if the 'prestera_sdma_switch_init()' function fails. This vulnerability has been addressed in the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 | kernel.org | Patch |
| https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd | kernel.org | Patch |
| https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10, < 5.10.155 >= 5.11, < 5.15.79 >= 5.16, < 6.0.9 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| May 7, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |