Bug 2516246 (CVE-2026-72308) - CVE-2026-72308 kernel: mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()
Summary: CVE-2026-72308 kernel: mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()
Keywords:
Status: NEW
Alias: CVE-2026-72308
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:02 UTC by OSIDB Bzimport
Modified: 2026-08-17 12:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:02:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.