CVE-2026-98909 (GCVE-0-2026-98909)
Vulnerability from cvelistv5
Published
2026-10-23 11:54
Modified
2026-10-26 06:56
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: net: cpsw_new: unregister devlink on port registration failure cpsw_probe() registers devlink before registering the CPSW ports. If cpsw_register_ports() fails, the error path only unregisters the notifiers and then releases the lower level resources. It does not undo the successful cpsw_register_devlink() call, leaving the devlink instance and its parameters registered after probe has failed. Add a devlink cleanup label for the path where devlink registration has already succeeded, and use it when port registration fails.
Impacted products
Vendor Product Version
Linux Linux Version: ed3525eda4c4983fb8509e488de0a351788041ba
Version: ed3525eda4c4983fb8509e488de0a351788041ba
Version: ed3525eda4c4983fb8509e488de0a351788041ba
Version: ed3525eda4c4983fb8509e488de0a351788041ba
Version: ed3525eda4c4983fb8509e488de0a351788041ba
Version: ed3525eda4c4983fb8509e488de0a351788041ba
Version: ed3525eda4c4983fb8509e488de0a351788041ba
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": "b020390b4ef39adc40c800301042baf812280da1",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "5a5ac0defdd42e566f1c871272370b6a3a8eef5c",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "43d4af5c5331ea739a49cb1097d41e502ed91ec4",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "2bcf21ede6b097ca96cb1f7679761acca6510555",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "0a44945b0d3422f5d81b49c97e293f3e21a8c585",
              "status": "affected",
              "version": "ed3525eda4c4983fb8509e488de0a351788041ba",
              "versionType": "git"
            },
            {
              "lessThan": "b64f763b607426ac97e44b114f0b8844ac3b86dd",
              "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.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "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: unregister devlink on port registration failure\n\ncpsw_probe() registers devlink before registering the CPSW ports.\n\nIf cpsw_register_ports() fails, the error path only unregisters the\nnotifiers and then releases the lower level resources. It does not undo\nthe successful cpsw_register_devlink() call, leaving the devlink instance\nand its parameters registered after probe has failed.\n\nAdd a devlink cleanup label for the path where devlink registration has\nalready succeeded, and use it when port registration fails."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-26T06:56:39.086Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b020390b4ef39adc40c800301042baf812280da1"
        },
        {
          "url": "https://git.kernel.org/stable/c/5a5ac0defdd42e566f1c871272370b6a3a8eef5c"
        },
        {
          "url": "https://git.kernel.org/stable/c/43d4af5c5331ea739a49cb1097d41e502ed91ec4"
        },
        {
          "url": "https://git.kernel.org/stable/c/8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0"
        },
        {
          "url": "https://git.kernel.org/stable/c/2bcf21ede6b097ca96cb1f7679761acca6510555"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a44945b0d3422f5d81b49c97e293f3e21a8c585"
        },
        {
          "url": "https://git.kernel.org/stable/c/b64f763b607426ac97e44b114f0b8844ac3b86dd"
        }
      ],
      "title": "net: cpsw_new: unregister devlink on port registration failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98909",
    "datePublished": "2026-10-23T11:54:47.326Z",
    "dateReserved": "2026-09-25T10:25:14.379Z",
    "dateUpdated": "2026-10-26T06:56:39.086Z",
    "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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…