CVE-2025-40298 gve: Implement settime64 with -EOPNOTSUPP
A missing function implementation in the Google Virtual Ethernet driver causes a null pointer dereference, allowing local attackers to crash the system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40298?
CVE-2025-40298 is a vulnerability in Linux, published on 8 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-40298?
How do I fix CVE-2025-40298?
Apply the vendor's patch.
Is CVE-2025-40298 being exploited?
There is no known exploitation of CVE-2025-40298 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40298, DEBIAN-CVE-2025-40298, GHSA-4x8x-w5p4-482x, UBUNTU-CVE-2025-40298.