gve: Implement gettimex64 with -EOPNOTSUPP
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gve: Implement gettimex64 with -EOPNOTSUPP
gve implemented a ptp_clock for sole use of do_aux_work at this time. ptp_clock_gettime() and ptp_sys_offset() assume every ptp_clock has implemented either gettimex64 or gettime64. Stub gettimex64 and return -EOPNOTSUPP to prevent NULL dereferencing.
From the CVE record · Linux
The Linux kernel's gve PTP clock lacks a gettimex64 or gettime64 implementation, which can cause a NULL dereference when PTP time functions are used. The input does not specify an attacker, access requirements, or whether user interaction is needed.
Engineers running Linux kernels with the gve driver should check their versions; affected versions are not specified.