CVE-2025-40299

Source
https://cve.org/CVERecord?id=CVE-2025-40299
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40299.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40299
Downstream
Published
2025-12-08T00:46:23.626Z
Modified
2025-12-08T03:05:01.979828Z
Summary
gve: Implement gettimex64 with -EOPNOTSUPP
Details

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

gve: Implement gettimex64 with -EOPNOTSUPP

gve implemented a ptpclock for sole use of doauxwork at this time. ptpclockgettime() and ptpsysoffset() assume every ptpclock has implemented either gettimex64 or gettime64. Stub gettimex64 and return -EOPNOTSUPP to prevent NULL dereferencing.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40299.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
acd16380523b400400523fe54c7499320e558e80
Fixed
96ec90412ceb58c73fd3714e40ab2cee1eedac3b
Fixed
6ab753b5d8e521616cd9bd10b09891cbeb7e0235

Affected versions

v6.*
v6.16
v6.16-rc2
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.17
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6
v6.17-rc7
v6.17.1
v6.17.2
v6.17.3
v6.17.4
v6.17.5
v6.17.6
v6.17.7
v6.18-rc1
v6.18-rc2
v6.18-rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40299.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.17.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40299.json"