Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E26CC36B912 for ; Sat, 15 Aug 2026 06:21:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774900; cv=none; b=cQ3UOjqgNzhOR5MNUIQvdWuYS5WBvt8hodvt20s89ywBglM3eYbY2drbQBDe0dXekbncRIlH+lqfAjqD9gde9cDblKgqhLDAMP3q1uB9udV6de/tKKrxfmS6KsIW0vHL27pPzkkCEjUGXSNe9ulO+W/UFc11RJ/4nNsFgGONhDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774900; c=relaxed/simple; bh=OsSfgZwHjdq1HE3XQag8fZ4Qa2apBj6n+iHAVb2QJag=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dT+ZzPcGJFrfsrihghBnw6DnDP4v5l2qWAAhWMojTMHBXGIN8J0lwTL9+N18RNhQCHvBLtlOaz3OTxitFzb8pCW1XFPiTJO5dNDCcfmKG+YqmWW8q0kMfhd0j4rHI1/dYLrFeWLxOw0CuQE8YBuRcEI02JA7w07hEgnphkxRx/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B84cXFZa; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="B84cXFZa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44B2C1F000E9; Sat, 15 Aug 2026 06:21:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774898; bh=WDeS21I3VllE//B2BRHcncrZhD5W8O1jNptbZ5LVOF4=; h=From:To:Cc:Subject:Date:Reply-To; b=B84cXFZaqIsD+sbueGvpu1bK3ULhFQIKK5EFMgfhVmgZ/QEvSblJirray3wsYhcpc b6eVZFAO/CJlx1gUEcsbj3zShdlOOUO3bX54MjnO3BwC7c+R7ZSFY5AfIKKIzKvLeD XocFhpTt2+zI9/Juk+jCXen+60RkS+nxrdsNCop4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72308: mlxsw: fix refcount leak in mlxsw_sp_port_lag_join() Date: Sat, 15 Aug 2026 15:06:27 +0900 Message-ID: <2026081504-CVE-2026-72308-c2fb@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2908; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=arvQNhi2JzKEjQF+wZFdAFrmLJ0rajcbaVKre1suCKY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDHd+/1lp0xU78/T7cE/2Vf1BU4/dWvfltknPuTCre pYb4TMYO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi8zoZ5pfVSKXkGR7Y9HQG U5x2yS72C27TzzEsWOrJxuiVfDvyxXLWmf8Knmz32lphAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-72308 to this issue. Affected and fixed versions =========================== Issue introduced in 4.5 with commit 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 and fixed in 6.6.145 with commit 8b3350eacd9df0597bfe36a594df7b9def0b3edf Issue introduced in 4.5 with commit 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 and fixed in 6.12.97 with commit 1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e Issue introduced in 4.5 with commit 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 and fixed in 6.18.40 with commit 2d8b3c3e129973a51ae924bdcf6993a76b828814 Issue introduced in 4.5 with commit 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 and fixed in 7.1.5 with commit cab468c3c03f4bcd7530ce2783a4140da14efb7b Issue introduced in 4.5 with commit 0d65fc13042fce6a2d6de58ff0dc9531e8523c07 and fixed in 7.2-rc1 with commit 41c8c1d65b32beacd8d916a22457b4f6e47f45af Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72308 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/mellanox/mlxsw/spectrum.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/8b3350eacd9df0597bfe36a594df7b9def0b3edf https://git.kernel.org/stable/c/1cf8a1af42b1f12a30b7abd34fe4fc23b3170e7e https://git.kernel.org/stable/c/2d8b3c3e129973a51ae924bdcf6993a76b828814 https://git.kernel.org/stable/c/cab468c3c03f4bcd7530ce2783a4140da14efb7b https://git.kernel.org/stable/c/41c8c1d65b32beacd8d916a22457b4f6e47f45af