mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()

Summary

CVECVE-2026-72308
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:03 UTC
Updated2026-08-17 06:18:33 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002090000 probability, percentile 0.113500000 (date 2026-08-17)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 8b3350eacd9df0597bfe36a594df7b9def0b3edf git Not specified
CNA Linux Linux affected 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e git Not specified
CNA Linux Linux affected 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 2d8b3c3e129973a51ae924bdcf6993a76b828814 git Not specified
CNA Linux Linux affected 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 cab468c3c03f4bcd7530ce2783a4140da14efb7b git Not specified
CNA Linux Linux affected 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 41c8c1d65b32beacd8d916a22457b4f6e47f45af git Not specified
CNA Linux Linux affected 4.5 Not specified
CNA Linux Linux unaffected 4.5 semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/8b3350eacd9df0597bfe36a594df7b9def0b3edf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/41c8c1d65b32beacd8d916a22457b4f6e47f45af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cab468c3c03f4bcd7530ce2783a4140da14efb7b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2d8b3c3e129973a51ae924bdcf6993a76b828814 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report