CVE-2024-40937 in the critical feed json
gve: Clear napi->skb before dev_kfree_skb_any()
published 2024-07-12 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-38825
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.162, 6.1.95, 6.6.35, 6.9.6, 6.10
- linux Debian 12 6.1.99-1
- linux Debian 14, Debian 13 6.9.7-1
debian advisories DEBIAN-CVE-2024-40937
- linux Ubuntu 22.04 LTS 5.15.0-121.131
- linux Ubuntu 24.04 LTS 6.8.0-44.44
- linux-aws Ubuntu 22.04 LTS 5.15.0-1069.75
- linux-aws Ubuntu 24.04 LTS 6.8.0-1015.16
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1068.76
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1014.16
- linux-gke Ubuntu 22.04 LTS 5.15.0-1066.72
- linux-gke Ubuntu 24.04 LTS 6.8.0-1010.13
ubuntu advisories UBUNTU-CVE-2024-40937
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.5.1
- kernel-syms-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.5.1
suse advisories SUSE-SU-2025:02157-1SUSE-SU-2025:02144-1SUSE-SU-2025:02142-1SUSE-SU-2025:02139-1SUSE-SU-2025:02131-1SUSE-SU-2025:02126-1
- git.kernel.org/stable/c/75afd8724739ee5ed8165acde5f6ac3988b485cc commit
- git.kernel.org/stable/c/d221284991118c0ab16480b53baecd857c0bc442 commit
- git.kernel.org/stable/c/2ce5341c36993b776012601921d7688693f8c037 commit
- git.kernel.org/stable/c/a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50 commit
- git.kernel.org/stable/c/6f4d93b78ade0a4c2cafd587f7b429ce95abb02e commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-40937 updated cvss 5.5
kernel: gve: Clear napi->skb before dev_kfree_skb_any()
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/75afd8724739ee5ed8165acde5f6ac3988b485cc
patch
-
git.kernel.org
/stable/c/d221284991118c0ab16480b53baecd857c0bc442
patch
-
git.kernel.org
/stable/c/2ce5341c36993b776012601921d7688693f8c037
patch
-
git.kernel.org
/stable/c/a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50
patch
-
git.kernel.org
/stable/c/6f4d93b78ade0a4c2cafd587f7b429ce95abb02e
patch
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
Sources
- CVE List CVE-2024-40937
- NVD CVE-2024-40937
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.