CVE-2024-35891 net: phy: micrel: Fix potential null pointer dereference
A null pointer dereference in the Linux kernel's Micrel PHY driver can cause a system crash when processing corrupted PTP packets.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-35891?
CVE-2024-35891 is a high-severity vulnerability in Linux kernel, published on 19 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2024-35891?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35891?
Apply the vendor's patch.
Is CVE-2024-35891 being exploited?
There is no known exploitation of CVE-2024-35891 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-35891, DEBIAN-CVE-2024-35891, GHSA-fgcp-9269-xjj7, UBUNTU-CVE-2024-35891.