Linux kernel XSK buffer leak in GVE ring shutdown
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 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.
From the CVE record · Linux
The Linux kernel’s gve driver does not free XSK buffers posted to the NIC when it stops queues and resets ring state, leaking those buffers. The input does not describe an attacker, an exploitation path, or any authentication or user-interaction requirements.
Operators running Linux kernels with the gve driver should check their versions; affected versions are not specified.