CVE-2024-57932
Severity CVSS v4.0:
Pending analysis
Type:
CWE-369
Divide By Zero
Publication date:
21/01/2025
Last modified:
26/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
gve: guard XDP xmit NDO on existence of xdp queues<br />
<br />
In GVE, dedicated XDP queues only exist when an XDP program is installed<br />
and the interface is up. As such, the NDO XDP XMIT callback should<br />
return early if either of these conditions are false.<br />
<br />
In the case of no loaded XDP program, priv->num_xdp_queues=0 which can<br />
cause a divide-by-zero error, and in the case of interface down,<br />
num_xdp_queues remains untouched to persist XDP queue count for the next<br />
interface up, but the TX pointer itself would be NULL.<br />
<br />
The XDP xmit callback also needs to synchronize with a device<br />
transitioning from open to close. This synchronization will happen via<br />
the GVE_PRIV_FLAGS_NAPI_ENABLED bit along with a synchronize_net() call,<br />
which waits for any RCU critical sections at call-time to complete.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.4 (including) | 6.6.70 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



