CVE-2026-72058 (GCVE-0-2026-72058)
Vulnerability from cvelistv5
Published
2026-08-15 05:52
Modified
2026-08-23 12:46
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: net: ixp4xx_hss: fix duplicate HDLC netdev allocation ixp4xx_hss_probe() allocates two HDLC netdevs. The first one is stored in ndev, initialized, and registered with register_hdlc_device(). The second one is stored in port->netdev and later used by the remove path for unregister_hdlc_device() and free_netdev(). This means that the registered netdev is not the same object that is unregistered and freed on remove. It also leaks the first allocation if the second alloc_hdlcdev() call fails, and the first allocation is not checked before ndev is used. Older code allocated the HDLC netdev only once and stored the same object in both the local variable and port->netdev. The buggy conversion split this into two alloc_hdlcdev() calls. A later rename changed the local variable name to ndev, but the underlying mismatch remained. Fix this by allocating the HDLC netdev only once and assigning the same object to port->netdev.
Impacted products
Vendor Product Version
Linux Linux Version: 99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Version: 99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Version: 99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Version: 99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Version: 99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Version: 99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Version: 99ebe65eb9c0ada015931d239d9f2d1dc8897fee
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wan/ixp4xx_hss.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "77d925b948ee594a79afe66f85bb94b67940140b",
              "status": "affected",
              "version": "99ebe65eb9c0ada015931d239d9f2d1dc8897fee",
              "versionType": "git"
            },
            {
              "lessThan": "8f4c3c384092becbf4835a3f8ed8a3df1f544578",
              "status": "affected",
              "version": "99ebe65eb9c0ada015931d239d9f2d1dc8897fee",
              "versionType": "git"
            },
            {
              "lessThan": "fd0b939ebd1eee29945a539c5ed65c35dddac8d6",
              "status": "affected",
              "version": "99ebe65eb9c0ada015931d239d9f2d1dc8897fee",
              "versionType": "git"
            },
            {
              "lessThan": "ffba16e6f55948d94b7f16aa113d587c1c4c0643",
              "status": "affected",
              "version": "99ebe65eb9c0ada015931d239d9f2d1dc8897fee",
              "versionType": "git"
            },
            {
              "lessThan": "3f85fcd520aa703824b1958f35169925ddae2558",
              "status": "affected",
              "version": "99ebe65eb9c0ada015931d239d9f2d1dc8897fee",
              "versionType": "git"
            },
            {
              "lessThan": "91850f582783098415a334f8bd0a84c87ff15a8c",
              "status": "affected",
              "version": "99ebe65eb9c0ada015931d239d9f2d1dc8897fee",
              "versionType": "git"
            },
            {
              "lessThan": "db818b0e8af7bac16860116a19c341a63d6677b4",
              "status": "affected",
              "version": "99ebe65eb9c0ada015931d239d9f2d1dc8897fee",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wan/ixp4xx_hss.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.217",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "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.15.217",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ixp4xx_hss: fix duplicate HDLC netdev allocation\n\nixp4xx_hss_probe() allocates two HDLC netdevs. The first one is stored\nin ndev, initialized, and registered with register_hdlc_device(). The\nsecond one is stored in port-\u003enetdev and later used by the remove path\nfor unregister_hdlc_device() and free_netdev().\n\nThis means that the registered netdev is not the same object that is\nunregistered and freed on remove. It also leaks the first allocation if\nthe second alloc_hdlcdev() call fails, and the first allocation is not\nchecked before ndev is used.\n\nOlder code allocated the HDLC netdev only once and stored the same object\nin both the local variable and port-\u003enetdev. The buggy conversion split\nthis into two alloc_hdlcdev() calls. A later rename changed the local\nvariable name to ndev, but the underlying mismatch remained.\n\nFix this by allocating the HDLC netdev only once and assigning the same\nobject to port-\u003enetdev."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-23T12:46:37.509Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/77d925b948ee594a79afe66f85bb94b67940140b"
        },
        {
          "url": "https://git.kernel.org/stable/c/8f4c3c384092becbf4835a3f8ed8a3df1f544578"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd0b939ebd1eee29945a539c5ed65c35dddac8d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffba16e6f55948d94b7f16aa113d587c1c4c0643"
        },
        {
          "url": "https://git.kernel.org/stable/c/3f85fcd520aa703824b1958f35169925ddae2558"
        },
        {
          "url": "https://git.kernel.org/stable/c/91850f582783098415a334f8bd0a84c87ff15a8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/db818b0e8af7bac16860116a19c341a63d6677b4"
        }
      ],
      "title": "net: ixp4xx_hss: fix duplicate HDLC netdev allocation",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72058",
    "datePublished": "2026-08-15T05:52:13.616Z",
    "dateReserved": "2026-08-09T03:40:39.903Z",
    "dateUpdated": "2026-08-23T12:46:37.509Z",
    "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…