net: phy: micrel: Fix potential null pointer dereference
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: phy: micrel: Fix potential null pointer dereference
In lan8814_get_sig_rx() and lan8814_get_sig_tx() ptp_parse_header() may return NULL as ptp_header due to abnormal packet type or corrupted packet. Fix this bug by adding ptp_header check.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel’s Micrel PHY driver may dereference a null pointer in lan8814_get_sig_rx() or lan8814_get_sig_tx() when processing an abnormal or corrupted packet. The input does not establish whether an attacker can trigger this remotely, whether authentication or user interaction is required, or what the resulting impact is.
Engineers running Linux kernels that include the affected Micrel PHY driver should check their versions; affected versions are not specified.