Skip to content
Not rated

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 and versions

Product Affected versions Fixed in
Linux 6.14 earliest → < 6.14 6.14
Linux 6.13 earliest → < 6.13.3 6.13.3
Linux 6.12 earliest → < 6.12.14 6.12.14
Linux 6.6 earliest → < 6.6.78 6.6.78
Linux 6.1 earliest → < 6.1.129 6.1.129
Linux 5.15 earliest → < 5.15.179 5.15.179
Linux 5.10 earliest → < 5.10.235 5.10.235
Linux 5.4 earliest → < 5.4.291 5.4.291
Linux 3.0 No fix stated
Show the 4 other branches
Product Affected versions Fixed in
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions not published
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
The 18286 CVEs of Linux →
Track this CVE