CVE-2021-47143

In the Linux kernel, the following vulnerability has been resolved: net/smc: remove device from smcd_dev_list after failed device_add() If the device_add() for a smcd_dev fails, there's no cleanup step that rolls back the earlier list_add(). The device subsequently gets freed, and we end up with a corrupted list. Add some error handling that removes the device from the list.
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

13 Mar 2025, 21:09

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842 - () https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842 - Patch
References () https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607 - () https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607 - Patch
References () https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897 - () https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897 - Patch
First Time Linux
Linux linux Kernel
CWE CWE-459

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842 - () https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842 -
References () https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607 - () https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607 -
References () https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897 - () https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897 -

25 Mar 2024, 13:47

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: net/smc: eliminar dispositivo de smcd_dev_list después de fallar device_add() Si falla el dispositivo_add() para smcd_dev, no hay ningún paso de limpieza que revierta el list_add() anterior. Posteriormente, el dispositivo se libera y terminamos con una lista corrupta. Agregue algún manejo de errores que elimine el dispositivo de la lista.

25 Mar 2024, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-25 09:15

Updated : 2025-03-13 21:09


NVD link : CVE-2021-47143

Mitre link : CVE-2021-47143

CVE.ORG link : CVE-2021-47143


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-459

Incomplete Cleanup