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
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
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE 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:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CWE CWE-459

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