CVE-2022-49857

published 1 May 2025 · updated 11 May 2026

net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 31e5084ac6876e52dbb0a1cc4fc18b6c79979f31, Kernel 409731df6310a33f4d0a3ef594d2410cdcd637f2, Kernel 519b58bbfa825f042fcf80261cc18e1e35f85ffd and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=501ef3066c89d7f9045315e1be58749cf9e6814d <31e5084ac6876e52dbb0a1cc4fc18b6c79979f31, >=501ef3066c89d7f9045315e1be58749cf9e6814d <409731df6310a33f4d0a3ef594d2410cdcd637f2, >=501ef3066c89d7f9045315e1be58749cf9e6814d <519b58bbfa825f042fcf80261cc18e1e35f85ffd, >=501ef3066c89d7f9045315e1be58749cf9e6814d <5333cf1b7f6861912aff6263978d4781f9858e4731e5084ac6876e52dbb0a1cc4fc18b6c79979f31, 409731df6310a33f4d0a3ef594d2410cdcd637f2, 519b58bbfa825f042fcf80261cc18e1e35f85ffd, 5333cf1b7f6861912aff6263978d4781f9858e47

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49857 severity on Zeptric[![CVE-2022-49857](https://zeptric.io/badge/cve/CVE-2022-49857.svg)](https://zeptric.io/cve/CVE-2022-49857)