1. Home
  2. Vulnerabilities
  3. CVE-2025-21814

CVE-2025-21814

ptp: Ensure info->enable callback is always set

Published 27 Feb 2025 · modified 10 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 28/100

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.

Affected products and versions

Linux (5 line(s))
Linux
ProductVersionsFixed inSource
Linux 3.0 — CNA (vendor or assigner)
Linux kernel from 3.0 (included) to 6.1.129 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.78 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.14 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.13.3 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1298)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-476 · Corruption mémoire

How this data is obtained and calculated