{"id":"CVE-2026-98594","aliases":["CVE-2026-98594"],"related":[],"kind":"vulnerability","state":"published","title":"tg3: clean up PHYLIB resources on probe failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntg3: clean up PHYLIB resources on probe failure\n\ntg3_get_invariants() can register an MDIO bus and connect a PHY for\nUSE_PHYLIB devices. If tg3_init_one() later fails, its common error path\nreleases the mappings and netdev without undoing those PHYLIB resources.\n\nDisconnect the PHY and unregister the MDIO bus before the remaining\nteardown. Guard PHY cleanup with USE_PHYLIB to match tg3_phy_init(), and\ncall tg3_mdio_fini() unconditionally to match tg3_mdio_init(). The existing\nIS_CONNECTED and MDIOBUS_INITED flags make both helpers safe when\ninitialization only completed partially.\n\nThis issue was identified during our ongoing static-analysis research while\nreviewing kernel code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntg3: clean up PHYLIB resources on probe failure\n\ntg3_get_invariants() can register an MDIO bus and connect a PHY for\nUSE_PHYLIB devices. If tg3_init_one() later fails, its common error path\nreleases the mappings and netdev without undoing those PHYLIB resources.\n\nDisconnect the PHY and unregister the MDIO bus before the remaining\nteardown. Guard PHY cleanup with USE_PHYLIB to match tg3_phy_init(), and\ncall tg3_mdio_fini() unconditionally to match tg3_mdio_init(). The existing\nIS_CONNECTED and MDIOBUS_INITED flags make both helpers safe when\ninitialization only completed partially.\n\nThis issue was identified during our ongoing static-analysis research while\nreviewing kernel code.","source":"cvelist"}],"published":"2026-10-18T15:19:06.696Z","modified":"2026-10-19T10:19:20.620Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"ce86d6929d03e6b0abcb781dfa50f9f0816bff78","status":"affected"},{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"a449eedb3b1eb5b8b1f5ed116a1bfe85eaaf81df","status":"affected"},{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"0844402326d4e48a28688f93ec6442e93bb442fa","status":"affected"},{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"e766321288b507afb70d2bfef6ba443213329f79","status":"affected"},{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"d2abb0013b933d59ee441185df0eca9e8c0b33eb","status":"affected"},{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"6515c41503eef849abd2c7364f34e4bb25110f90","status":"affected"},{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"b6c0c757c65893ad7bb17e8bcf33cdd8257d7b3d","status":"affected"},{"type":"git","introduced":"158d7abdae85e9ac43d99780c372d79c119f7626","fixed":"a92e1a412c53dc0d9ad639e7abf8b3fc70a5b6ad","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.27","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.27","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ce86d6929d03e6b0abcb781dfa50f9f0816bff78","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a449eedb3b1eb5b8b1f5ed116a1bfe85eaaf81df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0844402326d4e48a28688f93ec6442e93bb442fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e766321288b507afb70d2bfef6ba443213329f79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2abb0013b933d59ee441185df0eca9e8c0b33eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6515c41503eef849abd2c7364f34e4bb25110f90","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6c0c757c65893ad7bb17e8bcf33cdd8257d7b3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a92e1a412c53dc0d9ad639e7abf8b3fc70a5b6ad","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98594","url":"https://www.cve.org/CVERecord?id=CVE-2026-98594","licence":"CVE Terms of Use","modified":"2026-10-19T09:22:19.792Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98594","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98594","licence":"Public domain","modified":"2026-10-19T10:19:20.620Z"}],"updatedAt":"2026-11-25T22:59:45.239Z","epss":{"score":0.00216,"percentile":0.1285,"date":"2026-12-01T12:00:22.000Z"}}