CVEvulnerability
CVE-2022-49857
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• 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
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 Patch
- https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2 Patch
- https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd Patch
- https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47 Patch