CVE-2024-57932

published 21 Jan 2025 · updated 15 Oct 2026

gve: guard XDP xmit NDO on existence of xdp queues

9.8CriticalCVSS 9.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 35f44eed5828cf1bc7e760d1993ed8549ba41c7b, Kernel cbe9eb2c39d09f3c8574febcfa39d8c09d0c7cb5 and Kernel ff7c2dea9dd1a436fc79d6273adffdcc4a7ffea3.

In the Linux kernel, the following vulnerability has been resolved: gve: guard XDP xmit NDO on existence of xdp queues In GVE, dedicated XDP queues only exist when an XDP program is installed and the interface is up. As such, the NDO XDP XMIT callback should return early if either of these conditions are false. In the case of no loaded XDP program, priv->num_xdp_queues=0 which can cause a divide-by-zero error, and in the case of interface down, num_xdp_queues remains untouched to persist XDP queue count for the next interface up, but the TX pointer itself would be NULL. The XDP xmit callback also needs to synchronize with a device transitioning from open to close. This synchronization will happen via the GVE_PRIV_FLAGS_NAPI_ENABLED bit along with a synchronize_net() call, which waits for any RCU critical sections at call-time to complete.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.4, >=39a7f4aa3e4a7947614cf1d5c27abba3300adb1e <35f44eed5828cf1bc7e760d1993ed8549ba41c7b, >=39a7f4aa3e4a7947614cf1d5c27abba3300adb1e <cbe9eb2c39d09f3c8574febcfa39d8c09d0c7cb5, >=39a7f4aa3e4a7947614cf1d5c27abba3300adb1e <ff7c2dea9dd1a436fc79d6273adffdcc4a7ffea335f44eed5828cf1bc7e760d1993ed8549ba41c7b, cbe9eb2c39d09f3c8574febcfa39d8c09d0c7cb5, ff7c2dea9dd1a436fc79d6273adffdcc4a7ffea3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-57932 severity on Zeptric[![CVE-2024-57932](https://zeptric.io/badge/cve/CVE-2024-57932.svg)](https://zeptric.io/cve/CVE-2024-57932)