CVE-2026-72308 (GCVE-0-2026-72308)
Vulnerability from cvelistv5
Published
2026-08-15 05:55
Modified
2026-08-23 12:47
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mlxsw: fix refcount leak in mlxsw_sp_port_lag_join() When mlxsw_sp_port_lag_index_get() fails, mlxsw_sp_port_lag_join() returns an error without releasing the lag reference obtained by the earlier mlxsw_sp_lag_get(). All other error paths in the function jump to the cleanup label that ends with mlxsw_sp_lag_put(), so this is a single missed release. Fix the leak by replacing the bare 'return err' with a goto to the existing error cleanup label, which will drop the reference safely.
Impacted products
Vendor Product Version
Linux Linux Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Version: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/mellanox/mlxsw/spectrum.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3fbeaa8ecd144ad593f9fa1ab4b40a780ad3700b",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            },
            {
              "lessThan": "99ff5b0083eae6f774360c4ea6874604e6c9b553",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            },
            {
              "lessThan": "9bf2d6eea26a226f8ebab7baea6f2b018f914560",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            },
            {
              "lessThan": "8b3350eacd9df0597bfe36a594df7b9def0b3edf",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            },
            {
              "lessThan": "1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            },
            {
              "lessThan": "2d8b3c3e129973a51ae924bdcf6993a76b828814",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            },
            {
              "lessThan": "cab468c3c03f4bcd7530ce2783a4140da14efb7b",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            },
            {
              "lessThan": "41c8c1d65b32beacd8d916a22457b4f6e47f45af",
              "status": "affected",
              "version": "0d65fc13042fce6a2d6de58ff0dc9531e8523c07",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/mellanox/mlxsw/spectrum.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.266",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.217",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.184",
              "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.10.266",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.217",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.184",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmlxsw: fix refcount leak in mlxsw_sp_port_lag_join()\n\nWhen mlxsw_sp_port_lag_index_get() fails, mlxsw_sp_port_lag_join()\nreturns an error without releasing the lag reference obtained by\nthe earlier mlxsw_sp_lag_get().  All other error paths in the\nfunction jump to the cleanup label that ends with\nmlxsw_sp_lag_put(), so this is a single missed release.\n\nFix the leak by replacing the bare \u0027return err\u0027 with a goto to the\nexisting error cleanup label, which will drop the reference safely."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-23T12:47:14.564Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3fbeaa8ecd144ad593f9fa1ab4b40a780ad3700b"
        },
        {
          "url": "https://git.kernel.org/stable/c/99ff5b0083eae6f774360c4ea6874604e6c9b553"
        },
        {
          "url": "https://git.kernel.org/stable/c/9bf2d6eea26a226f8ebab7baea6f2b018f914560"
        },
        {
          "url": "https://git.kernel.org/stable/c/8b3350eacd9df0597bfe36a594df7b9def0b3edf"
        },
        {
          "url": "https://git.kernel.org/stable/c/1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e"
        },
        {
          "url": "https://git.kernel.org/stable/c/2d8b3c3e129973a51ae924bdcf6993a76b828814"
        },
        {
          "url": "https://git.kernel.org/stable/c/cab468c3c03f4bcd7530ce2783a4140da14efb7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/41c8c1d65b32beacd8d916a22457b4f6e47f45af"
        }
      ],
      "title": "mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72308",
    "datePublished": "2026-08-15T05:55:25.260Z",
    "dateReserved": "2026-08-09T03:40:39.918Z",
    "dateUpdated": "2026-08-23T12:47:14.564Z",
    "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…