CVE-2026-98594

Source
https://cve.org/CVERecord?id=CVE-2026-98594
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98594.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98594
Downstream
Published
2026-10-18T15:19:06Z
Modified
2026-10-20T02:30:20Z
Summary
tg3: clean up PHYLIB resources on probe failure
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98594.json"
}
References

Affected packages

Git / 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
158d7abdae85e9ac43d99780c372d79c119f7626
Fixed
ce86d6929d03e6b0abcb781dfa50f9f0816bff78
Fixed
a449eedb3b1eb5b8b1f5ed116a1bfe85eaaf81df
Fixed
0844402326d4e48a28688f93ec6442e93bb442fa
Fixed
e766321288b507afb70d2bfef6ba443213329f79
Fixed
d2abb0013b933d59ee441185df0eca9e8c0b33eb
Fixed
6515c41503eef849abd2c7364f34e4bb25110f90
Fixed
b6c0c757c65893ad7bb17e8bcf33cdd8257d7b3d
Fixed
a92e1a412c53dc0d9ad639e7abf8b3fc70a5b6ad

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98594.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.27
Fixed
5.10.271
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.222
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.189
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98594.json"