net: phy: micrel: Allow probing without .driver_data
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e6a423a81da0eb3da755428f4d2df5a9ba13030f · < 143878e18001c5a61fcc7ae5c5240323753bb641| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: phy: micrel: Allow probing without .driver_data
Currently, if the .probe element is present in the phy_driver structure and the .driver_data is not, a NULL pointer dereference happens.
Allow passing .probe without .driver_data by inserting NULL checks for priv->type.
From the CVE record · Linux
The Linux kernel’s Micrel PHY driver can dereference a NULL pointer when a PHY driver provides .probe without .driver_data. The input does not describe how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels that include the Micrel PHY driver should check their versions; affected versions are not specified.