CVE-2025-21814

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
27/02/2025
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ptp: Ensure info-&gt;enable callback is always set<br /> <br /> The ioctl and sysfs handlers unconditionally call the -&gt;enable callback.<br /> Not all drivers implement that callback, leading to NULL dereferences.<br /> Example of affected drivers: ptp_s390.c, ptp_vclock.c and ptp_mock.c.<br /> <br /> Instead use a dummy callback if no better was specified by the driver.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.0 (including) 6.1.129 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.78 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.3 (excluding)