Skip to contentSkip to conversation

CVE-2026-99046: gve: fix XSK buffer leak on error descriptor

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

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 XSK buffer leak on error descriptor

When the error bit is set in the RX completion descriptor, the buf_state and its attached buffer should be freed. In the case of AF_XDP ZC, the XSK buffer was not freed, leading to a leak.

This issue was caught by LLM.

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

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

	Issue introduced in 6.17 with commit c1fffc5d66a7147d557736c2341a511e0896d9ff and fixed in 6.18.57 with commit 06656aaa7e43ae62b673c2244d27099b8b94a70d
	Issue introduced in 6.17 with commit c1fffc5d66a7147d557736c2341a511e0896d9ff and fixed in 7.2.11 with commit 889f763874855c575429f75946132a53c573aa14
	Issue introduced in 6.17 with commit c1fffc5d66a7147d557736c2341a511e0896d9ff and fixed in 7.3 with commit 9fed6a8ab8a5bacba2c709cb19d2dd6d2fa9112e

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-99046

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_rx_dqo.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/06656aaa7e43ae62b673c2244d27099b8b94a70d
	https://git.kernel.org/stable/c/889f763874855c575429f75946132a53c573aa14
	https://git.kernel.org/stable/c/9fed6a8ab8a5bacba2c709cb19d2dd6d2fa9112e