What’s Vulnerable › Vulnerabilities
CVE-2022-49857: net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-01 · updated 2026-06-17
- Weakness: CWE-401
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
- Linux kernel: from 5.10 before 5.10.155; from 5.11 before 5.15.79; from 5.16 before 6.0.9; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4 — fixed in 5.10.155, 5.15.79, 6.0.9
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
- https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31
- https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2
- https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd
- https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47
Get alerted when CVE-2022-49857 or the next vulnerability affects your stack