CVE-2026-72308

mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 23, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before 3fbeaa8ecd144ad593f9fa1ab4b40a780ad3700bAffected
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before 99ff5b0083eae6f774360c4ea6874604e6c9b553Affected
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before 9bf2d6eea26a226f8ebab7baea6f2b018f914560Affected
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before 8b3350eacd9df0597bfe36a594df7b9def0b3edfAffected
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before 1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7eAffected
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before 2d8b3c3e129973a51ae924bdcf6993a76b828814Affected
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before cab468c3c03f4bcd7530ce2783a4140da14efb7bAffected
  • 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 to before 41c8c1d65b32beacd8d916a22457b4f6e47f45afAffected
LinuxLinux
  • 4.5Affected
  • before 4.5Not affected
  • 5.10.266 through 5.10.*Not affected
  • 5.15.217 through 5.15.*Not affected
  • 6.1.184 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.