VDB

CVE-2026-64228

CVE-2026-64228 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18-toolsAmazon Linux1:6.18.35-68.127.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.35-68.127.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.35-68.127.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.35-68.127.amzn2023
kernel6.18-headersAmazon Linux1:6.18.35-68.127.amzn2023
kernel-livepatch-6.18.35-68.127Amazon Linux1:1.0-0.amzn2023
linux_kernellinux7.0.11, 6.18.34
LinuxLinuxe3adf69f8eb121a9128c2b0029efd050d3649153

Risk scores

EPSS Score
0.16%
5.2th percentile

Affected products

VendorProductVersions
LinuxLinux9dd2ad5e92b962d1349a7541d167e8e214e49f95, 9dd2ad5e92b962d1349a7541d167e8e214e49f95, 9dd2ad5e92b962d1349a7541d167e8e214e49f95
LinuxLinux6.16, 0, 6.18.34
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.18.35-68.1270
LinuxLinux0, 7.1, 7.0.11
amazon:2023kernel6.180
linuxlinux_kernel6.16, 6.16, 6.16
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.180
amazon:2023kernel6.18-devel0
amazon:2023python3-perf6.180

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›