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 BBB83383984 for ; Sun, 18 Oct 2026 15:32:08 +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=1792337530; cv=none; b=nhr5sSeaMdGMhYK30L7kHfypvP4y0cfUx1wDQaVCmcf5BgbsMNtO8jiiu/V9z8ilP5Jo45XK0lZxUXNHzgnWGIJrdEv/3ZZFD2+JJJkOx5P+bWaKAejTmsDbqZE/ZfOh12Hfk7tM+vXNOzzh40nuD5mII6/sFsUr2KmtcHNWUs8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337530; c=relaxed/simple; bh=dS4HLZ5O+wdbI38xrpLcc5FCtw9k3b3UqFzOGYyP7Q0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xu4Zqb9XX3SPs7NLOiMWlLcvV16U1ZbmnbqP4DkuioHOAGs//5qih5v6QuG6Edp0wEn0gOMSv0Z5YczT7/RBREZ68eVoPDuApuzHanVySQGXhoH+jgJkoF27WnmA5hOAiY0UkfLRjhY4jEAt1xyqzM68QLcRzlnaZzKW7pLltqo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BWGVQUD9; 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="BWGVQUD9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2A5B1F000C4; Sun, 18 Oct 2026 15:32:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337528; bh=QYtG4mxVEmxRMctkH9SumJV/AbEYpRXGHHLE1NlLMhE=; h=From:To:Cc:Subject:Date:Reply-To; b=BWGVQUD9w94x9R2fBAeioFd3DDnDPpvx6Uh6NoLtFkM2AVx0rnCa8+VakhfXOg0Kn 48tx2/5TiPQUE0UWdSlr25cJFfmJwYwYMk8XnAlRBfXkfll5472+NGWQYMA9cEThlf 4g3aQm47Q0AQh6nr060Q77yj+BQQ3HbQi6jfGgis= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98594: tg3: clean up PHYLIB resources on probe failure Date: Sun, 18 Oct 2026 17:17:38 +0200 Message-ID: <2026101836-CVE-2026-98594-fddf@gregkh> X-Mailer: git-send-email 2.56.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=3810; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hFHiO3dWgbMMvvyJRNKo+r84qbPThDyEL/P+pIjkLzM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHs0QyPYoK3ctWXZM5lxd2TuP11sspjCcrZi12E1ET Kb85cWZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRyGsMc2U/q17bpfNTh+dS sk8B17En13bsYWeYp867RGFad0ir7FwGA6tzNf99jEqkAQ== 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: tg3: clean up PHYLIB resources on probe failure tg3_get_invariants() can register an MDIO bus and connect a PHY for USE_PHYLIB devices. If tg3_init_one() later fails, its common error path releases the mappings and netdev without undoing those PHYLIB resources. Disconnect the PHY and unregister the MDIO bus before the remaining teardown. Guard PHY cleanup with USE_PHYLIB to match tg3_phy_init(), and call tg3_mdio_fini() unconditionally to match tg3_mdio_init(). The existing IS_CONNECTED and MDIOBUS_INITED flags make both helpers safe when initialization only completed partially. This issue was identified during our ongoing static-analysis research while reviewing kernel code. The Linux kernel CVE team has assigned CVE-2026-98594 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 5.10.271 with commit ce86d6929d03e6b0abcb781dfa50f9f0816bff78 Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 5.15.222 with commit a449eedb3b1eb5b8b1f5ed116a1bfe85eaaf81df Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 6.1.189 with commit 0844402326d4e48a28688f93ec6442e93bb442fa Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 6.6.158 with commit e766321288b507afb70d2bfef6ba443213329f79 Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 6.12.112 with commit d2abb0013b933d59ee441185df0eca9e8c0b33eb Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 6.18.55 with commit 6515c41503eef849abd2c7364f34e4bb25110f90 Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 7.2.9 with commit b6c0c757c65893ad7bb17e8bcf33cdd8257d7b3d Issue introduced in 2.6.27 with commit 158d7abdae85e9ac43d99780c372d79c119f7626 and fixed in 7.3-rc5 with commit a92e1a412c53dc0d9ad639e7abf8b3fc70a5b6ad 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-98594 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/broadcom/tg3.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/ce86d6929d03e6b0abcb781dfa50f9f0816bff78 https://git.kernel.org/stable/c/a449eedb3b1eb5b8b1f5ed116a1bfe85eaaf81df https://git.kernel.org/stable/c/0844402326d4e48a28688f93ec6442e93bb442fa https://git.kernel.org/stable/c/e766321288b507afb70d2bfef6ba443213329f79 https://git.kernel.org/stable/c/d2abb0013b933d59ee441185df0eca9e8c0b33eb https://git.kernel.org/stable/c/6515c41503eef849abd2c7364f34e4bb25110f90 https://git.kernel.org/stable/c/b6c0c757c65893ad7bb17e8bcf33cdd8257d7b3d https://git.kernel.org/stable/c/a92e1a412c53dc0d9ad639e7abf8b3fc70a5b6ad