Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-97973

net: macb: destroy the phylink instance on the probe error path

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 to < 0112aa02c7847314be599d68783d50c7e228a694affected
  • 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 to < c1de1e7b51ab2531f564b39b51998c3d71caccd7affected
  • 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 to < 23b6a44ffea1c54a4232aa86ee470b21422a8cc5affected
  • 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 to < e92a45b872b035c79acde8dd0da096a72b61ff2faffected
  • 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 to < 8558e3195664113c14a4d8fcf221b3caff41fed1affected
  • 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 to < 7d059f390750152b9bd69df934198651b94fc26daffected

Linux Linux

Default version status: affected

  • 5.5affected
  • 0 to < 5.5unaffected
  • 6.1.189 to ≤ 6.1.*unaffected
  • 6.6.158 to ≤ 6.6.*unaffected
  • 6.12.111 to ≤ 6.12.*unaffected
  • 6.18.53 to ≤ 6.18.*unaffected
  • 7.2.7 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References