Skip to contentSkip to conversation

CVE-2026-80564: gve: fix NULL dereference due to missing ptp adjfine

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

gve: fix NULL dereference due to missing ptp adjfine

Fix NULL dereference due to missing implementation of adjfine, which can be triggered from usermode as follows:

sudo ./testptp -d /dev/ptp0 -f 0

[  551.943697] BUG: kernel NULL pointer dereference, address: 0000000000000000
[...]
[  552.061946] Call Trace:
[  552.064487]  <TASK>
[  552.066681]  ptp_clock_adjtime+0x1c0/0x2c0
[  552.070874]  ? get_clock_desc+0x6b/0xb0
[  552.074825]  pc_clock_adjtime+0x78/0xc0
[  552.078755]  __do_sys_clock_adjtime+0x85/0x110
[  552.083293]  do_syscall_64+0xea/0x610

The Linux kernel CVE team has assigned CVE-2026-80564 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.17 with commit acd16380523b400400523fe54c7499320e558e80 and fixed in 6.18.46 with commit e9482feeed66d4bc805458631013e9b61b1a9eaf
	Issue introduced in 6.17 with commit acd16380523b400400523fe54c7499320e558e80 and fixed in 7.1.10 with commit fa9b991bf678dd412dc0ed080672d34d7558d7af
	Issue introduced in 6.17 with commit acd16380523b400400523fe54c7499320e558e80 and fixed in 7.2 with commit 3992ced109c70b771efad9e51ae68e5c7a04dea3

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-80564

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/google/gve/gve_ptp.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/e9482feeed66d4bc805458631013e9b61b1a9eaf
	https://git.kernel.org/stable/c/fa9b991bf678dd412dc0ed080672d34d7558d7af
	https://git.kernel.org/stable/c/3992ced109c70b771efad9e51ae68e5c7a04dea3