{"id":"CVE-2021-47143","state":"PUBLISHED","title":"net/smc: remove device from smcd_dev_list after failed device_add()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: remove device from smcd_dev_list after failed device_add()\n\nIf the device_add() for a smcd_dev fails, there's no cleanup step that\nrolls back the earlier list_add(). The device subsequently gets freed,\nand we end up with a corrupted list.\n\nAdd some error handling that removes the device from the list.","publishedAt":"2024-03-25T09:07:41.075Z","updatedAt":"2026-05-11T13:48:53.055Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c6ba7c9ba43de1b57e9a53946e7ff988554c84ed","status":"affected","lessThan":"8b2cdc004d21a7255f219706dca64411108f7897","versionType":"git"},{"version":"c6ba7c9ba43de1b57e9a53946e7ff988554c84ed","status":"affected","lessThan":"40588782f1016c655ae1d302892f61d35af96842","versionType":"git"},{"version":"c6ba7c9ba43de1b57e9a53946e7ff988554c84ed","status":"affected","lessThan":"444d7be9532dcfda8e0385226c862fd7e986f607","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_ism.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","versionType":"semver"},{"version":"5.10.42","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.9","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_ism.c"]}],"references":["https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897","https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842","https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47143.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47143","state":"PUBLISHED","datePublished":"2024-03-25T09:07:41.075Z","dateUpdated":"2026-05-11T13:48:53.055Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-03-04T18:12:48.844Z"},"containers":{"cna":{"title":"net/smc: remove device from smcd_dev_list after failed device_add()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: remove device from smcd_dev_list after failed device_add()\n\nIf the device_add() for a smcd_dev fails, there's no cleanup step that\nrolls back the earlier list_add(). The device subsequently gets freed,\nand we end up with a corrupted list.\n\nAdd some error handling that removes the device from the list."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c6ba7c9ba43de1b57e9a53946e7ff988554c84ed","status":"affected","lessThan":"8b2cdc004d21a7255f219706dca64411108f7897","versionType":"git"},{"version":"c6ba7c9ba43de1b57e9a53946e7ff988554c84ed","status":"affected","lessThan":"40588782f1016c655ae1d302892f61d35af96842","versionType":"git"},{"version":"c6ba7c9ba43de1b57e9a53946e7ff988554c84ed","status":"affected","lessThan":"444d7be9532dcfda8e0385226c862fd7e986f607","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_ism.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","versionType":"semver"},{"version":"5.10.42","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.9","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_ism.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897"},{"url":"https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842"},{"url":"https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:48:53.055Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.10.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.12.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:24:40.199Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47143","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:54:57.413915Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:14.760Z"}}]}}}