Linux Kernel GVE Driver XDP Queue Management Vulnerability

Vulnerability

A vulnerability in the Linux kernel's GVE driver related to the management of XDP (eXpress Data Path) queues has been addressed. Dedicated XDP queues are only available when an XDP program is active and the interface is operational. The NDO (Network Device Operations) XDP XMIT callback should bypass execution if these conditions are not met. If no XDP program is loaded, the XDP queue count is zero, potentially leading to a divide-by-zero error. Conversely, if the interface is down, the queue count remains unchanged to preserve the XDP queue information for the next time the interface is active, but the transmission pointer becomes null. Additionally, the XDP transmission callback must coordinate with the device's transition from open to closed, using the GVE_PRIV_FLAGS_NAPI_ENABLED flag and a synchronize_net() call to ensure that any RCU (Read-Copy-Update) critical sections are completed before proceeding.

Impact

Exploitation of this vulnerability could lead to a divide-by-zero error, causing a denial-of-service condition by crashing the system or application.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.