Skip to main content
← All vulnerabilities
CVE-2025-21814

ptp: Ensure info->enable callback is always set

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.78, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

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

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in fdc1e72487781dd7705bcbe30878bee7d5d1f3e8; From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b; From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in 1334c64a5d1de6666e0c9f984db6745083df1eb4; From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in 5d1041c76de656f9f8d5a192218039a9acf9bd00; From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in 81846070cba17125a866e8023c01d3465b153339; From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in 8441aea46445252df5d2eed6deb6d5246fc24002; From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in 755caf4ee1c615ee5717862e427124370f46b1f3; From d94ba80ebbea17f036cecb104398fbcd788aa742 · fixed in fd53aa40e65f518453115b6f56183b0c201db26b

  • Linux Linux

    3.0

  • KernelLinux

    From 3.0.0 · fixed in 5.4.291; From 5.5.0 · fixed in 5.10.235; From 5.11.0 · fixed in 5.15.179; From 5.16.0 · fixed in 6.1.129; From 6.2.0 · fixed in 6.6.78; From 6.7.0 · fixed in 6.12.14; From 6.13.0 · fixed in 6.13.3

References 8

git.kernel.org