{"id":"CVE-2025-21814","aliases":["CVE-2025-21814"],"related":[],"kind":"vulnerability","state":"published","title":"ptp: Ensure info->enable callback is always set","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nptp: Ensure info->enable callback is always set\n\nThe ioctl and sysfs handlers unconditionally call the ->enable callback.\nNot all drivers implement that callback, leading to NULL dereferences.\nExample of affected drivers: ptp_s390.c, ptp_vclock.c and ptp_mock.c.\n\nInstead use a dummy callback if no better was specified by the driver.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nptp: Ensure info->enable callback is always set\n\nThe ioctl and sysfs handlers unconditionally call the ->enable callback.\nNot all drivers implement that callback, leading to NULL dereferences.\nExample of affected drivers: ptp_s390.c, ptp_vclock.c and ptp_mock.c.\n\nInstead use a dummy callback if no better was specified by the driver.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ptp: Asegúrese de que la devolución de llamada info-&gt;enable esté siempre establecida Los controladores ioctl y sysfs llaman incondicionalmente a la devolución de llamada -&gt;enable. No todos los controladores implementan esa devolución de llamada, lo que lleva a desreferencias NULL. Ejemplo de controladores afectados: ptp_s390.c, ptp_vclock.c y ptp_mock.c. En su lugar, utilice una devolución de llamada ficticia si el controlador no especificó nada mejor.","source":"nvd"}],"published":"2025-02-27T20:04:14.089Z","modified":"2026-11-10T13:17:36.577Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"fdc1e72487781dd7705bcbe30878bee7d5d1f3e8","status":"affected"},{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"9df3a9284f39bfd51a9f72a6a165c79e2aa5066b","status":"affected"},{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"1334c64a5d1de6666e0c9f984db6745083df1eb4","status":"affected"},{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"5d1041c76de656f9f8d5a192218039a9acf9bd00","status":"affected"},{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"81846070cba17125a866e8023c01d3465b153339","status":"affected"},{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"8441aea46445252df5d2eed6deb6d5246fc24002","status":"affected"},{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"755caf4ee1c615ee5717862e427124370f46b1f3","status":"affected"},{"type":"git","introduced":"d94ba80ebbea17f036cecb104398fbcd788aa742","fixed":"fd53aa40e65f518453115b6f56183b0c201db26b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.0","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.129","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.78","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.14","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.3","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.0","fixed":"6.1.129"},{"status":"affected","introduced":"6.2","fixed":"6.6.78"},{"status":"affected","introduced":"6.7","fixed":"6.12.14"},{"status":"affected","introduced":"6.13","fixed":"6.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/fdc1e72487781dd7705bcbe30878bee7d5d1f3e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9df3a9284f39bfd51a9f72a6a165c79e2aa5066b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1334c64a5d1de6666e0c9f984db6745083df1eb4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d1041c76de656f9f8d5a192218039a9acf9bd00","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81846070cba17125a866e8023c01d3465b153339","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8441aea46445252df5d2eed6deb6d5246fc24002","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/755caf4ee1c615ee5717862e427124370f46b1f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd53aa40e65f518453115b6f56183b0c201db26b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:35:29.942Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21814","url":"https://www.cve.org/CVERecord?id=CVE-2025-21814","licence":"CVE Terms of Use","modified":"2026-11-10T12:35:11.924Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21814","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21814","licence":"Public domain","modified":"2026-11-10T13:17:36.577Z"}],"updatedAt":"2026-11-25T22:58:54.618Z","epss":{"score":0.00307,"percentile":0.2532,"date":"2026-12-01T12:00:22.000Z"}}