CVE Catalog

CVE-2024-40937

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

17th percentile - higher than 17% of all known CVEs

Summary

In the gve driver of the Linux kernel, a bug was found where napi->skb is left referencing a freed skb after dev_kfree_skb_any(). This can lead to a dangling pointer on subsequent napi_get_frags calls.

Risk Assessment

This can lead to system crashes or unpredictable behavior, especially in environments using Google virtual interfaces.

Recommendation

Install a Linux kernel update containing the fix that clears napi->skb before freeing the skb.

Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: gve: Clear napi->skb before dev_kfree_skb_any() gve_rx_free_skb incorrectly leaves napi->skb referencing an skb after it is freed with dev_kfree_skb_any(). This can result in a subsequent call to napi_get_frags returning a dangling pointer. Fix this by clearing napi->skb before the skb is freed.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS