CVE-2025-40298: gve: Implement settime64 with -EOPNOTSUPP

Published Dec 8, 2025
·
Updated

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

gve: Implement settime64 with -EOPNOTSUPP

ptpclocksettime() assumes every ptpclock has implemented settime64(). Stub it with -EOPNOTSUPP to prevent a NULL dereference.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Implement settime64() to return -EOPNOTSUPP, preventing ptp_clock_settime() from dereferencing a NULL function pointer.

    gve PTP clock settime64() = -EOPNOTSUPP

Event History

Dec 8, 2025
CVE Published
via MITRE·12:46 AM
Data Sourced
via MITRE·12:46 AM
Description
Data Sourced
via NVD·01:16 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-40298?

CVE-2025-40298 is classified as a moderate severity vulnerability due to the potential for a NULL dereference.

2

How do I fix CVE-2025-40298?

To fix CVE-2025-40298, update to the latest stable version of the Linux kernel that includes the patch for this vulnerability.

3

What systems are affected by CVE-2025-40298?

CVE-2025-40298 specifically affects the Linux kernel on systems utilizing PTP (Precision Time Protocol) clocks.

4

What is the impact of CVE-2025-40298?

The impact of CVE-2025-40298 can lead to application crashes due to a NULL dereference if settime64 is not properly implemented.

5

When was CVE-2025-40298 discovered?

CVE-2025-40298 was resolved in a recent Linux kernel update, although the exact discovery date is not specified in the documentation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203