Skip to content

gve: fix crashes on invalid TX queue indices

Joshua Washington lkml netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gve: drop packets on invalid queue indices in GQI TX pathdrivers/net/ethernet/google/gve/gve_tx.c+9 -30 replies
2/2gve: drop packets on invalid queue indices in DQO TX pathdrivers/net/ethernet/google/gve/gve_tx_dqo.c+8 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHarshitha Ramamurthy
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Ankit Garg <[email protected]>

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(-)
Signature · 1 line
2.52.0.351.gbe84eed79e-goog