HIGH Introduced in 6.17
gve XSK Leak
CVE-2026-99046
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
KernelScan AI7.5HIGH
01Description
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.
02KernelScan AI Analysis
Risk summary
A remote attacker sending malformed packets to a Google Cloud VM using the gve network interface with AF_XDP zero-copy enabled can cause a kernel memory leak. Each packet that triggers an RX error descriptor leaks an XSK buffer and its associated kernel buffer state, eventually exhausting kernel slab memory and the userspace umem pool, leading to denial of service.
Vulnerability analysis
In the Google Virtual Ethernet (gve) driver's receive path for AF_XDP zero-copy, when the network hardware reports a packet error, the driver fails to release the associated zero-copy buffer back to the userspace memory pool. Each erroneous packet leaks one buffer and its kernel bookkeeping structure. The fix ensures the driver properly returns XSK buffers to the pool on error paths. The flaw can be triggered by any sender that can deliver malformed packets (such as packets with bad checksums) to the gve interface, which is the paravirtualized network device used in Google Cloud VMs.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.18 | 6.17 | 6.18.57 | 06656aaa7e43 |
| 7.2 | 6.17 | 7.2.11 | 889f76387485 |
| mainline | 6.17 | 7.3 | 9fed6a8ab8a5 |