# CVE-2025-37910: ptp: ocp: Fix NULL dereference in Adva board SMA sysfs operations

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-20T15:21:42.639Z
- Modified: 2026-06-17T09:15:40.793Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ptp: ocp: Fix NULL dereference in Adva board SMA sysfs operations

On Adva boards, SMA sysfs store/get operations can call
__handle_signal_outputs() or __handle_signal_inputs() while the `irig`
and `dcf` pointers are uninitialized, leading to a NULL pointer
dereference in __handle_signal() and causing a kernel crash. Adva boards
don't use `irig` or `dcf` functionality, so add Adva-specific callbacks
`ptp_ocp_sma_adva_set_outputs()` and `ptp_ocp_sma_adva_set_inputs()` that
avoid invoking `irig` or `dcf` input/output routines.

(As written by CVE List.)

## Affected

- Linux Linux: from ef61f5528fca6c3bbb2f8bc002fd1949c9d1f9b9 before 8a543d825e78b8d680d8f891381b83fbffdb0bb6; from ef61f5528fca6c3bbb2f8bc002fd1949c9d1f9b9 before 5b349f9cdb4a9daa133bea267dfc0c383628387a; from ef61f5528fca6c3bbb2f8bc002fd1949c9d1f9b9 before e98386d79a23c57cf179fe4138322e277aa3aa74; 6.9 (not affected: before 6.9; from 6.12.28 up to 6.12.*; from 6.14.6 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.9 before 6.12.28; from 6.13 before 6.14.6; 6.15

## References

- <https://git.kernel.org/stable/c/8a543d825e78b8d680d8f891381b83fbffdb0bb6> (patch)
- <https://git.kernel.org/stable/c/5b349f9cdb4a9daa133bea267dfc0c383628387a> (patch)
- <https://git.kernel.org/stable/c/e98386d79a23c57cf179fe4138322e277aa3aa74> (patch)

## Sources

- CVE List: [CVE-2025-37910](https://www.cve.org/CVERecord?id=CVE-2025-37910), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37910](https://nvd.nist.gov/vuln/detail/CVE-2025-37910), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37910 · Whole record: https://cve.day/CVE-2025-37910.json · Rebuilt by cve.day 2026-11-25T22:58:58.281Z
