CVE-2025-40299 Details
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.
A vulnerability in the Linux kernel's Google GVE Ethernet driver can lead to a NULL pointer dereference. This issue arises because the PTP (Precision Time Protocol) clock implementation in the driver does not properly handle the 'gettimex64' function, which is expected to be implemented by all PTP clocks. The absence of a proper implementation can cause a NULL dereference when certain PTP clock functions are called. The vulnerability has been addressed by stubbing the 'gettimex64' function to return 'EOPNOTSUPP', indicating that the operation is not supported, thus preventing the NULL dereference.
Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/6ab753b5d8e521616cd9bd10b09891cbeb7e0235 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/96ec90412ceb58c73fd3714e40ab2cee1eedac3b | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Google gve | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 8, 2025 | New CVE Received | kernel.org |
Volerion