CVE-2024-57933 gve: guard XSK operations on the existence of queues

Medium 5.5 Published Updated

A null pointer dereference in the gve driver causes a kernel crash when XSK operations are performed while network queues are missing or disabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57933?

CVE-2024-57933 is a medium-severity vulnerability in Linux kernel, published on 21 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2024-57933?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57933?

Apply the vendor's patch.

Is CVE-2024-57933 being exploited?

There is no known exploitation of CVE-2024-57933 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-56137, BELL-CVE-2024-57933, DEBIAN-CVE-2024-57933, GHSA-qw8g-4j5w-5j26, UBUNTU-CVE-2024-57933.

Is CVE-2024-57933 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free