CVE-2026-72391

Source
https://cve.org/CVERecord?id=CVE-2026-72391
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72391.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72391
Downstream
Published
2026-08-15T05:56:19Z
Modified
2026-08-18T03:31:05Z
Summary
net: phy: sfp: free mii_bus in sfp_i2c_mdiobus_destroy
Details

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().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72391.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e85b1347ace677c3822c12d9332dfaaffe594da6
Fixed
92dd9a522f01ef57f633a8c1953cf6d48ef2bcd5
Fixed
d2c37f26d1a37f8177be5f354537f8ee3ec31cc2
Fixed
3183b6f5510c876a1c4b4a6bdc3d0ad8940fe742
Fixed
86d379fcf1b79bdf4bc2ac891297f30f63d041d8
Fixed
2381bf3f484e8e4fd89a225445872ec14e036ab5
Fixed
8f31efff9206f9f0adb853cad6916086aac4d5ef

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72391.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72391.json"