CVE-2026-43219 (GCVE-0-2026-43219)

Vulnerability from cvelistv5 – Published: 2026-05-06 11:28 – Updated: 2026-06-19 11:58
VLAI?
Title
net: cpsw_new: Fix potential unregister of netdev that has not been registered yet
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: ed3525eda4c4983fb8509e488de0a351788041ba , < d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f (git)
Affected: ed3525eda4c4983fb8509e488de0a351788041ba , < 23acc565186ee27e788408cbd81b92730b6aaa3a (git)
Affected: ed3525eda4c4983fb8509e488de0a351788041ba , < 67cca9df4d17f2c824655d31195b2e75334ae286 (git)
Affected: ed3525eda4c4983fb8509e488de0a351788041ba , < 14645799ad5253a028cf662e2f9cd18a68f74b31 (git)
Affected: ed3525eda4c4983fb8509e488de0a351788041ba , < 29739ec197ed66535bc0b86f14ab66c5f4512138 (git)
Affected: ed3525eda4c4983fb8509e488de0a351788041ba , < 349c4cac6f54a81fc107589771f88136a2b20415 (git)
Affected: ed3525eda4c4983fb8509e488de0a351788041ba , < 9d724b34fbe13b71865ad0906a4be97571f19cf5 (git)
Create a notification for this product.
    Linux Linux Affected: 5.5
Unaffected: 0 , < 5.5 (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.93 , ≤ 6.12.* (semver)
Unaffected: 6.18.16 , ≤ 6.18.* (semver)
Unaffected: 6.19.6 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/ti/cpsw_new.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "23acc565186ee27e788408cbd81b92730b6aaa3a",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "67cca9df4d17f2c824655d31195b2e75334ae286",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "14645799ad5253a028cf662e2f9cd18a68f74b31",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "29739ec197ed66535bc0b86f14ab66c5f4512138",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "349c4cac6f54a81fc107589771f88136a2b20415",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "9d724b34fbe13b71865ad0906a4be97571f19cf5",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/ti/cpsw_new.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.93",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.93",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.16",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.6",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-19T11:58:21.538Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d31a12cee10bbc12b4b523a4709fd1fdee8b7d0f"
        },
        {
          "url": "https://git.kernel.org/stable/c/23acc565186ee27e788408cbd81b92730b6aaa3a"
        },
        {
          "url": "https://git.kernel.org/stable/c/67cca9df4d17f2c824655d31195b2e75334ae286"
        },
        {
          "url": "https://git.kernel.org/stable/c/14645799ad5253a028cf662e2f9cd18a68f74b31"
        },
        {
          "url": "https://git.kernel.org/stable/c/29739ec197ed66535bc0b86f14ab66c5f4512138"
        },
        {
          "url": "https://git.kernel.org/stable/c/349c4cac6f54a81fc107589771f88136a2b20415"
        },
        {
          "url": "https://git.kernel.org/stable/c/9d724b34fbe13b71865ad0906a4be97571f19cf5"
        }
      ],
      "title": "net: cpsw_new: Fix potential unregister of netdev that has not been registered yet",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43219",
    "datePublished": "2026-05-06T11:28:20.243Z",
    "dateReserved": "2026-05-01T14:12:55.993Z",
    "dateUpdated": "2026-06-19T11:58:21.538Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…