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

Published Jan 21, 2025
·
Updated

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->numxdpqueues=0 which can cause a divide-by-zero error, and in the case of interface down, numxdpqueues 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 GVEPRIVFLAGSNAPIENABLED bit along with a synchronizenet() call, which waits for any RCU critical sections at call-time to complete.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

9 affected componentsFixes available
Linux Kernel
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1
Linux Linux kernel>=6.4<6.6.70
Linux Linux kernel>=6.7<6.12.9
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1

Event History

Jan 21, 2025
CVE Published
via MITRE·12:01 PM
Data Sourced
via MITRE·12:01 PM
DescriptionSeverity
Data Sourced
via NVD·12:15 PM
Description
Data Sourced
via NVD·12:15 PM
RemedySeverityWeaknessAffected Software
Mar 27, 2025
Data Sourced
via Launchpad·06:49 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·06:57 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-57932?

CVE-2024-57932 has a medium severity rating as it affects the performance of the GVE driver in the Linux kernel.

2

How do I fix CVE-2024-57932?

To fix CVE-2024-57932, update your Linux kernel to the latest stable version that includes the patch addressing this vulnerability.

3

What versions of the Linux kernel are affected by CVE-2024-57932?

CVE-2024-57932 affects specific versions of the Linux kernel that include the GVE driver with the vulnerable code.

4

What are the potential impacts of CVE-2024-57932?

The potential impacts of CVE-2024-57932 may include improper handling of XDP packets and degraded network performance.

5

Is there a workaround for CVE-2024-57932 until a fix is applied?

Currently, the best approach is to monitor the network interfaces and limit the usage of XDP until a patched kernel is deployed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203