# CVE-2025-21814: ptp: Ensure info-\>enable callback is always set

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2025-02-27T20:04:14.089Z
- **Modified:** 2026-11-10T13:17:36.577Z

## Who should check

- Anyone running Linux \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< fdc1e72487781dd7705bcbe30878bee7d5d1f3e8; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 1334c64a5d1de6666e0c9f984db6745083df1eb4; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 5d1041c76de656f9f8d5a192218039a9acf9bd00; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 81846070cba17125a866e8023c01d3465b153339; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 8441aea46445252df5d2eed6deb6d5246fc24002; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 755caf4ee1c615ee5717862e427124370f46b1f3; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< fd53aa40e65f518453115b6f56183b0c201db26b
- Anyone running Linux 3.0

## 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 and fixed versions

- Linux: \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< fdc1e72487781dd7705bcbe30878bee7d5d1f3e8; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 1334c64a5d1de6666e0c9f984db6745083df1eb4; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 5d1041c76de656f9f8d5a192218039a9acf9bd00; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 81846070cba17125a866e8023c01d3465b153339; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 8441aea46445252df5d2eed6deb6d5246fc24002; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 755caf4ee1c615ee5717862e427124370f46b1f3; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< fd53aa40e65f518453115b6f56183b0c201db26b (cvelist)
- Linux: 3.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21814. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21814.md
Affected: Linux >= d94ba80ebbea17f036cecb104398fbcd788aa742, < fdc1e72487781dd7705bcbe30878bee7d5d1f3e8; >= d94ba80ebbea17f036cecb104398fbcd788aa742, < 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b; >= d94ba80ebbea17f036cecb104398fbcd788aa742, < 1334c64a5d1de6666e0c9f984db6745083df1eb4; >= d94ba80ebbea17f036cecb1…
Fixed in: Linux 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b, Linux 1334c64a5d1de6666e0c9f984db6745083df1eb4, Linux 5d1041c76de656f9f8d5a192218039a9acf9bd00, Linux 81846070cba17125a866e8023c01d3465b153339, Linux 8441aea46445252df5d2eed6deb6d5246fc24002, Linux 755caf4ee1c615ee5717862e427124370f46b1f3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21814 being exploited?

There is no confirmed exploitation: CVE-2025-21814 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-21814?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-21814?

Linux \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< fdc1e72487781dd7705bcbe30878bee7d5d1f3e8; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 1334c64a5d1de6666e0c9f984db6745083df1eb4; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 5d1041c76de656f9f8d5a192218039a9acf9bd00; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 81846070cba17125a866e8023c01d3465b153339; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 8441aea46445252df5d2eed6deb6d5246fc24002; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< 755caf4ee1c615ee5717862e427124370f46b1f3; \>= d94ba80ebbea17f036cecb104398fbcd788aa742, \< fd53aa40e65f518453115b6f56183b0c201db26b; Linux 3.0.

### Is there a fix for CVE-2025-21814?

Yes. Fixed in Linux 9df3a9284f39bfd51a9f72a6a165c79e2aa5066b, Linux 1334c64a5d1de6666e0c9f984db6745083df1eb4, Linux 5d1041c76de656f9f8d5a192218039a9acf9bd00, Linux 81846070cba17125a866e8023c01d3465b153339, Linux 8441aea46445252df5d2eed6deb6d5246fc24002, Linux 755caf4ee1c615ee5717862e427124370f46b1f3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-21814?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5d1041c76de656f9f8d5a192218039a9acf9bd00>
- patch: <https://git.kernel.org/stable/c/81846070cba17125a866e8023c01d3465b153339>
- patch: <https://git.kernel.org/stable/c/8441aea46445252df5d2eed6deb6d5246fc24002>
- patch: <https://git.kernel.org/stable/c/755caf4ee1c615ee5717862e427124370f46b1f3>
- patch: <https://git.kernel.org/stable/c/fd53aa40e65f518453115b6f56183b0c201db26b>
- other: <https://git.kernel.org/stable/c/fdc1e72487781dd7705bcbe30878bee7d5d1f3e8>
- other: <https://git.kernel.org/stable/c/9df3a9284f39bfd51a9f72a6a165c79e2aa5066b>
- other: <https://git.kernel.org/stable/c/1334c64a5d1de6666e0c9f984db6745083df1eb4>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21814>

HTML: <https://flawdb.com/CVE-2025-21814> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21814>
