tg3: clean up PHYLIB resources on probe failure

Summary

CVECVE-2026-98594
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:12 UTC
Updated2026-10-19 10:19:20 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 ce86d6929d03e6b0abcb781dfa50f9f0816bff78 git Not specified
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 a449eedb3b1eb5b8b1f5ed116a1bfe85eaaf81df git Not specified
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 0844402326d4e48a28688f93ec6442e93bb442fa git Not specified
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 e766321288b507afb70d2bfef6ba443213329f79 git Not specified
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 d2abb0013b933d59ee441185df0eca9e8c0b33eb git Not specified
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 6515c41503eef849abd2c7364f34e4bb25110f90 git Not specified
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 b6c0c757c65893ad7bb17e8bcf33cdd8257d7b3d git Not specified
CNA Linux Linux affected 158d7abdae85e9ac43d99780c372d79c119f7626 a92e1a412c53dc0d9ad639e7abf8b3fc70a5b6ad git Not specified
CNA Linux Linux affected 2.6.27 Not specified
CNA Linux Linux unaffected 2.6.27 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.55 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.9 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a449eedb3b1eb5b8b1f5ed116a1bfe85eaaf81df 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e766321288b507afb70d2bfef6ba443213329f79 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d2abb0013b933d59ee441185df0eca9e8c0b33eb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6515c41503eef849abd2c7364f34e4bb25110f90 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ce86d6929d03e6b0abcb781dfa50f9f0816bff78 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a92e1a412c53dc0d9ad639e7abf8b3fc70a5b6ad 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b6c0c757c65893ad7bb17e8bcf33cdd8257d7b3d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0844402326d4e48a28688f93ec6442e93bb442fa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report