{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-43219",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-43219"
  ],
  "published": "2026-05-06T11:29:17Z",
  "summary": "net: cpsw_new: Fix potential unregister of netdev that has not been registered yet",
  "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->slaves[0].ndev is set to NULL,\ncpsw->slaves[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->reg_state before calling\nunregister_netdev(). With this change, setting cpsw->slaves[i].ndev\nto NULL becomes unnecessary and can be removed accordingly.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.176",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-43219"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/da8e1623a3028e1d8c75eec7898d94c6f17dce40"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/23acc565186ee27e788408cbd81b92730b6aaa3a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/67cca9df4d17f2c824655d31195b2e75334ae286"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/14645799ad5253a028cf662e2f9cd18a68f74b31"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/29739ec197ed66535bc0b86f14ab66c5f4512138"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/349c4cac6f54a81fc107589771f88136a2b20415"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9d724b34fbe13b71865ad0906a4be97571f19cf5"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-07-04T11:51:32Z"
  }
}
