CVE-2024-57932CWE-369

CVE-2024-57932

Critical · published January 21, 2025

CVSS v3.1
9.8
EPSS
0%
Percentile
38.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00452 · 38.2th percentile
Weakness
CWE-369 · Divide By Zero
Published
2025-01-21T17:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.4, < 6.6.706.6.70
linux/linux_kernel≥ 6.7, < 6.12.96.12.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 21 JAN 12:01Z
    gve: guard XDP xmit NDO on existence of xdp queues
    cvelistv5