CVE-2022-49857

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*

History

07 May 2025, 13:31

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CWE CWE-401
References () https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 - () https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 - Patch
References () https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2 - () https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2 - Patch
References () https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd - () https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd - Patch
References () https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47 - () https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47 - Patch
CPE cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

02 May 2025, 13:52

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: marvell: prestera: se corrige una fuga de memoria en prestera_rxtx_switch_init(). Cuando prestera_sdma_switch_init() falla, la memoria a la que apunta sw->rxtx no se libera. Se debe corregir. Solo se compilará, no se probará.

01 May 2025, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-01 15:16

Updated : 2025-05-07 13:31


NVD link : CVE-2022-49857

Mitre link : CVE-2022-49857

CVE.ORG link : CVE-2022-49857


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime