CVE-2026-72308 (GCVE-0-2026-72308)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:55 – Updated: 2026-08-23 12:47
VLAI
Title
mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < 3fbeaa8ecd144ad593f9fa1ab4b40a780ad3700b (git)
Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < 99ff5b0083eae6f774360c4ea6874604e6c9b553 (git)
Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < 9bf2d6eea26a226f8ebab7baea6f2b018f914560 (git)
Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < 8b3350eacd9df0597bfe36a594df7b9def0b3edf (git)
Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < 1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e (git)
Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < 2d8b3c3e129973a51ae924bdcf6993a76b828814 (git)
Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < cab468c3c03f4bcd7530ce2783a4140da14efb7b (git)
Affected: 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 , < 41c8c1d65b32beacd8d916a22457b4f6e47f45af (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.5
Unaffected: 0 , < 4.5 (semver)
Unaffected: 5.10.266 , ≤ 5.10.* (semver)
Unaffected: 5.15.217 , ≤ 5.15.* (semver)
Unaffected: 6.1.184 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72308",
      "date": "2026-09-21",
      "epss": "0.0022",
      "percentile": "0.12731"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-72308",
        "lastModified": "2026-08-23T13:16:43.340",
        "metrics": {},
        "published": "2026-08-15T06:22:03.570",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2d8b3c3e129973a51ae924bdcf6993a76b828814"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3fbeaa8ecd144ad593f9fa1ab4b40a780ad3700b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/41c8c1d65b32beacd8d916a22457b4f6e47f45af"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8b3350eacd9df0597bfe36a594df7b9def0b3edf"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/99ff5b0083eae6f774360c4ea6874604e6c9b553"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9bf2d6eea26a226f8ebab7baea6f2b018f914560"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/cab468c3c03f4bcd7530ce2783a4140da14efb7b"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-19T05:25:28+00:00",
      "cve": "CVE-2026-72308",
      "id": "CVE-2026-72308",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72308.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-18T00:28:22Z",
      "cve": "CVE-2026-72308",
      "id": "CVE-2026-72308",
      "initial_release_date": "2026-08-28T00:59:39Z",
      "product_status:known_affected": "713",
      "product_status:known_not_affected": "6",
      "product_status:recommended": "107",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-72308",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-72308.json",
      "version": "9"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…