CVE-2022-49857

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

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 02:10 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.10.1555.10 ≤ v < 5.15.795.10 ≤ v < 6.0.95.10 ≤ v < 6.15.11 ≤ v < 5.15.795.16 ≤ v < 6.0.9501ef3066c89d7f9045315e1be58749cf9e6814d6.1 rc16.1 rc26.1 rc36.1 rc4
Vendor states this is fixed in 31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 (fixed)
Vendor states this is fixed in 409731df6310a33f4d0a3ef594d2410cdcd637f2 (fixed)
Vendor states this is fixed in 519b58bbfa825f042fcf80261cc18e1e35f85ffd (fixed)
Vendor states this is fixed in 5333cf1b7f6861912aff6263978d4781f9858e47 (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.155 (unaffected)
Vendor states this is fixed in 5.15.79 (unaffected)
Vendor states this is fixed in 6.0.9 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card