net: ti: icssg_prueth: Fix NULL pointer dereference in prueth_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ti: icssg_prueth: Fix NULL pointer dereference in prueth_probe()
In the prueth_probe() function, if one of the calls to emac_phy_connect() fails due to of_phy_connect() returning NULL, then the subsequent call to phy_attached_info() will dereference a NULL pointer.
Check the return code of emac_phy_connect and fail cleanly if there is an error.
From the CVE record · Linux
The Linux kernel’s icssg_prueth driver can dereference a NULL pointer in prueth_probe() if of_phy_connect() returns NULL and emac_phy_connect() fails. This can cause a kernel crash; the input does not establish an attacker trigger or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with the icssg_prueth driver should check their versions; affected versions are not specified.