CVE-2022-49857

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

Medium · published May 1, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
9.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.6th percentile
Published
2025-05-01T14:10Z
EPSS history
Timeline
  • 01 MAY 14:10Z
    net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
    cvelistv5