CVE-2026-72308
mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the kernel patch for mlxsw: fix refcount leak.
- Ensure mlxsw_sp_port_lag_join handles errors correctly.
- Verify lag reference is released on error paths.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72308.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72308 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72308
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72308 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72308 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '8b3350eacd9df0597bfe36a594df7b9def0b3edf', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '2d8b3c3e129973a51ae924bdcf6993a76b828814', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': 'cab468c3c03f4bcd7530ce2783a4140da14efb7b', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '41c8c1d65b32beacd8d916a22457b4f6e47f45af', 'versionType': 'git'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlxsw/spectrum.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlxsw/spectrum.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '8b3350eacd9df0597bfe36a594df7b9def0b3edf', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '2d8b3c3e129973a51ae924bdcf6993a76b828814', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': 'cab468c3c03f4bcd7530ce2783a4140da14efb7b', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '41c8c1d65b32beacd8d916a22457b4f6e47f45af', 'versionType': 'git'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlxsw/spectrum.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlxsw/spectrum.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '8b3350eacd9df0597bfe36a594df7b9def0b3edf', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '2d8b3c3e129973a51ae924bdcf6993a76b828814', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': 'cab468c3c03f4bcd7530ce2783a4140da14efb7b', 'versionType': 'git'}, {'status': 'affected', 'version': '0d65fc13042fce6a2d6de58ff0dc9531e8523c07', 'lessThan': '41c8c1d65b32beacd8d916a22457b4f6e47f45af', 'versionType': 'git'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlxsw/spectrum.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ethernet/mellanox/mlxsw/spectrum.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e Added Reference https://git.kernel.org/stable/c/2d8b3c3e129973a51ae924bdcf6993a76b828814 Added Reference https://git.kernel.org/stable/c/41c8c1d65b32beacd8d916a22457b4f6e47f45af Added Reference https://git.kernel.org/stable/c/8b3350eacd9df0597bfe36a594df7b9def0b3edf Added Reference https://git.kernel.org/stable/c/cab468c3c03f4bcd7530ce2783a4140da14efb7b