gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 · < 12c331b29c7397ac3b03584e12902990693bc248| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
gve_alloc_pending_packet() can return NULL, but gve_tx_add_skb_dqo() did not check for this case before dereferencing the returned pointer.
Add a missing NULL check to prevent a potential NULL pointer dereference when allocation fails.
This improves robustness in low-memory scenarios.
From the CVE record · Linux
The Linux kernel's gve TX DQO path dereferences a pointer without checking whether packet allocation failed. This can cause a NULL pointer dereference in low-memory conditions; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Anyone running a Linux kernel with the affected gve TX DQO code should check; affected versions are not specified.