CVE-2025-21814: ptp: Ensure info->enable callback is always set

Published Feb 27, 2025
·
Updated

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

ptp: Ensure info->enable callback is always set

The ioctl and sysfs handlers unconditionally call the ->enable callback. Not all drivers implement that callback, leading to NULL dereferences. Example of affected drivers: ptps390.c, ptpvclock.c and ptpmock.c.

Instead use a dummy callback if no better was specified by the driver.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=3.0<6.1.129
Linux Linux kernel>=6.2<6.6.78
Linux Linux kernel>=6.7<6.12.14
Linux Linux kernel>=6.13<6.13.3
Microsoft cbl2 kernel 5.15.182.1-1
Microsoft cbl2 kernel 5.15.179.1-1
Microsoft azl3 kernel 6.6.64.2-9
Microsoft cbl2 kernel 5.15.182.1-1
Microsoft azl3 kernel 6.6.78.1-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the ptp subsystem so that the ptp info->enable callback is always set; if a driver does not implement it, use a dummy callback instead to prevent NULL dereferences in the ioctl and sysfs handlers.

    Linux kernel ptp subsystem info->enable callback = always set (use dummy callback when driver does not specify enable callback)

Event History

Feb 27, 2025
CVE Published
via MITRE·08:04 PM
Data Sourced
via MITRE·08:04 PM
Description
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 14, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21814?

CVE-2025-21814 has a medium severity rating due to its potential to cause NULL pointer dereferences.

2

How do I fix CVE-2025-21814?

To fix CVE-2025-21814, update your Linux kernel to the latest version where this vulnerability has been patched.

3

What is affected by CVE-2025-21814?

CVE-2025-21814 affects the Linux kernel, specifically in drivers that do not implement the ->enable callback.

4

How can I determine if my system is vulnerable to CVE-2025-21814?

To determine if your system is vulnerable to CVE-2025-21814, check the version of your Linux kernel against the known affected versions.

5

Are there any workarounds for CVE-2025-21814?

Currently, the recommended action for CVE-2025-21814 is to apply the kernel update as there are no reliable workarounds available.

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