CVE-2026-72391

net: phy: sfp: free mii_bus in sfp_i2c_mdiobus_destroy

N/A
Published: August 15, 2026 at 05:56 AM UTC
Updated: August 17, 2026 at 06:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: net: phy: sfp: free mii_bus in sfp_i2c_mdiobus_destroy sfp_i2c_mdiobus_create() allocates the I2C MDIO bus with mdio_i2c_alloc(), a plain (non-devm) allocation, and registers it. sfp_i2c_mdiobus_destroy() only unregisters the bus and clears sfp->i2c_mii without calling mdiobus_free(). As the only reference to the bus is then cleared, the struct mii_bus is leaked. This is hit whenever a copper/RollBall SFP module that instantiated an MDIO bus is removed: sfp_sm_main() takes the global teardown path and calls sfp_i2c_mdiobus_destroy(). sfp_cleanup(), on driver unbind, frees sfp->i2c_mii directly, which is why the leak only triggered on module hot-removal and not on unbind. Free the bus in sfp_i2c_mdiobus_destroy() to match the allocation done in sfp_i2c_mdiobus_create().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1 ≤ v < 6.1.1786.1 ≤ v < 6.12.976.1 ≤ v < 6.18.406.1 ≤ v < 6.6.1456.1 ≤ v < 7.1.56.1 ≤ v < 7.26.1e85b1347ace677c3822c12d9332dfaaffe594da6
Vendor states this is fixed in 2381bf3f484e8e4fd89a225445872ec14e036ab5 (fixed)
Vendor states this is fixed in 3183b6f5510c876a1c4b4a6bdc3d0ad8940fe742 (fixed)
Vendor states this is fixed in 86d379fcf1b79bdf4bc2ac891297f30f63d041d8 (fixed)
Vendor states this is fixed in 8f31efff9206f9f0adb853cad6916086aac4d5ef (fixed)
Vendor states this is fixed in 92dd9a522f01ef57f633a8c1953cf6d48ef2bcd5 (fixed)
Vendor states this is fixed in d2c37f26d1a37f8177be5f354537f8ee3ec31cc2 (fixed)
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card