CVE-2026-98620 (GCVE-0-2026-98620)
Vulnerability from cvelistv5
Published
2026-10-18 15:19
Modified
2026-10-19 09:22
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure If register_netdev() fails for one of the MTK_MAX_DEVS devices in mtk_probe(), the error path jumps to err_deinit_ppe, skipping mtk_unreg_dev(). The previously registered net_devices are then freed by mtk_free_dev() while still in NETREG_REGISTERED state, hitting the BUG_ON(dev->reg_state != NETREG_UNREGISTERED). Route the register_netdev() failure to err_unreg_netdev so the net_devices registered so far are properly unregistered before being freed.
Impacted products
Vendor Product Version
Linux Linux Version: 8a8a9e89f801ce5d3d1d57ac48db678caf072147
Version: 8a8a9e89f801ce5d3d1d57ac48db678caf072147
Version: 8a8a9e89f801ce5d3d1d57ac48db678caf072147
Version: 8a8a9e89f801ce5d3d1d57ac48db678caf072147
Version: 8a8a9e89f801ce5d3d1d57ac48db678caf072147
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/mediatek/mtk_eth_soc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "245bea0c7ab278150c70366bdeb69b901327133c",
              "status": "affected",
              "version": "8a8a9e89f801ce5d3d1d57ac48db678caf072147",
              "versionType": "git"
            },
            {
              "lessThan": "ab3bde3b3e56331b4f53a1f6cf4e5e9d1c14c1a0",
              "status": "affected",
              "version": "8a8a9e89f801ce5d3d1d57ac48db678caf072147",
              "versionType": "git"
            },
            {
              "lessThan": "7254b702e556158e34b4d7c168b5d8e7da5978af",
              "status": "affected",
              "version": "8a8a9e89f801ce5d3d1d57ac48db678caf072147",
              "versionType": "git"
            },
            {
              "lessThan": "0fdb944d4df02223c67d5e65c4c134ecb57a5668",
              "status": "affected",
              "version": "8a8a9e89f801ce5d3d1d57ac48db678caf072147",
              "versionType": "git"
            },
            {
              "lessThan": "310d1ac61a4d5a2ca8356a3a48d263acf54503ce",
              "status": "affected",
              "version": "8a8a9e89f801ce5d3d1d57ac48db678caf072147",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/mediatek/mtk_eth_soc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9"
            },
            {
              "lessThan": "4.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure\n\nIf register_netdev() fails for one of the MTK_MAX_DEVS devices in\nmtk_probe(), the error path jumps to err_deinit_ppe, skipping\nmtk_unreg_dev(). The previously registered net_devices are then freed by\nmtk_free_dev() while still in NETREG_REGISTERED state, hitting the\nBUG_ON(dev-\u003ereg_state != NETREG_UNREGISTERED).\n\nRoute the register_netdev() failure to err_unreg_netdev so the net_devices\nregistered so far are properly unregistered before being freed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:22:48.289Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/245bea0c7ab278150c70366bdeb69b901327133c"
        },
        {
          "url": "https://git.kernel.org/stable/c/ab3bde3b3e56331b4f53a1f6cf4e5e9d1c14c1a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/7254b702e556158e34b4d7c168b5d8e7da5978af"
        },
        {
          "url": "https://git.kernel.org/stable/c/0fdb944d4df02223c67d5e65c4c134ecb57a5668"
        },
        {
          "url": "https://git.kernel.org/stable/c/310d1ac61a4d5a2ca8356a3a48d263acf54503ce"
        }
      ],
      "title": "net: ethernet: mtk_eth_soc: unregister net_devices in case of probe failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98620",
    "datePublished": "2026-10-18T15:19:40.320Z",
    "dateReserved": "2026-09-25T10:25:14.360Z",
    "dateUpdated": "2026-10-19T09:22:48.289Z",
    "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…