CVE-2026-72308

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux0d65fc13042fce6a2d6de58ff0dc9531e8523c07 < 8b3350eacd9df0597bfe36a594df7b9def0b3edfaffected
LinuxLinux0d65fc13042fce6a2d6de58ff0dc9531e8523c07 < 1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7eaffected
LinuxLinux0d65fc13042fce6a2d6de58ff0dc9531e8523c07 < 2d8b3c3e129973a51ae924bdcf6993a76b828814affected
LinuxLinux0d65fc13042fce6a2d6de58ff0dc9531e8523c07 < cab468c3c03f4bcd7530ce2783a4140da14efb7baffected
LinuxLinux0d65fc13042fce6a2d6de58ff0dc9531e8523c07 < 41c8c1d65b32beacd8d916a22457b4f6e47f45afaffected
LinuxLinux4.5affected
LinuxLinux0 < 4.5unaffected
LinuxLinux6.6.145 <= 6.6.*unaffected
LinuxLinux6.12.97 <= 6.12.*unaffected
LinuxLinux6.18.40 <= 6.18.*unaffected
LinuxLinux7.1.5 <= 7.1.*unaffected
LinuxLinux7.2 <= *unaffected

Weaknesses

References