[PATCH net 0/2] gve: fix crashes on invalid TX queue indices

From: Joshua Washington

Date: Mon Jan 05 2026 - 18:25:13 EST


From: Ankit Garg <nktgrg@xxxxxxxxxx>

This series fixes a kernel panic in the GVE driver caused by
out-of-bounds array access when the network stack provides an invalid
TX queue index.

The issue impacts both GQI and DQO queue formats. For both cases, the
driver is updated to validate the queue index and drop the packet if
the index is out of range.

Ankit Garg (2):
gve: drop packets on invalid queue indices in GQI TX path
gve: drop packets on invalid queue indices in DQO TX path

drivers/net/ethernet/google/gve/gve_tx.c | 12 +++++++++---
drivers/net/ethernet/google/gve/gve_tx_dqo.c | 9 ++++++++-
2 files changed, 17 insertions(+), 4 deletions(-)

--
2.52.0.351.gbe84eed79e-goog