# CVE-2025-40299: gve: Implement gettimex64 with -EOPNOTSUPP

- Severity: not scored yet
- 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-02)
- Published: 2025-12-08T00:46:23.626Z
- Modified: 2026-10-14T22:10:00.210Z
- Assigned by: Linux

## Description

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

gve: Implement gettimex64 with -EOPNOTSUPP

gve implemented a ptp_clock for sole use of do_aux_work at this time.
ptp_clock_gettime() and ptp_sys_offset() assume every ptp_clock has
implemented either gettimex64 or gettime64. Stub gettimex64 and return
-EOPNOTSUPP to prevent NULL dereferencing.

(As written by CVE List.)

## Affected

- Linux Linux: from acd16380523b400400523fe54c7499320e558e80 before 96ec90412ceb58c73fd3714e40ab2cee1eedac3b; from acd16380523b400400523fe54c7499320e558e80 before 6ab753b5d8e521616cd9bd10b09891cbeb7e0235; 6.17 (not affected: before 6.17; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/96ec90412ceb58c73fd3714e40ab2cee1eedac3b>
- <https://git.kernel.org/stable/c/6ab753b5d8e521616cd9bd10b09891cbeb7e0235>

## Sources

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

---

Page: https://cve.day/CVE-2025-40299 · Whole record: https://cve.day/CVE-2025-40299.json · Rebuilt by cve.day 2026-11-25T22:59:08.394Z
