{"id":"CVE-2026-64228","published":"2026-07-24T15:23:11Z","modified":"2026-07-24T15:23:11Z","title":"net: ethtool: phy: avoid NULL deref when PHY driver is unbound","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethtool: phy: avoid NULL deref when PHY driver is unbound\n\nphydev->drv can become NULL while the phy_device is still attached to\nits net_device, namely after the PHY driver is unbound via sysfs:\n\n\techo <mdio_id> > /sys/bus/mdio_bus/drivers/<phy_drv>/unbind\n\nphy_remove() clears phydev->drv but doesn't call phy_detach(), so the\nphy_device stays in the link topology xarray and ethnl_req_get_phydev()\nstill hands it back. ETHTOOL_MSG_PHY_GET then oopses on:\n\n\trep_data->drvname = kstrdup(phydev->drv->name, GFP_KERNEL);\n\ndrvname is already treated as optional by phy_reply_size(),\nphy_fill_reply() and phy_cleanup_data(), so just skip the allocation\nwhen there is no driver bound.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.05136,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3586924625559e6f9876d726c80ff0a75f0d5849","tags":[]},{"url":"https://git.kernel.org/stable/c/17fe2381f967d353183f374a1c0181a6d194158c","tags":[]},{"url":"https://git.kernel.org/stable/c/e3adf69f8eb121a9128c2b0029efd050d3649153","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":1.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9dd2ad5e92b962d1349a7541d167e8e214e49f95, < 3586924625559e6f9876d726c80ff0a75f0d5849",">= 9dd2ad5e92b962d1349a7541d167e8e214e49f95, < 17fe2381f967d353183f374a1c0181a6d194158c",">= 9dd2ad5e92b962d1349a7541d167e8e214e49f95, < e3adf69f8eb121a9128c2b0029efd050d3649153"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2026-48636","exploited":false,"provenance":"source"}}