Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.

Linux Kernel: ptp Drivers May Crash

published 1 year ago
Summary

The Linux kernel's ptp drivers may crash if they don't have an 'enable' callback. This can happen when users interact with the drivers through the command line or system settings. To fix this, the kernel developers have added a default 'enable' callback to prevent crashes.

What to do
  • Update linux kernel to version 6.13.3.
Affected software
Ecosystem VendorProductAffected versions
Linux linux kernel >= 6.13.0, < 6.13.3
Fix: upgrade to 6.13.3
Original advisory text
ptp: Ensure info->enable callback is always set
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.
Timeline
Published27 Feb 2025
Updated16 Jul 2026
First seen16 Jul 2026
Track software like this
Free during beta