CVE-2026-64228

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
24/07/2026
Last modified:
13/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net: ethtool: phy: avoid NULL deref when PHY driver is unbound<br /> <br /> phydev-&gt;drv can become NULL while the phy_device is still attached to<br /> its net_device, namely after the PHY driver is unbound via sysfs:<br /> <br /> echo &gt; /sys/bus/mdio_bus/drivers//unbind<br /> <br /> phy_remove() clears phydev-&gt;drv but doesn&amp;#39;t call phy_detach(), so the<br /> phy_device stays in the link topology xarray and ethnl_req_get_phydev()<br /> still hands it back. ETHTOOL_MSG_PHY_GET then oopses on:<br /> <br /> rep_data-&gt;drvname = kstrdup(phydev-&gt;drv-&gt;name, GFP_KERNEL);<br /> <br /> drvname is already treated as optional by phy_reply_size(),<br /> phy_fill_reply() and phy_cleanup_data(), so just skip the allocation<br /> when there is no driver bound.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.16 (including) 6.18.34 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 7.0.11 (excluding)
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*