{"id":"CVE-2026-72308","summary":"mlxsw: fix refcount leak in mlxsw_sp_port_lag_join()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmlxsw: fix refcount leak in mlxsw_sp_port_lag_join()\n\nWhen mlxsw_sp_port_lag_index_get() fails, mlxsw_sp_port_lag_join()\nreturns an error without releasing the lag reference obtained by\nthe earlier mlxsw_sp_lag_get().  All other error paths in the\nfunction jump to the cleanup label that ends with\nmlxsw_sp_lag_put(), so this is a single missed release.\n\nFix the leak by replacing the bare 'return err' with a goto to the\nexisting error cleanup label, which will drop the reference safely.","modified":"2026-08-16T03:48:40.050793161Z","published":"2026-08-15T05:55:25.260Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72308.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d8b3c3e129973a51ae924bdcf6993a76b828814"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41c8c1d65b32beacd8d916a22457b4f6e47f45af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b3350eacd9df0597bfe36a594df7b9def0b3edf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cab468c3c03f4bcd7530ce2783a4140da14efb7b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72308.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72308"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0d65fc13042fce6a2d6de58ff0dc9531e8523c07"},{"fixed":"8b3350eacd9df0597bfe36a594df7b9def0b3edf"},{"fixed":"1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e"},{"fixed":"2d8b3c3e129973a51ae924bdcf6993a76b828814"},{"fixed":"cab468c3c03f4bcd7530ce2783a4140da14efb7b"},{"fixed":"41c8c1d65b32beacd8d916a22457b4f6e47f45af"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72308.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72308.json"}}],"schema_version":"1.9.0"}