CVE-2025-21814

ptp: Ensure info->enable callback is always set

MEDIUM
5.5
CVSS Score
Published: February 27, 2025 at 08:04 PM UTC
Updated: October 15, 2026 at 02:17 AM UTC
5 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.0 ≤ v < 6.1.1296.13 ≤ v < 6.13.36.2 ≤ v < 6.6.786.7 ≤ v < 6.12.143.0d94ba80ebbea17f036cecb104398fbcd788aa742
Vendor states this is fixed in 1334c64a5d1de6666e0c9f984db6745083df1eb4 (fixed)
Vendor states this is fixed in 5d1041c76de656f9f8d5a192218039a9acf9bd00 (fixed)
Vendor states this is fixed in 755caf4ee1c615ee5717862e427124370f46b1f3 (fixed)
Vendor states this is fixed in 81846070cba17125a866e8023c01d3465b153339 (fixed)
Vendor states this is fixed in 8441aea46445252df5d2eed6deb6d5246fc24002 (fixed)
Vendor states this is fixed in 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b (fixed)
Vendor states this is fixed in fd53aa40e65f518453115b6f56183b0c201db26b (fixed)
Vendor states this is fixed in fdc1e72487781dd7705bcbe30878bee7d5d1f3e8 (fixed)
Vendor states this is fixed in 3.0 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.14 (unaffected)
Vendor states this is fixed in 6.13.3 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.78 (unaffected)

References (14)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card