Linux kernel XSK buffer leak in GVE RX error handling
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 |
|
|
6.18.577.2.117.3In 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.
From the CVE record · Linux
The Linux kernel's gve driver leaks an XSK buffer in AF_XDP zero-copy mode when an RX completion descriptor has its error bit set. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running Linux kernels that use the gve driver with AF_XDP zero-copy mode should check their systems; affected versions are not specified.