What’s Vulnerable › Vulnerabilities
CVE-2024-57933: gve: guard XSK operations on the existence of queues
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-21 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: gve: guard XSK operations on the existence of queues This patch predicates the enabling and disabling of XSK pools on the existence of queues. As it stands, if the interface is down, disabling or enabling XSK pools would result in a crash, as the RX queue pointer would be NULL. XSK pool registration will occur as part of the next interface up. Similarly, xsk_wakeup needs be guarded against queues disappearing while the function is executing, so a check against the GVE_PRIV_FLAGS_NAPI_ENABLED flag is added to synchronize with the disabling of the bit and the synchronize_net() in gve_turndown.
Affected products
- Linux kernel: from 6.4 before 6.6.70; from 6.7 before 6.12.9; 6.13-rc1, 6.13-rc2, 6.13-rc3, 6.13-rc4, 6.13-rc5 — fixed in 6.12.9, 6.6.70
How to fix
Upgrade to a fixed version: Linux kernel 6.12.9, 6.6.70. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/40338d7987d810fcaa95c500b1068a52b08eec9b
- https://git.kernel.org/stable/c/771d66f2bd8c4dba1286a9163ab982cecd825718
- https://git.kernel.org/stable/c/8e8d7037c89437af12725f454e2eaf40e8166c0f
Get alerted when CVE-2024-57933 or the next vulnerability affects your stack