CVE-2025-40298

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

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

gve: Implement settime64 with -EOPNOTSUPP

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40298.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
c9efb03ff4fae0bc7e5ef3323c3aab599cb4c88a
Fixed
329d050bbe63c2999f657cf2d3855be11a473745

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-40298.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-40298.json"