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.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A reference count leak was identified in the Linux kernel’s Mellanox mlxsw switch driver. The flaw occurs when the function that joins a link aggregation group fails: the reference obtained for the LAG is not released, causing the count to grow indefinitely. This flaw could allow an attacker to consume kernel resources over time, although no direct code execution is possible.

Affected Systems

All Linux kernel builds that include the Mellanox mlxsw switch driver before the recent patch. The affected code paths are mlxsw_sp_port_lag_join, mlxsw_sp_port_lag_index_get, and mlxsw_sp_lag_get. The issue exists in any distribution kernel that compiles and uses the mlxsw driver on physical or virtual machines.

Risk and Exploitability

The CVSS score of 5.5 reflects moderate severity, and the EPSS score of < 1 % indicates a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog and no publicly available exploits exist. An attacker would need to trigger the error path in the mlxsw_sp_port_lag_join function, which requires kernel access, making it difficult to exploit remotely from unprivileged contexts.

Generated by OpenCVE AI on August 18, 2026 at 04:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that incorporates the mlxsw_sp_port_lag_join patch as referenced in the provided commit URLs.
  • If a kernel upgrade is not immediately feasible, apply the specific patch changes from the commit diffs to the kernel source tree and rebuild the kernel.
  • If the Mellanox mlxsw driver is not required, disable or remove it from the system to eliminate the exposure until a proper patch is in place.

Generated by OpenCVE AI on August 18, 2026 at 04:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 23 Aug 2026 13:15:00 +0000


Tue, 18 Aug 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-778

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Sat, 15 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-778

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-23T12:47:14.564Z

Reserved: 2026-08-09T03:40:39.918Z

Link: CVE-2026-72308

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:03.570

Modified: 2026-08-23T13:16:43.340

Link: CVE-2026-72308

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72308 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T04:45:04Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count