CVE-2021-47158

In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: add error handling in sja1105_setup() If any of sja1105_static_config_load(), sja1105_clocking_setup() or sja1105_devlink_setup() fails, we can't just return in the middle of sja1105_setup() or memory will leak. Add a cleanup path.
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:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*

History

12 Dec 2024, 15:50

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
CWE CWE-401
References () https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563 - () https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563 - Patch
References () https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fb - () https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fb - Patch
References () https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0 - () https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0 - Patch
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563 - () https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563 -
References () https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fb - () https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fb -
References () https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0 - () https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0 -

25 Mar 2024, 13:47

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: dsa: sja1105: agregue manejo de errores en sja1105_setup() Si alguno de sja1105_static_config_load(), sja1105_clocking_setup() o sja1105_devlink_setup() falla, no podemos simplemente regresar en el medio de sja1105_setup() o se perderá memoria. Agregue una ruta de limpieza.

25 Mar 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-25 10:15

Updated : 2024-12-12 15:50


NVD link : CVE-2021-47158

Mitre link : CVE-2021-47158

CVE.ORG link : CVE-2021-47158


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime