In the Linux kernel, the following vulnerability has been resolved: tg3: clean up PHYLIB resources on probe failure tg3_get_invariants() can… (CVE-2026-98594)
Description
A vulnerability in the Linux kernel's tg3 driver was resolved involving improper cleanup of PHYLIB resources on probe failure. The tg3_get_invariants() function can register an MDIO bus and connect a PHY for USE_PHYLIB devices, but if tg3_init_one() fails afterward, the error path does not properly release these PHYLIB resources. The fix ensures the PHY is disconnected and the MDIO bus unregistered before completing teardown, preventing resource leaks.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel tg3 driver had a resource management vulnerability where PHYLIB resources were not properly cleaned up on probe failure. Specifically, tg3_get_invariants() registers an MDIO bus and connects a PHY for USE_PHYLIB devices, but if tg3_init_one() fails later, the error handling path releases mappings and netdev without undoing PHYLIB resources. The patch introduces disconnection of the PHY and unregistration of the MDIO bus before teardown, with guards to ensure safe cleanup even if initialization was partial. This issue was found during static analysis of kernel code.
Potential Impact
The vulnerability could lead to resource leaks in the kernel's tg3 driver during device initialization failures. While the description does not specify direct security impact such as code execution or denial of service, improper cleanup could potentially affect system stability or reliability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly clean up PHYLIB resources on probe failure in the tg3 driver. Users should update to the fixed kernel version once available. Since this is a kernel-level fix, applying the official kernel update from the vendor or distribution is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2vwq-f5h6-r9rw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98594"]
Threat ID: 6ad520af2cdf04f656993a9f
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 21:04:03 UTC
Last updated: 10/18/2026, 22:48:19 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.