Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.19, < 5.10.42 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842Patch
- https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607Patch
- https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897Patch
- https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842Patch
- https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607Patch
- https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897Patch
FAQ
What is CVE-2021-47143?
CVE-2021-47143 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 s...
How severe is CVE-2021-47143?
CVE-2021-47143 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-47143?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.