{"id":"CVE-2026-72391","aliases":["CVE-2026-72391"],"related":[],"kind":"vulnerability","state":"published","title":"net: phy: sfp: free mii_bus in sfp_i2c_mdiobus_destroy","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: sfp: free mii_bus in sfp_i2c_mdiobus_destroy\n\nsfp_i2c_mdiobus_create() allocates the I2C MDIO bus with mdio_i2c_alloc(),\na plain (non-devm) allocation, and registers it. sfp_i2c_mdiobus_destroy()\nonly unregisters the bus and clears sfp->i2c_mii without calling\nmdiobus_free(). As the only reference to the bus is then cleared, the\nstruct mii_bus is leaked.\n\nThis is hit whenever a copper/RollBall SFP module that instantiated an MDIO\nbus is removed: sfp_sm_main() takes the global teardown path and calls\nsfp_i2c_mdiobus_destroy(). sfp_cleanup(), on driver unbind, frees\nsfp->i2c_mii directly, which is why the leak only triggered on module\nhot-removal and not on unbind.\n\nFree the bus in sfp_i2c_mdiobus_destroy() to match the allocation done in\nsfp_i2c_mdiobus_create().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: sfp: free mii_bus in sfp_i2c_mdiobus_destroy\n\nsfp_i2c_mdiobus_create() allocates the I2C MDIO bus with mdio_i2c_alloc(),\na plain (non-devm) allocation, and registers it. sfp_i2c_mdiobus_destroy()\nonly unregisters the bus and clears sfp->i2c_mii without calling\nmdiobus_free(). As the only reference to the bus is then cleared, the\nstruct mii_bus is leaked.\n\nThis is hit whenever a copper/RollBall SFP module that instantiated an MDIO\nbus is removed: sfp_sm_main() takes the global teardown path and calls\nsfp_i2c_mdiobus_destroy(). sfp_cleanup(), on driver unbind, frees\nsfp->i2c_mii directly, which is why the leak only triggered on module\nhot-removal and not on unbind.\n\nFree the bus in sfp_i2c_mdiobus_destroy() to match the allocation done in\nsfp_i2c_mdiobus_create().","source":"cvelist"}],"published":"2026-08-15T05:56:19.842Z","modified":"2026-08-17T06:19:05.587Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e85b1347ace677c3822c12d9332dfaaffe594da6","fixed":"92dd9a522f01ef57f633a8c1953cf6d48ef2bcd5","status":"affected"},{"type":"git","introduced":"e85b1347ace677c3822c12d9332dfaaffe594da6","fixed":"d2c37f26d1a37f8177be5f354537f8ee3ec31cc2","status":"affected"},{"type":"git","introduced":"e85b1347ace677c3822c12d9332dfaaffe594da6","fixed":"3183b6f5510c876a1c4b4a6bdc3d0ad8940fe742","status":"affected"},{"type":"git","introduced":"e85b1347ace677c3822c12d9332dfaaffe594da6","fixed":"86d379fcf1b79bdf4bc2ac891297f30f63d041d8","status":"affected"},{"type":"git","introduced":"e85b1347ace677c3822c12d9332dfaaffe594da6","fixed":"2381bf3f484e8e4fd89a225445872ec14e036ab5","status":"affected"},{"type":"git","introduced":"e85b1347ace677c3822c12d9332dfaaffe594da6","fixed":"8f31efff9206f9f0adb853cad6916086aac4d5ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/92dd9a522f01ef57f633a8c1953cf6d48ef2bcd5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2c37f26d1a37f8177be5f354537f8ee3ec31cc2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3183b6f5510c876a1c4b4a6bdc3d0ad8940fe742","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86d379fcf1b79bdf4bc2ac891297f30f63d041d8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2381bf3f484e8e4fd89a225445872ec14e036ab5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f31efff9206f9f0adb853cad6916086aac4d5ef","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72391","url":"https://www.cve.org/CVERecord?id=CVE-2026-72391","licence":"CVE Terms of Use","modified":"2026-08-17T05:13:45.125Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72391","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72391","licence":"Public domain","modified":"2026-08-17T06:19:05.587Z"}],"updatedAt":"2026-11-25T22:59:33.106Z","epss":{"score":0.00205,"percentile":0.11151,"date":"2026-12-01T12:00:22.000Z"}}