# CVE-2022-49857: net: marvell: prestera: fix memory leak in prestera\_rxtx\_switch\_init()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-01 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2022-49857, DEBIAN-CVE-2022-49857
- Record: https://cvemate.com/vulnerability/CVE-2022-49857 · JSON: https://cvemate.com/vulnerability/CVE-2022-49857/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.206%, percentile 11.152%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 100)

- debian linux (Debian): \< 6.0.10-1
- ubuntu linux (Ubuntu): \< 5.15.0-67.74
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1031.35
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1031.35~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1034.41
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1034.41~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47>
- <https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2>
- <https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31>
- <https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd>
- <https://ubuntu.com/security/CVE-2022-49857>
- <https://www.cve.org/CVERecord?id=CVE-2022-49857>
- <https://git.kernel.org/linus/519b58bbfa825f042fcf80261cc18e1e35f85ffd>
- <https://security-tracker.debian.org/tracker/CVE-2022-49857>

---

Data as of 2026-12-05T03:16:57.927Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
