CVE-2026-99047: gve: fix XSK buffer leak when rings are stopped
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
gve: fix XSK buffer leak when rings are stopped
GVE does not free XSK buffers when resetting ring state as a part of stopping queues. This causes all XSK buffers which are posted to the NIC to be leaked.
Free XSK buffers attached to an allocated buf_state when stopping rings.
This issue was hit in production.
The Linux kernel CVE team has assigned CVE-2026-99047 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit c1fffc5d66a7147d557736c2341a511e0896d9ff and fixed in 6.18.57 with commit 506f9de069d07a72b9887ce3edd2fdf32f4953aa Issue introduced in 6.17 with commit c1fffc5d66a7147d557736c2341a511e0896d9ff and fixed in 7.2.11 with commit 7a7e6bbbf0586c1f62f0cc7d9a2877d8a5e5aaf7 Issue introduced in 6.17 with commit c1fffc5d66a7147d557736c2341a511e0896d9ff and fixed in 7.3 with commit 73670ddb91a4d22e1deb3efd962242de1ec48e90
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-99047
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/506f9de069d07a72b9887ce3edd2fdf32f4953aa https://git.kernel.org/stable/c/7a7e6bbbf0586c1f62f0cc7d9a2877d8a5e5aaf7 https://git.kernel.org/stable/c/73670ddb91a4d22e1deb3efd962242de1ec48e90