CVE-2025-40239: net: phy: micrel: always set shared->phydev for LAN8814

Published Dec 4, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: phy: micrel: always set shared->phydev for LAN8814

Currently, during the LAN8814 PTP probe shared->phydev is only set if PTP clock gets actually set, otherwise the function will return before setting it.

This is an issue as shared->phydev is unconditionally being used when IRQ is being handled, especially in lan8814gpioprocesscap and since it was not set it will cause a NULL pointer exception and crash the kernel.

So, simply always set shared->phydev to avoid the NULL pointer exception.

Affected Software

1 affected component
Linux Kernel

Event History

Dec 4, 2025
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
Description
Data Sourced
via NVD·04:16 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-40239?

CVE-2025-40239 is categorized as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-40239?

To fix CVE-2025-40239, update your Linux kernel to the latest version provided by your distribution.

3

What software is affected by CVE-2025-40239?

CVE-2025-40239 affects the Linux Kernel, particularly the LAN8814 PTP probe functionality.

4

What is the impact of CVE-2025-40239?

The impact of CVE-2025-40239 may include potential issues with precise time protocol functionality due to the improper setting of shared->phydev.

5

When was CVE-2025-40239 published?

CVE-2025-40239 was published as part of the Linux kernel updates that address various vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203