CVE-2025-21814

ptp: Ensure info->enable callback is always set

No CVSS score yet EPSS 0.31%

Published 27 Feb 2025 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2025-21814

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21814 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before fdc1e72487781dd7705bcbe30878bee7d5d1f3e8
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before 1334c64a5d1de6666e0c9f984db6745083df1eb4
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before 5d1041c76de656f9f8d5a192218039a9acf9bd00
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before 81846070cba17125a866e8023c01d3465b153339
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before 8441aea46445252df5d2eed6deb6d5246fc24002
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before 755caf4ee1c615ee5717862e427124370f46b1f3
affected from d94ba80ebbea17f036cecb104398fbcd788aa742, before fd53aa40e65f518453115b6f56183b0c201db26b
Other versions: unaffected
Linux
affected 3.0
unaffected before 3.0
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.78 up to and including 6.6.*
unaffected from 6.12.14 up to and including 6.12.*
unaffected from 6.13.3 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21814 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21814

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-21814
trivy image --scanners vuln IMAGE | grep CVE-2025-21814

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-21814 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.