Skip to content
Heist/ feed
Back to feed
UnratedFix available

gve: Implement settime64 with -EOPNOTSUPP

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: gve: Implement settime64 with -EOPNOTSUPP ptp_clock_settime() assumes every ptp_clock has implemented settime64(). Stub it with -EOPNOTSUPP to prevent a NULL dereference.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.17.8
CVEs
CVE-2025-40298
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:57 UTC · Revision 1

Source evidence

gve: Implement settime64 with -EOPNOTSUPP

core-osv · Original source

Published 8 Dec 2025, 00:46 UTC

In the Linux kernel, the following vulnerability has been resolved: gve: Implement settime64 with -EOPNOTSUPP ptp_clock_settime() assumes every ptp_clock has implemented settime64(). Stub it with -EOPNOTSUPP to prevent a NULL dereference.

osv:CVE-2025-40298

Kernel

Fixed versions: 6.17.8

Complete source record
{
  "id": "6f9eef14b3b6d6fb15cefdeea4dc60066617d662151b0bc4fe40d35aab88557b",
  "url": "https://osv.dev/vulnerability/CVE-2025-40298",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "gve: Implement settime64 with -EOPNOTSUPP",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: gve: Implement settime64 with -EOPNOTSUPP ptp_clock_settime() assumes every ptp_clock has implemented settime64(). Stub it with -EOPNOTSUPP to prevent a NULL dereference.",
    "evidence": "osv:CVE-2025-40298",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.17.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-40298",
      "aliases": [
        "CVE-2025-40298"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "acd16380523b400400523fe54c7499320e558e80"
                },
                {
                  "fixed": "c9efb03ff4fae0bc7e5ef3323c3aab599cb4c88a"
                },
                {
                  "fixed": "329d050bbe63c2999f657cf2d3855be11a473745"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40298.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.17.0"
                },
                {
                  "fixed": "6.17.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40298.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.719414267Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/329d050bbe63c2999f657cf2d3855be11a473745",
        "https://git.kernel.org/stable/c/c9efb03ff4fae0bc7e5ef3323c3aab599cb4c88a",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40298.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-40298",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40298.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-40298",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 488886,
  "published_at": "2025-12-08T00:46:22.241+00:00"
}