What’s Vulnerable › Vulnerabilities

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

Description

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: ptp_s390.c, ptp_vclock.c and ptp_mock.c. Instead use a dummy callback if no better was specified by the driver.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.129, 6.12.14, 6.13.3, 6.6.78. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21814 or the next vulnerability affects your stack