# CVE-2026-97973: net: macb: destroy the phylink instance on the probe error path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:12.759Z
- Modified: 2026-10-19T10:17:48.670Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 before 0112aa02c7847314be599d68783d50c7e228a694; from 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 before c1de1e7b51ab2531f564b39b51998c3d71caccd7; from 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 before 23b6a44ffea1c54a4232aa86ee470b21422a8cc5; from 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 before e92a45b872b035c79acde8dd0da096a72b61ff2f; from 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 before 8558e3195664113c14a4d8fcf221b3caff41fed1; from 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 before 7d059f390750152b9bd69df934198651b94fc26d; 5.5 (not affected: before 5.5; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-97973](https://www.cve.org/CVERecord?id=CVE-2026-97973), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97973](https://nvd.nist.gov/vuln/detail/CVE-2026-97973), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97973 · Whole record: https://cve.day/CVE-2026-97973.json · Rebuilt by cve.day 2026-11-25T22:59:41.008Z
