CVE-2026-64228
net: ethtool: phy: avoid NULL deref when PHY driver is unbound
Reported by linux · Published July 24, 2026
In the Linux kernel, the following vulnerability has been resolved: net: ethtool: phy: avoid NULL deref when PHY driver is unbound phydev->drv can become NULL while the phy_device is still attached to its net_device, namely after the PHY driver is unbound via sysfs: echo <mdio_id> > /sys/bus/mdio_bus/drivers/<phy_drv>/unbind phy_remove() clears phydev->drv but doesn't call phy_detach(), so the phy_device stays in the link topology xarray and ethnl_req_get_phydev() still hands it back. ETHTOOL_MSG_PHY_GET then oopses on: rep_data->drvname = kstrdup(phydev->drv->name, GFP_KERNEL); drvname is already treated as optional by phy_reply_size(), phy_fill_reply() and phy_cleanup_data(), so just skip the allocation when there is no driver bound.
EPSS 0.16% · 5.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel-livepatch-6.18.35-68.127 | Amazon Linux | 1:1.0-0.amzn2023 |
| linux_kernel | linux | 7.0.11, 6.18.34 |
| Linux | Linux | e3adf69f8eb121a9128c2b0029efd050d3649153 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9dd2ad5e92b962d1349a7541d167e8e214e49f95, 9dd2ad5e92b962d1349a7541d167e8e214e49f95, 9dd2ad5e92b962d1349a7541d167e8e214e49f95 |
| Linux | Linux | 6.16, 0, 6.18.34 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.35-68.127 | 0 |
| Linux | Linux | 0, 7.1, 7.0.11 |
| amazon:2023 | kernel6.18 | 0 |
| linux | linux_kernel | 6.16, 6.16, 6.16 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
Timeline
- Jul 24, 2026 Coalition ESS Score
- Jul 24, 2026 CVE Published
- Jul 25, 2026 EPSS Score (8 in total, the first dated here)
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64228
vulnetix vdb fixes CVE-2026-64228
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64228/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart