{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-72058",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-72058"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "net: ixp4xx_hss: fix duplicate HDLC netdev allocation",
  "details": "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->netdev 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->netdev. 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->netdev.",
  "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.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-72058"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/77d925b948ee594a79afe66f85bb94b67940140b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8f4c3c384092becbf4835a3f8ed8a3df1f544578"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fd0b939ebd1eee29945a539c5ed65c35dddac8d6"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ffba16e6f55948d94b7f16aa113d587c1c4c0643"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3f85fcd520aa703824b1958f35169925ddae2558"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/91850f582783098415a334f8bd0a84c87ff15a8c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/db818b0e8af7bac16860116a19c341a63d6677b4"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-23T12:46:35Z"
  }
}
