VDB

CVE-2024-40937

CVE-2024-40937 PUBLISHED CVSS 9.8 CRITICAL

gve: Clear napi->skb before dev_kfree_skb_any()

Reported by linux · Published July 12, 2024

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.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux9b8dd5e5ea48bbb7532d20c4093a79d8283e4029, 9b8dd5e5ea48bbb7532d20c4093a79d8283e4029, 9b8dd5e5ea48bbb7532d20c4093a79d8283e4029
LinuxLinux5.14, 0, 5.15.162
LinuxLinux9b8dd5e5ea48bbb7532d20c4093a79d8283e4029, 6.6.35, 6.9.6
linuxlinux_kernel5.14, 5.14, 5.14

Timeline

  • Jul 12, 2024 CVE Published
  • Jul 13, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Nov 4, 2025 CVE Updated
  • Jan 7, 2026 Security Advisory (271 in total, the first dated here)
  • May 28, 2026 Distribution Patch (174 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-40937
vulnetix vdb fixes CVE-2024-40937

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-40937/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›