CVE-2022-49857Published May 1, 2025 · May 1Updated Oct 28
net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's Marvell Prestera network driver leaks memory when prestera_sdma_switch_init() fails during prestera_rxtx_switch_init(). The input does not describe how an attacker could trigger the failure or specify access or interaction requirements.
Engineers running Linux kernels with the Marvell Prestera driver should check their kernel versions; affected versions are not specified.