CVE-2026-97973
net: macb: destroy the phylink instance on the probe error path
- State
- Published
- Severity
- Not scored
- Published
- Sep 25, 2026
- Updated
- Oct 19, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
net: macb: destroy the phylink instance on the probe error path
macb_mii_init() creates a phylink instance on both of its success paths, but the probe unwind frees the netdev without destroying it, so a failing macb_alloc_tieoff() or register_netdev() leaks the instance.
Destroy it at err_out_unregister_mdio, which is only reachable once macb_mii_init() has succeeded, so bp->phylink is valid there.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/0112aa02c7847314be599d68783d50c7e228a694
- https://git.kernel.org/stable/c/c1de1e7b51ab2531f564b39b51998c3d71caccd7
- https://git.kernel.org/stable/c/23b6a44ffea1c54a4232aa86ee470b21422a8cc5
- https://git.kernel.org/stable/c/e92a45b872b035c79acde8dd0da096a72b61ff2f
- https://git.kernel.org/stable/c/8558e3195664113c14a4d8fcf221b3caff41fed1
- https://git.kernel.org/stable/c/7d059f390750152b9bd69df934198651b94fc26d
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.