{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ed3525eda4c4983fb8509e488de0a351788041ba"
            },
            {
              "fixed": "da8e1623a3028e1d8c75eec7898d94c6f17dce40"
            },
            {
              "fixed": "d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f"
            },
            {
              "fixed": "23acc565186ee27e788408cbd81b92730b6aaa3a"
            },
            {
              "fixed": "67cca9df4d17f2c824655d31195b2e75334ae286"
            },
            {
              "fixed": "14645799ad5253a028cf662e2f9cd18a68f74b31"
            },
            {
              "fixed": "29739ec197ed66535bc0b86f14ab66c5f4512138"
            },
            {
              "fixed": "349c4cac6f54a81fc107589771f88136a2b20415"
            },
            {
              "fixed": "9d724b34fbe13b71865ad0906a4be97571f19cf5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.5.0"
            },
            {
              "fixed": "5.10.260"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.210"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.176"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.143"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.93"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43219.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: cpsw_new: Fix potential unregister of netdev that has not been registered yet\n\nIf an error occurs during register_netdev() for the first MAC in\ncpsw_register_ports(), even though cpsw-\u003eslaves[0].ndev is set to NULL,\ncpsw-\u003eslaves[1].ndev would remain unchanged. This could later cause\ncpsw_unregister_ports() to attempt unregistering the second MAC.\nTo address this, add a check for ndev-\u003ereg_state before calling\nunregister_netdev(). With this change, setting cpsw-\u003eslaves[i].ndev\nto NULL becomes unnecessary and can be removed accordingly.",
  "id": "CVE-2026-43219",
  "modified": "2026-07-15T01:48:56.018673793Z",
  "published": "2026-05-06T11:28:20.243Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/14645799ad5253a028cf662e2f9cd18a68f74b31"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/23acc565186ee27e788408cbd81b92730b6aaa3a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/29739ec197ed66535bc0b86f14ab66c5f4512138"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/349c4cac6f54a81fc107589771f88136a2b20415"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67cca9df4d17f2c824655d31195b2e75334ae286"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d724b34fbe13b71865ad0906a4be97571f19cf5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da8e1623a3028e1d8c75eec7898d94c6f17dce40"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43219.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43219"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "net: cpsw_new: Fix potential unregister of netdev that has not been registered yet"
}